opt:优化

This commit is contained in:
DESKTOP-5DIJMF9\admin
2025-08-06 14:37:54 +08:00
parent 988479d2ed
commit a6d51dd827
6 changed files with 25 additions and 13 deletions

View File

@@ -41,11 +41,12 @@ public interface ErpToWmsService {
* {
* mater_code物料编码
* mater_name物料名称
* out_code车间编号
* qty数量
* unit_code计量单位
* order_code单据号
* order_type单据类型
* order_type单据类型,
* "floor_code": "楼层数"
* "hoist_code": "提升机编号"
* }
* ]
* }

View File

@@ -16,11 +16,8 @@ public interface WmsToErpService {
* 出入库单据回传
* @param whereJson {
* {
* "order_code": "3000000056",
* "order_type": "03",
* "pallet_sn": "zp0000000003",
* "instor_time": "2025-07-21 23:23:01",
* "qty": "120.00"
* "instor_time": "2025-07-21 23:23:01"
* }
* }
* @return JSONObject {
@@ -38,8 +35,7 @@ public interface WmsToErpService {
* "order_type": "03",
* "pallet_sn": "zp0000000003",
* "outstor_time": "2025-07-21 23:23:01",
* "qty": "120.00",
* "out_code": "s0001"
* "qty": "120.00"
*
* }
* @return JSONObject{

View File

@@ -162,11 +162,12 @@ public class ErpToWmsServiceImpl implements ErpToWmsService {
* {
* mater_code物料编码
* mater_name物料名称
* out_code车间编号
* qty数量
* unit_code计量单位
* order_code单据号
* order_type单据类型
* order_type单据类型,
* "floor_code": "楼层数"
* "hoist_code": "提升机编号"
* }
* ]
*/
@@ -218,7 +219,8 @@ public class ErpToWmsServiceImpl implements ErpToWmsService {
jsonDtl.setUnit_name(unitDao.getUnit_name());
jsonDtl.setCreate_name("ERP");
jsonDtl.setCreate_time(DateUtil.now());
jsonDtl.setOut_code(json.getString("out_code"));
jsonDtl.setFloor_code(json.getString("floor_code"));
jsonDtl.setOut_code(json.getString("hoist_code"));
dtlArr.add(jsonDtl);
}
//保存单据表

View File

@@ -172,6 +172,8 @@ public class PmFormData implements Serializable {
private String out_code;
private String floor_code;
}

View File

@@ -148,9 +148,10 @@ public class PmFormDataDto implements Serializable {
private String merge_codes;
private String new_merge_flag;
private String out_code;
private String floor_code;
/**
* 关联上级表单id
*/