|
@@ -3,11 +3,10 @@
|
|
|
<mapper namespace="com.lc.ibps.hrm.dao.PersonnelManagementDao">
|
|
<mapper namespace="com.lc.ibps.hrm.dao.PersonnelManagementDao">
|
|
|
|
|
|
|
|
<select id="querySnapshoot" parameterType="java.util.Map" resultType="java.util.Map">
|
|
<select id="querySnapshoot" parameterType="java.util.Map" resultType="java.util.Map">
|
|
|
- select id_,
|
|
|
|
|
- gang_wei_,
|
|
|
|
|
- kuai_zhao_
|
|
|
|
|
- from t_gltxgwsms
|
|
|
|
|
- where
|
|
|
|
|
|
|
+ select
|
|
|
|
|
+ TRIM(BOTH ',' FROM GROUP_CONCAT(DISTINCT kuai_zhao_ SEPARATOR ',')) AS kuai_zhao_combined
|
|
|
|
|
+ from t_gltxgwsms
|
|
|
|
|
+ where
|
|
|
<foreach item="id" index="index" collection="map.gangWei" open="(" separator="OR" close=")">
|
|
<foreach item="id" index="index" collection="map.gangWei" open="(" separator="OR" close=")">
|
|
|
gang_wei_ LIKE CONCAT('%', #{id}, '%')
|
|
gang_wei_ LIKE CONCAT('%', #{id}, '%')
|
|
|
</foreach>
|
|
</foreach>
|