Commit dba84479 authored by zhangch's avatar zhangch

服务方案查询接口调整

parent 13061e3b
...@@ -17,6 +17,16 @@ public class SvrProgramListVo { ...@@ -17,6 +17,16 @@ public class SvrProgramListVo {
private Long srvSendId; private Long srvSendId;
/** /**
* 服务机构id
*/
private Long srvOrganId;
/**
* 失能人员id
*/
private Long disabInfoId;
/**
* 机构所在省 * 机构所在省
*/ */
private String districtProvincial; private String districtProvincial;
......
...@@ -49,8 +49,6 @@ public class SrvProgramController { ...@@ -49,8 +49,6 @@ public class SrvProgramController {
} }
Page<SvrProgramListVo> page = new Page<>(pageNum, pageSize); Page<SvrProgramListVo> page = new Page<>(pageNum, pageSize);
page = srvProgramService.getProgramList(page, srvOrganId, realName, realTel, programStatus); page = srvProgramService.getProgramList(page, srvOrganId, realName, realTel, programStatus);
long total = page.getTotal();
log.info("total:{}", total);
return Result.success(page); return Result.success(page);
} }
} }
...@@ -33,6 +33,8 @@ ...@@ -33,6 +33,8 @@
</resultMap> </resultMap>
<select id="selectProgramList" resultType="com.hungraim.ltc.pojo.vo.governance.SvrProgramListVo"> <select id="selectProgramList" resultType="com.hungraim.ltc.pojo.vo.governance.SvrProgramListVo">
SELECT T1.SRV_SEND_ID srvSendId, SELECT T1.SRV_SEND_ID srvSendId,
T1.SRV_ORGAN_ID srvOrganId,
T1.DISAB_INFO_ID disabInfoId,
T2.DISTRICT_PROVINCIAL districtProvincial, T2.DISTRICT_PROVINCIAL districtProvincial,
T2.DISTRICT_CITY districtCity, T2.DISTRICT_CITY districtCity,
T3.REAL_NAME realName, T3.REAL_NAME realName,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment