| | |
| | | <result column="update_user" property="updateUser"/> |
| | | </resultMap> |
| | | <select id="selectAuxiliaryCorrectionHours" resultType="com.yuanchu.mom.dto.AuxiliaryCorrectionHoursDto"> |
| | | select data.* |
| | | select A.* |
| | | from ( |
| | | select ach.*,name |
| | | FROM auxiliary_correction_hours ach |
| | | left join user on user.id=ach.name_user |
| | | <if test="ids !=null and ids != ''"> |
| | | WHERE name_user in(#{ids}) |
| | | <!--<if test="ids !=null and ids != ''"> |
| | | WHERE name_user in |
| | | <foreach collection="ids" index="index" open="(" separator="," close=")" item="val"> |
| | | #{val} |
| | | </foreach> |
| | | </if> |
| | | ) data |
| | | </if>--> |
| | | ) A |
| | | <if test="ew.customSqlSegment != null and ew.customSqlSegment != ''"> |
| | | ${ew.customSqlSegment} |
| | | </if> |