写了点注释
This commit is contained in:
+1
-5
@@ -193,13 +193,9 @@ public class SarStandItemsServiceImpl extends ServiceImpl<SarStandItemsDao, SarS
|
|||||||
|
|
||||||
|
|
||||||
public List<SarStandItems> querySarItemAndInterpretation(FindSarItemsPageReqDTO page){
|
public List<SarStandItems> querySarItemAndInterpretation(FindSarItemsPageReqDTO page){
|
||||||
|
//分页查询的总数
|
||||||
|
|
||||||
|
|
||||||
Integer count=dao.sarItemCount(page);
|
Integer count=dao.sarItemCount(page);
|
||||||
page.getPager().setRowCount(count);
|
page.getPager().setRowCount(count);
|
||||||
|
|
||||||
|
|
||||||
List<SarStandItems> sarStandItems = dao.querySarItemAndInterpretation(page);
|
List<SarStandItems> sarStandItems = dao.querySarItemAndInterpretation(page);
|
||||||
return sarStandItems;
|
return sarStandItems;
|
||||||
}
|
}
|
||||||
|
|||||||
+11
@@ -1137,6 +1137,17 @@ public class SarStandardsInfoServiceImpl extends ServiceImpl<SarStandardsInfoDao
|
|||||||
* @Return: com.adc.da.util.http.ResponseMessage<com.adc.da.lawss.entity.SarStandardsInfoEO>
|
* @Return: com.adc.da.util.http.ResponseMessage<com.adc.da.lawss.entity.SarStandardsInfoEO>
|
||||||
*/
|
*/
|
||||||
public int updateSarStandardsInfo(SarStandardsInfo sarStandardsInfoEO) throws Exception {
|
public int updateSarStandardsInfo(SarStandardsInfo sarStandardsInfoEO) throws Exception {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 加入对应"国家/地区"的清单列表
|
||||||
|
*/
|
||||||
|
|
||||||
|
//1.获取标准清单的"国家/地区"
|
||||||
|
//2.判断修改的标准的"国家/地区"与清单中的是否一致,一致则添加到清单中,不一致不作处理
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
String standId = sarStandardsInfoEO.getId();
|
String standId = sarStandardsInfoEO.getId();
|
||||||
// 查询修改前数据信息,为修改代替标准号使用
|
// 查询修改前数据信息,为修改代替标准号使用
|
||||||
SarStandardsInfo beforeSarStandardsInfo = dao.selectById(standId);
|
SarStandardsInfo beforeSarStandardsInfo = dao.selectById(standId);
|
||||||
|
|||||||
Reference in New Issue
Block a user