项目合规评估流程,责任人填写评估反馈添加条款内容
This commit is contained in:
+6
-1
@@ -145,5 +145,10 @@ public class SarStandItemsController extends BaseController<SarStandItems> {
|
||||
return Result.success(fileType);
|
||||
}
|
||||
|
||||
|
||||
@ApiOperation(value = "项目合规评估流程-项目-分解单条款内容查询")
|
||||
@PostMapping("/findTermsConditions")
|
||||
public ResponseMessage findTermsConditions( @RequestParam("idList") List<String> idList){
|
||||
List<SarStandItemsDto> ItemDto = ServiceImpl.findTermsConditions(idList);
|
||||
return Result.success("200",ItemDto);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -82,4 +82,6 @@ public interface SarStandItemsDao extends BaseMapper<SarStandItems> {
|
||||
List<String> getFileType(@Param("standId") String standId);
|
||||
|
||||
List<String> getFileTypeHG(@Param("standId") String standId);
|
||||
|
||||
List<SarStandItemsDto> findTermsConditions(@Param("idList") List<String> idsList);
|
||||
}
|
||||
|
||||
+8
@@ -343,4 +343,12 @@ public class SarStandItemsServiceImpl extends ServiceImpl<SarStandItemsDao, SarS
|
||||
|
||||
return collect;
|
||||
}
|
||||
|
||||
public List<SarStandItemsDto> findTermsConditions(List<String> idsList) {
|
||||
List<SarStandItemsDto> sarStandItemsDtos = new ArrayList<>();
|
||||
if (CollectionUtils.isNotEmpty(idsList)) {
|
||||
sarStandItemsDtos = sarStandItemsDao.findTermsConditions(idsList);
|
||||
}
|
||||
return sarStandItemsDtos;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -811,4 +811,11 @@
|
||||
<!--SELECT FILE_type from sar_file_split_info WHERE STAND_ID = #{standId} AND VALID_FLAG = '0' GROUP BY FILE_TYPE-->
|
||||
</select>
|
||||
|
||||
<select id="findTermsConditions" resultType="com.adc.da.slrs.sarStandItems.entity.SarStandItemsDto">
|
||||
SELECT ID, TERMS_CONDITIONS from sar_stand_items WHERE ID in
|
||||
<foreach collection="idList" index="index" item="item" open="(" separator="," close=")">
|
||||
#{item}
|
||||
</foreach>
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user