精密-启源成套领料接口-增加字段
This commit is contained in:
parent
68c3120b18
commit
596e3d74bf
|
|
@ -435,7 +435,7 @@ public class APIMaterialOutMaintainImpl implements IAPIMaterialOutMaintain {
|
|||
for (MaterialOutVO vo : vos) {
|
||||
MaterialOutHeadVO headVo = vo.getHead();
|
||||
UFDate dbilldate = headVo.getDbilldate();
|
||||
// 设置单据日期, 如果单据日期小于2025-11-02,则单据日期设置为2025-11-02
|
||||
// 因开关账检查的限制需设置单据日期, 如果单据日期小于2025-11-02,则单据日期设置为2025-11-02
|
||||
UFDate ufDate = new UFDate("2025-11-02");
|
||||
if (dbilldate != null) {
|
||||
int i = dbilldate.compareTo(ufDate);
|
||||
|
|
@ -457,6 +457,18 @@ public class APIMaterialOutMaintainImpl implements IAPIMaterialOutMaintain {
|
|||
if (MMValueCheck.isNotEmpty(paramMap.get("vdef16"))) {
|
||||
headVo.setVdef16(paramMap.get("vdef16").toString());
|
||||
}
|
||||
// 设置 vdef22 派工单批次Id
|
||||
if (MMValueCheck.isNotEmpty(paramMap.get("vdef22"))) {
|
||||
headVo.setAttributeValue("vdef22", paramMap.get("vdef22").toString());
|
||||
}
|
||||
// 设置 vdef23 派工单对象Id
|
||||
if (MMValueCheck.isNotEmpty(paramMap.get("vdef23"))) {
|
||||
headVo.setAttributeValue("vdef23", paramMap.get("vdef23").toString());
|
||||
}
|
||||
// 设置 vdef24 派工单Id
|
||||
if (MMValueCheck.isNotEmpty(paramMap.get("vdef24"))) {
|
||||
headVo.setAttributeValue("vdef24", paramMap.get("vdef24").toString());
|
||||
}
|
||||
// 处理行数量,行数量 = 本次领料套数(启源传入)*单位主用量(备料计划)
|
||||
MaterialOutBodyVO[] bodys = vo.getBodys();
|
||||
for (MaterialOutBodyVO body : bodys) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue