|
|
@@ -10,6 +10,7 @@ import java.util.Map;
|
|
10
|
10
|
|
|
11
|
11
|
import javax.annotation.Resource;
|
|
12
|
12
|
|
|
|
13
|
+import com.chinaitop.depot.utils.ParameterUtil;
|
|
13
|
14
|
import org.apache.commons.lang.StringUtils;
|
|
14
|
15
|
import org.springframework.stereotype.Service;
|
|
15
|
16
|
import org.springframework.transaction.annotation.Transactional;
|
|
|
@@ -1122,6 +1123,27 @@ public class BusinessDeliveryStorageNoticeServiceImpl implements BusinessDeliver
|
|
1122
|
1123
|
PageHelper.startPage(pageNum, pageSize);
|
|
1123
|
1124
|
}
|
|
1124
|
1125
|
List<BusinessDeliveryStorageNotice> list = businessDeliveryStorageNoticeMapper.selectByExample(example);
|
|
|
1126
|
+ if (list.size() > 0) {
|
|
|
1127
|
+ Map<String, Object> returnMap = new HashMap<String, Object>();
|
|
|
1128
|
+ returnMap.put("orgId",notice.getOrgId());
|
|
|
1129
|
+ List<Integer> ids = new ArrayList<>();
|
|
|
1130
|
+ for (BusinessDeliveryStorageNotice notices : list) {
|
|
|
1131
|
+ ids.add(notices.getId());
|
|
|
1132
|
+ }
|
|
|
1133
|
+ returnMap.put("orgId",notice.getOrgId());
|
|
|
1134
|
+ returnMap.put("ids",ids);
|
|
|
1135
|
+
|
|
|
1136
|
+ List<BusinessDeliveryStorageNotice> details = businessDeliveryStorageNoticeMapper.selectByExampleDetails(returnMap);
|
|
|
1137
|
+ for (BusinessDeliveryStorageNotice detail : details) {
|
|
|
1138
|
+ for (BusinessDeliveryStorageNotice notices : list) {
|
|
|
1139
|
+ if (ParameterUtil.isequal(detail.getId(),notices.getId())) {
|
|
|
1140
|
+ notices.setHouseName(detail.getHouseName());
|
|
|
1141
|
+ notices.setQuantity(detail.getQuantity());
|
|
|
1142
|
+ notices.setPrice(detail.getPrice());
|
|
|
1143
|
+ }
|
|
|
1144
|
+ }
|
|
|
1145
|
+ }
|
|
|
1146
|
+ }
|
|
1125
|
1147
|
return list;
|
|
1126
|
1148
|
}
|
|
1127
|
1149
|
|