Commit a6eb17019c4346abfff0fa12a562219a14481fc3
1 parent
66ad05d9
update
Showing
1 changed file
with
1 additions
and
1 deletions
src/main/java/com/huaheng/pc/task/taskHeader/service/ReceiptTaskService.java
... | ... | @@ -398,7 +398,7 @@ public class ReceiptTaskService { |
398 | 398 | } |
399 | 399 | |
400 | 400 | //修改入库组盘头表状态 |
401 | - if(task.getAllocationHeadId().intValue() != 0) { | |
401 | + if(task.getAllocationHeadId() != null || task.getAllocationHeadId().intValue() != 0) { | |
402 | 402 | ReceiptContainerHeader receiptContainerHeader = new ReceiptContainerHeader(); |
403 | 403 | receiptContainerHeader.setId(task.getAllocationHeadId()); |
404 | 404 | receiptContainerHeader.setLastUpdatedBy(task.getCreatedBy()); |
... | ... |