Browse Source

接料优化
(cherry picked from commit 6fe5ff0)

callm 5 years ago
parent
commit
ee1abf2722
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/com/uas/mes/pda/service/impl/PdaSMTServiceImpl.java

+ 3 - 1
src/com/uas/mes/pda/service/impl/PdaSMTServiceImpl.java

@@ -1970,7 +1970,9 @@ public class PdaSMTServiceImpl implements PdaSMTService {
             if(baseDao.checkIf("feeder","fe_code='"+fe_code+"'")){
                 map.put("fe_code",fe_code);
                 map.put("fe_location",baseDao.getFieldDataByCondition("feeder","fe_location","fe_code='"+fe_code+"'"));
-            }else{
+				map.put("fe_barcode",baseDao.getFieldDataByCondition("feeder","fe_barcode","fe_code='"+fe_code+"'"));
+			}
+            else{
 				if(baseDao.checkIf("DEVSMTLOCATION","dsl_location='"+fe_code+"'")){
 					map.put("fe_code","-");
 					map.put("fe_location",fe_code);