|
|
|
|
@ -2,7 +2,6 @@ package org.springblade.wms.service.impl; |
|
|
|
|
|
|
|
|
|
import cn.hutool.core.collection.CollUtil; |
|
|
|
|
import cn.hutool.core.date.DateUtil; |
|
|
|
|
import cn.hutool.core.util.ObjectUtil; |
|
|
|
|
import cn.hutool.core.util.StrUtil; |
|
|
|
|
import com.baomidou.mybatisplus.core.conditions.Wrapper; |
|
|
|
|
import com.baomidou.mybatisplus.core.metadata.IPage; |
|
|
|
|
@ -129,9 +128,7 @@ public class StOtherReceiptRecordServiceImpl extends BaseServiceImpl<StOtherRece |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (detail.getSirCode() == null) { |
|
|
|
|
detail.setSirCode(stStockInoutRecordService.generateCode()); |
|
|
|
|
} |
|
|
|
|
detail.setInOutSource(StStockInoutRecord.INOUT_SOURCE_OTHER_PURCHASE_RECEIPT); |
|
|
|
|
// 赋值公共属性:批次号、入库单关联ID、部门/创建人
|
|
|
|
|
if (detail.getPiNo() == null) { |
|
|
|
|
|