|
@@ -308,8 +308,8 @@ public class SyncServiceImpl implements ISyncService {
|
|
|
erpBarCodeList.setAlterUser("");
|
|
|
erpBarCodeList.setAlterDate("");
|
|
|
erpBarCodeListList.add(erpBarCodeList);
|
|
|
-// boolean b = this.writeBack(erpBarCodeListList);
|
|
|
- if (false) {
|
|
|
+ boolean b = this.writeBack(erpBarCodeListList);
|
|
|
+ if (!b) {
|
|
|
log.error("条码记录表回传失败,单据号:" + erpBarcode.getErpNo());
|
|
|
continue;
|
|
|
}
|
|
@@ -326,8 +326,8 @@ public class SyncServiceImpl implements ISyncService {
|
|
|
erpBarCodeList.setOrderName(erpBarcode.getErpNo());
|
|
|
erpBarCodeList.setOrderNo(Integer.valueOf(erpBarcode.getErpName()));
|
|
|
erpBarCodeList.setVaild(erpBarcode.getUserdefine1());
|
|
|
-// boolean b = this.writeBackU(erpBarCodeList);
|
|
|
- if (false) {
|
|
|
+ boolean b = this.writeBackU(erpBarCodeList);
|
|
|
+ if (!b) {
|
|
|
log.error("条码记录表修改失败,单据号:" + erpBarcode.getErpNo());
|
|
|
}
|
|
|
// 修改记录已经回传
|