Просмотр исходного кода

Merge branch 'dev-2.13.0' of http://101.36.160.140:21044/province-qinghai/province-all into dev-2.13.0

ZeroLiYi 1 год назад
Родитель
Сommit
671a8f8e7f

+ 1 - 1
unis-plugin/unis-plugin-biz/src/main/java/com/unis/rotationPlan/info/modular/rpWarnThreshold/mapper/mapping/RpWarnThresholdMapper.xml

@@ -13,7 +13,7 @@
13 13
 		LEFT JOIN depot_qh.business_rp_outbound b ON a.id = b.rp_report_id
14 14
     LEFT JOIN biz_rp_issuance c ON a.id = c.rp_report_id
15 15
     WHERE
16
-        c.issuance_date IS NULL
16
+        c.issuance_date IS NOT NULL
17 17
     AND DATE_FORMAT(NOW(), "%Y-%m-%d") BETWEEN c.start_date AND c.end_date
18 18
     </select>
19 19
     <select id="getReportsInfoByIssuanceId" resultType="java.util.Map">

+ 1 - 1
unis-plugin/unis-plugin-biz/src/main/java/com/unis/rotationPlan/info/modular/rpWarnThreshold/service/impl/RpWarnThresholdServiceImpl.java

@@ -167,7 +167,7 @@ public class RpWarnThresholdServiceImpl extends ServiceImpl<RpWarnThresholdMappe
167 167
             String fristCarDate = null;
168 168
             List<String> hwids = new ArrayList<>();//对应的货位的数据
169 169
             //得到第一车入库时间
170
-            for (int i = 0; i < list.size(); i++) {
170
+            for (int i = 0; i < list1.size(); i++) {
171 171
                 Map<String,Object> map = list1.get(i);
172 172
               //  String rpReportId = map.getOrDefault("rpReportId","").toString(); //轮换 计划id
173 173
             //    String outId = map.getOrDefault("outId","").toString(); //轮换出库id