|
|
|
@ -141,8 +141,9 @@ public class IoStatMonthServiceImpl implements IoStatMonthService {
|
|
|
|
|
String orderNo = gennerOrderUtils.createStatOrderNo(orderNoTypeBean);
|
|
|
|
|
statOrderEntity.setRecordKey(orderNo);
|
|
|
|
|
statOrderEntity.setType(3);
|
|
|
|
|
statOrderEntity.setDate(lastMonth);
|
|
|
|
|
statOrderEntity.setTitle(lastMonth.year() + " 年 " + lastMonth.monthBaseOne() + " 月出入库汇总");
|
|
|
|
|
DateUtil.offsetMonth(lastMonth,+1);
|
|
|
|
|
statOrderEntity.setDate(lastMonth);
|
|
|
|
|
|
|
|
|
|
Date updateTime = new Date();
|
|
|
|
|
statOrderEntity.setUpdateTime(updateTime);
|
|
|
|
@ -254,6 +255,7 @@ public class IoStatMonthServiceImpl implements IoStatMonthService {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
wrapper.eq("relIdFk", ioOrderDetailResultEntity.getBindRlFk());
|
|
|
|
|
wrapper.eq(StrUtil.isNotBlank(ioOrderDetailResultEntity.getDeptCode()), "deptCode", ioOrderDetailResultEntity.getDeptCode());
|
|
|
|
|
wrapper.eq(StrUtil.isNotBlank(ioOrderDetailResultEntity.getBatchNo()), "batchNo", ioOrderDetailResultEntity.getBatchNo());
|
|
|
|
|
wrapper.eq(StrUtil.isNotBlank(ioOrderDetailResultEntity.getNameCode()), "nameCode", ioOrderDetailResultEntity.getNameCode());
|
|
|
|
|
return wrapper;
|
|
|
|
|