法规清单 流程查询明细接口修改。

This commit is contained in:
wangzhijiang
2022-05-09 17:12:33 +08:00
parent f03a11a3fa
commit 6990a55eca
4 changed files with 5 additions and 4 deletions
@@ -237,7 +237,7 @@ public class ProjectLawsInventoryEOController extends JeroController<ProjectLaws
@ApiOperation(value="项目库-法规清单表-通过id与操作类型查询", notes="项目库-法规清单表-通过id与操作类型查询")
@GetMapping(value = "/queryProjectLawsInventoryInfoById")
public Result<?> queryProjectLawsInventoryInfoById(@RequestParam Map<String,Object> params) {
ProjectLawsInventoryEO result = projectLawsInventoryEOService.queryProjectLawsInventoryInfoById(params);
List<ProjectLawsInventoryEO> result = projectLawsInventoryEOService.queryProjectLawsInventoryInfoById(params);
return Result.OK((String) params.get("cut"),result);
}
@@ -7,6 +7,7 @@ import com.jero.common.constant.enums.CutEnum;
* 审查结果枚举类
*/
public enum ReviewResultEnum {
LAUNCH("发起","launch"),
TO_BE_CONFIRMED("待确认","to be confirmed"),
CONFORMITY("符合","conformity"),
INCONFORMITY("不符合","inconformity"),
@@ -89,7 +89,7 @@ public interface IProjectLawsInventoryEOService extends IService<ProjectLawsInve
*/
Result<?> processCall(JSONObject jsonObject);
ProjectLawsInventoryEO queryProjectLawsInventoryInfoById(Map<String, Object> params);
List<ProjectLawsInventoryEO> queryProjectLawsInventoryInfoById(Map<String, Object> params);
void copyInfoByIds(String ids);
@@ -1127,7 +1127,7 @@ public class ProjectLawsInventoryEOServiceImpl extends ServiceImpl<ProjectLawsIn
}
@Override
public ProjectLawsInventoryEO queryProjectLawsInventoryInfoById(Map<String, Object> params) {
public List<ProjectLawsInventoryEO> queryProjectLawsInventoryInfoById(Map<String, Object> params) {
String id = (String) params.get("id");
if(StringUtils.isEmpty(id)){
@@ -1174,7 +1174,7 @@ public class ProjectLawsInventoryEOServiceImpl extends ServiceImpl<ProjectLawsIn
}else {
throw new JeroBootException("未找到该法规清单信息!");
}
return projectLawsInventoryEOList.get(0);
return projectLawsInventoryEOList;
}
/**