|
|
@@ -263,8 +263,7 @@ public class PdaSMTServiceImpl implements PdaSMTService {
|
|
|
String ma_custcode=rs.getString("ma_custcode");
|
|
|
String barcode=bar_code.toString();
|
|
|
//如果是联迪B2工单号
|
|
|
- if(ma_custcode.equals("W00397")||pr_code.length()==barcode.length()){
|
|
|
- System.out.printf(barcode.substring(barcode.length()-2));
|
|
|
+ /*if(ma_custcode.equals("W00397")||pr_code.length()==barcode.length()){
|
|
|
if(!barcode.substring(barcode.length()-2).equals("IN")){
|
|
|
BaseUtil.showError("该工单不允许采集此条码,请采集IN后缀条码");
|
|
|
}
|
|
|
@@ -273,7 +272,7 @@ public class PdaSMTServiceImpl implements PdaSMTService {
|
|
|
if(!ma_custcode.equals("W00397")){
|
|
|
BaseUtil.showError("该工单不允许采集IN后缀条码,请采集其他条码");
|
|
|
}
|
|
|
- }
|
|
|
+ }*/
|
|
|
}
|
|
|
/**
|
|
|
* @author wuyx
|