fix
This commit is contained in:
@@ -407,8 +407,10 @@ public class SysStoreAppServiceImpl implements SysStoreAppService, AuditResultSe
|
||||
try {
|
||||
//删除上次提交数据
|
||||
ShopAuditInfoDO deleteShopAuditDo = shopAuditInfoMapper.selectBykeyAndType(shopId);
|
||||
deleteShopAuditDo.setDeleted(false);
|
||||
shopAuditInfoMapper.updateByPrimaryKeySelective(deleteShopAuditDo);
|
||||
if (Objects.nonNull(deleteShopAuditDo)){
|
||||
deleteShopAuditDo.setDeleted(false);
|
||||
shopAuditInfoMapper.updateByPrimaryKeySelective(deleteShopAuditDo);
|
||||
}
|
||||
//新增本次数据
|
||||
shopAuditInfoDO.setShopId(shopId);
|
||||
shopAuditInfoDO.setAuditType(AuditTypeEnum.SYS_BUILD.getCode());
|
||||
|
||||
Reference in New Issue
Block a user