rev:二期入库

This commit is contained in:
2024-07-22 18:42:19 +08:00
parent d1a0ad4234
commit eff3a1f585

View File

@@ -687,6 +687,13 @@ public class StIvtIostorinvServiceImpl extends ServiceImpl<StIvtIostorinvMapper,
.out_stor_id(Long.parseLong(MapUtil.getStr(whereJson, "out_stor_id")))
.source_id(Long.parseLong(MapUtil.getStr(whereJson, "source_id")))
.build();
if (ObjectUtil.isNotEmpty(MapUtil.getStr(whereJson, "out_stor_id"))) {
mstDao.setOut_stor_id(Long.parseLong(MapUtil.getStr(whereJson, "out_stor_id")));
}
if (ObjectUtil.isNotEmpty(MapUtil.getStr(whereJson, "source_id"))) {
mstDao.setSource_id(Long.parseLong(MapUtil.getStr(whereJson, "source_id")));
}
} else {
// 修改
mstDao.setBiz_date(whereJson.get("biz_date").toString().substring(0, 10));