物料申请,采购大类批量导入
This commit is contained in:
parent
f1b0f1a9da
commit
775fbf15e2
|
|
@ -558,7 +558,7 @@ public class MaterialExcelService {
|
|||
|
||||
// 11、51 && 一次性物料,新申请,则运算起始时间为申请日期一年之后
|
||||
if ((materialCategoryCode.startsWith("10") || materialCategoryCode.startsWith("50"))
|
||||
&& to.getReuseOfOnceState() == 1) {
|
||||
&& ObjectUtil.isNotEmpty(to.getReuseOfOnceState()) && to.getReuseOfOnceState() == 1) {
|
||||
Date startDate = Date.from(LocalDate.now().plusYears(1L).atStartOfDay().atZone(ZoneId.systemDefault()).toInstant());
|
||||
to.setFreezeCalcStart(startDate);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue