|
|
|
@ -75,6 +75,35 @@
|
|
|
|
|
</trim>
|
|
|
|
|
ORDER BY create_time DESC
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
<select id="selectTdApplyInfoListListByApplyStatus" resultType="com.ruoyi.system.domain.apply.TdApplyInfoList">
|
|
|
|
|
select <include refid="Base_Column_List"/> from td_apply_info_list d
|
|
|
|
|
<trim prefix="where" prefixOverrides="and|or">
|
|
|
|
|
<if test="name!=null and name!=''">
|
|
|
|
|
AND name = #{name}
|
|
|
|
|
</if>
|
|
|
|
|
<if test="nationa!=null and nationa!=''">
|
|
|
|
|
AND nationa = #{nationa}
|
|
|
|
|
</if>
|
|
|
|
|
<if test="formerName!=null and formerName!=''">
|
|
|
|
|
AND former_name = #{formerName}
|
|
|
|
|
</if>
|
|
|
|
|
<if test="cerno!=null and cerno!=''">
|
|
|
|
|
AND cerno = #{cerno}
|
|
|
|
|
</if>
|
|
|
|
|
<if test="phone!=null and phone!=''">
|
|
|
|
|
AND phone = #{phone}
|
|
|
|
|
</if>
|
|
|
|
|
<if test="smPost!=null and smPost!=''">
|
|
|
|
|
AND sm_post = #{smPost}
|
|
|
|
|
</if>
|
|
|
|
|
AND apply_status in (2)
|
|
|
|
|
<!-- 数据范围过滤 -->
|
|
|
|
|
${params.dataScope}
|
|
|
|
|
</trim>
|
|
|
|
|
ORDER BY create_time DESC
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
<select id="selectTdAuditInfoListList" resultType="com.ruoyi.system.domain.apply.TdApplyInfoList">
|
|
|
|
|
select <include refid="Base_Column_List"/> from td_apply_info_list d
|
|
|
|
|
<trim prefix="where" prefixOverrides="and|or">
|
|
|
|
|