FWBillStateUpdController中对物料判断修改

This commit is contained in:
pan-houxiang 2025-12-17 11:02:27 +08:00
parent 59eecdfb59
commit d77d5f8c9a
1 changed files with 8 additions and 6 deletions

View File

@ -116,6 +116,7 @@ public class FWBillStateUpdController {
bill.set("tqq9_fwstate", "驳回");
}
}
else {
if (state == 0) {
bill.set("tqq9_issuccess", true);
bill.set("tqq9_fwstate", "C");
@ -123,6 +124,7 @@ public class FWBillStateUpdController {
} else {
bill.set("tqq9_fwstate", "D");
}
}
SaveServiceHelper.save(new DynamicObject[]{bill});
//保存日志
OperationServiceHelper.executeOperate("save", "tqq9_fwapprovelog", new DynamicObject[]{approveLog}, OperateOption.create());