根据条款名称分页查询
This commit is contained in:
+1
-1
@@ -89,7 +89,7 @@ public class SarStandItemsController extends BaseController<SarStandItems> {
|
||||
@ApiOperation(value = "分解单查询")
|
||||
@GetMapping("/querySarItemAndInterpretation")
|
||||
public ResponseMessage querySarItemAndInterpretation(FindSarItemsPageReqDTO page){
|
||||
List<SarStandItems> rows = ServiceImpl.querySarItemAndInterpretation(page);
|
||||
List<SarStandItems> rows = ServiceImpl.selectByName(page.getItemsName());
|
||||
|
||||
PageInfo<SarStandItems> pageInfo = getPageInfo(page.getPager(), rows);
|
||||
|
||||
|
||||
+4
@@ -440,4 +440,8 @@ public class SarStandItemsServiceImpl extends ServiceImpl<SarStandItemsDao, SarS
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
public List<SarStandItems> selectByName(String itemsName) {
|
||||
return sarFileSplitItemsEODao.selectByName(itemsName);
|
||||
}
|
||||
}
|
||||
|
||||
+2
@@ -63,4 +63,6 @@ public interface SarFileSplitItemsEODao extends BaseMapper<SarFileSplitItemsEO>
|
||||
|
||||
@Select("select ID from sar_file_split_info where ID=#{infoId}")
|
||||
String selectByInfoId(String infoId);
|
||||
|
||||
List<SarStandItems> selectByName(String itemsName);
|
||||
}
|
||||
|
||||
+3
@@ -630,5 +630,8 @@
|
||||
${pager.orderCondition}
|
||||
</if>
|
||||
</select>
|
||||
<select id="selectByName" resultType="com.adc.da.slrs.sarStandItems.entity.SarStandItems">
|
||||
select ITEMS_NAME from sar_file_split_items where ITEMS_NAME =#{itemsName}
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user