Commit ffbad9ad authored by huyuchen's avatar huyuchen

huych-社保自动化相关提交

parent 63387ef6
...@@ -315,7 +315,7 @@ ...@@ -315,7 +315,7 @@
<select id="getTDispatchInfoPrePage" resultMap="tDispatchInfoPreMap"> <select id="getTDispatchInfoPrePage" resultMap="tDispatchInfoPreMap">
SELECT SELECT
<include refid="Base_Column_List"/> <include refid="Base_Column_List"/>
if(b.id is not null,'0','1') as CONTRACT_STATUS ,if(b.id is not null,'0','1') as CONTRACT_STATUS
FROM t_dispatch_info_pre a FROM t_dispatch_info_pre a
left join view_contract b on a.EMP_IDCARD = b.EMP_IDCARD and a.DEPT_NO = b.DEPT_NO left join view_contract b on a.EMP_IDCARD = b.EMP_IDCARD and a.DEPT_NO = b.DEPT_NO
<where> <where>
...@@ -365,6 +365,7 @@ ...@@ -365,6 +365,7 @@
a.DELETE_FLAG = '0' a.DELETE_FLAG = '0'
<include refid="tDispatchInfoPre_where"/> <include refid="tDispatchInfoPre_where"/>
</where> </where>
group by a.id
order by a.create_time desc order by a.create_time desc
<if test="tDispatchInfoPre.limitStart != null"> <if test="tDispatchInfoPre.limitStart != null">
limit #{tDispatchInfoPre.limitStart},#{tDispatchInfoPre.limitEnd} limit #{tDispatchInfoPre.limitStart},#{tDispatchInfoPre.limitEnd}
......
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