瀏覽代碼

冷轧换辊周期

fangpy 6 月之前
父節點
當前提交
e43afa0396

+ 1 - 1
cx-aps/cx-aps-common/src/main/java/com/rongwei/bscommon/sys/service/impl/ApsServiceImpl.java

@@ -1110,7 +1110,7 @@ public class ApsServiceImpl implements ApsService {
                                         lxrollerid = lastpros.get(i).getRollerid();
                                         lxprowidth = apo.getProwidth();
                                     }else{
-                                        if(lxrollerid.equals(lastpros.get(i).getRollerid()) && apo.getProwidth().compareTo(lxprowidth)>=0){
+                                        if(StrUtil.isNotBlank(lxrollerid) && lxrollerid.equals(lastpros.get(i).getRollerid()) && apo.getProwidth().compareTo(lxprowidth)>=0){
                                             lxDate = lastpros.get(i).getPlanstartdate();
                                         }else{
                                             break;