Browse Source

test1

master
yinzuomei 4 years ago
parent
commit
4155550ea5
  1. 18
      epmet-user/epmet-user-server/src/main/resources/mapper/IcResiUserDao.xml

18
epmet-user/epmet-user-server/src/main/resources/mapper/IcResiUserDao.xml

@ -104,4 +104,22 @@
<update id="updateSubTableToDel" parameterType="map"> <update id="updateSubTableToDel" parameterType="map">
update ${subTalbeName} set del_flag='1' where IC_RESI_USER=#{icResiUserId} update ${subTalbeName} set del_flag='1' where IC_RESI_USER=#{icResiUserId}
</update> </update>
<select id="dynamicQuery" parameterType="map" resultType="map">
select
${resultTableName}.*
FROM
ic_resi_user
<if test="null != subTables and subTables.size() > 0">
<foreach item="subTableName" collection="subTables" open="" separator="" close="">
${subTableName}
</foreach>
</if>
<where>
<include refid="listWhere"></include>
</where>
group by IC_RESI_USER.id
order by ic_resi_user.CREATED_TIME desc
</select>
</mapper> </mapper>
Loading…
Cancel
Save