Commit 9107a82a authored by zhangwanglin's avatar zhangwanglin

服务分配

parent e732d5f8
...@@ -71,7 +71,7 @@ ...@@ -71,7 +71,7 @@
WHERE T1.PROGRAM_ID = #{programId} and rownum =1 WHERE T1.PROGRAM_ID = #{programId} and rownum =1
</select> </select>
<select id="getProgramDetailWithAdd" resultMap="ProgramSetDetailVoMap"> <select id="getProgramDetailWithAdd" resultMap="ProgramSetDetailVoMap">
SELECT NULL PROGRAM_ID, select * from ( SELECT NULL PROGRAM_ID,
T1.SRV_ORGAN_ID, T1.SRV_ORGAN_ID,
T1.DISAB_INFO_ID, T1.DISAB_INFO_ID,
T1.SRV_MODE_ID, T1.SRV_MODE_ID,
...@@ -106,7 +106,8 @@ ...@@ -106,7 +106,8 @@
LEFT JOIN CH_SRV_ORGAN T5 ON T1.SRV_ORGAN_ID = T5.SRV_ORGAN_ID LEFT JOIN CH_SRV_ORGAN T5 ON T1.SRV_ORGAN_ID = T5.SRV_ORGAN_ID
WHERE T1.DISAB_INFO_ID = #{disabInfoId} WHERE T1.DISAB_INFO_ID = #{disabInfoId}
AND T1.SRV_ORGAN_ID = #{srvOrganId} AND T1.SRV_ORGAN_ID = #{srvOrganId}
AND ROWNUM = 1 order by T1.FCD desc )
where ROWNUM = 1
</select> </select>
<select id="getProgramList" resultType="com.hungraim.ltc.pojo.vo.governance.ProgramListVo"> <select id="getProgramList" resultType="com.hungraim.ltc.pojo.vo.governance.ProgramListVo">
......
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