|
|
|
@ -63,17 +63,19 @@ public class PdaServiceImpl implements IPdaBindingService {
|
|
|
|
|
*/
|
|
|
|
|
@Override
|
|
|
|
|
public String rebarCode(String barCode) {
|
|
|
|
|
String result = null;
|
|
|
|
|
if (StringUtils.isEmpty(barCode)){
|
|
|
|
|
return null;
|
|
|
|
|
return "条码信息输入错误!";
|
|
|
|
|
}
|
|
|
|
|
List<HashMap<String, String>> barcodeList = mapper.selectPrintBarcode(barCode);
|
|
|
|
|
if (barcodeList.size() > 0){
|
|
|
|
|
if (StringUtils.isNotEmpty(barcodeList.get(0).get("IS_PRINT")) &&
|
|
|
|
|
barcodeList.get(0).get("IS_PRINT").equals("0")){
|
|
|
|
|
return "请勿重复补打条码!";
|
|
|
|
|
}
|
|
|
|
|
// 维护条码补打记录表
|
|
|
|
|
mapper.printSupplementBarcode(barcodeList.get(0));
|
|
|
|
|
result = "请到条码打印机旁进行补打条码!";
|
|
|
|
|
}
|
|
|
|
|
return result;
|
|
|
|
|
return null;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|