上菜时间完善
This commit is contained in:
@@ -97,7 +97,7 @@
|
||||
consStockFlow.setCreateUserName(createUserName);
|
||||
String conId = entity.getConId();
|
||||
ConsInfo consInfo;
|
||||
if (entity.getConId() == null) {
|
||||
if (StrUtil.isBlank(entity.getConId())) {
|
||||
consInfo = consInfoMapper.selectOneByQuery(new QueryWrapper().like(ConsInfo::getConName, entity.getConName())
|
||||
.eq(ConsInfo::getShopId, shopId).limit(1));
|
||||
entity.setConId(consInfo == null ? null : consInfo.getId().toString());
|
||||
|
||||
Reference in New Issue
Block a user