法规清单-update
This commit is contained in:
+1
-4
@@ -1386,10 +1386,7 @@ public class ProjectLawsInventoryEOServiceImpl extends ServiceImpl<ProjectLawsIn
|
||||
|
||||
if(StringUtils.equals(operatorType,OperatorTypeEnum.UPDATE_STATUS.getValue())){
|
||||
ProjectLawsInventoryEO projectLawsInventoryEO = JSONObject.parseObject(jsonObject.toString(), ProjectLawsInventoryEO.class);
|
||||
//this.baseMapper.updateById(projectLawsInventoryEO);
|
||||
QueryWrapper<ProjectLawsInventoryEO> lawsInventoryUpdateWrapper = new QueryWrapper<>();
|
||||
lawsInventoryUpdateWrapper.lambda().eq(ProjectLawsInventoryEO::getId,projectLawsInventoryEO.getId());
|
||||
this.baseMapper.update(projectLawsInventoryEO,lawsInventoryUpdateWrapper);
|
||||
this.baseMapper.updateById(projectLawsInventoryEO);
|
||||
}
|
||||
if(StringUtils.equals(operatorType,OperatorTypeEnum.ADD.getValue())){
|
||||
|
||||
|
||||
Reference in New Issue
Block a user