|
@@ -59,12 +59,15 @@ func (l *SupplyInfoDetailLogic) SupplyInfoDetail(in *consumerinfo.StatusReq) (*c
|
|
|
info.EntId = se.SE.Encode2HexByCheck(mc.InterfaceToStr((*data)["ent_id"]))
|
|
|
info.Id = in.MsgId
|
|
|
//其他供应信息
|
|
|
- otherData := es.GetSupplyOtherInfoByEntid(mc.InterfaceToStr((*data)["ent_id"]), 5)
|
|
|
+ otherData := es.GetSupplyOtherInfoByEntid(mc.InterfaceToStr((*data)["ent_id"]), 6)
|
|
|
if otherData != nil && len(*otherData) > 0 {
|
|
|
for _, v := range *otherData {
|
|
|
if info.Id == se.SE.EncodeString(mc.InterfaceToStr(v["_id"])) {
|
|
|
continue
|
|
|
}
|
|
|
+ if len(info.OtherSupplyInfo) >= 5 {
|
|
|
+ break
|
|
|
+ }
|
|
|
otherSupplyInfo := consumerinfo.OtherSupplyInfoByEnt{
|
|
|
Title: mc.InterfaceToStr(v["title"]),
|
|
|
Id: se.SE.EncodeString(mc.InterfaceToStr(v["_id"])),
|