当在编辑标准的国家地区的时候,自动添加到国家地区清单中,并且把标准的是否纳入认证清单改为"是"
This commit is contained in:
+1
-1
@@ -163,7 +163,7 @@ public class SarLawsDetailedListController extends BaseController<SarLawsDetaile
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ApiOperation(value = "标准插入已存在的清单")
|
@ApiOperation(value = "当在编辑标准的国家地区的时候,自动添加到国家地区清单中,并且把标准的是否纳入认证清单改为\"是\"")
|
||||||
@PostMapping("/standardToLaws")
|
@PostMapping("/standardToLaws")
|
||||||
public ResponseMessage standardToLaws(String countryArea,TimeDto timeDto){
|
public ResponseMessage standardToLaws(String countryArea,TimeDto timeDto){
|
||||||
sarLawsDetailedListService.standardToLaws(countryArea,timeDto);
|
sarLawsDetailedListService.standardToLaws(countryArea,timeDto);
|
||||||
|
|||||||
+2
@@ -724,6 +724,8 @@ public class SarLawsDetailedListServiceImpl extends ServiceImpl<SarLawsDetailedL
|
|||||||
}
|
}
|
||||||
|
|
||||||
sarLawsAttrDetailedListService.insertDetailedList(lawsDetailed.getId(), timeDtos);
|
sarLawsAttrDetailedListService.insertDetailedList(lawsDetailed.getId(), timeDtos);
|
||||||
|
//更新标准是否纳入认证清单
|
||||||
|
sarStandardsInfoDao.updateISRELATEACCESSById("1", Arrays.asList(timeDto.getStandId()) );
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user