| | |
| | | <result property="statusName" column="status_name"/> |
| | | <result property="process" column="process"/> |
| | | <result property="processName" column="process_name"/> |
| | | <result property="infoProcess" column="infoProcess"/> |
| | | <result property="infoProcessName" column="info_process_name"/> |
| | | <result property="wantUnitId" column="want_unit_id"/> |
| | | <result property="wantUnitName" column="want_unit_name"/> |
| | | <result property="wantUserId" column="want_user_id"/> |
| | |
| | | status_name, |
| | | process, |
| | | process_name, |
| | | info_process, |
| | | info_process_name, |
| | | want_unit_id, |
| | | want_unit_name, |
| | | want_user_id, |
| | |
| | | <if test="entity.statusName != null">status_name = #{entity.statusName},</if> |
| | | <if test="entity.process != null">process = #{entity.process},</if> |
| | | <if test="entity.processName != null">process_name = #{entity.processName},</if> |
| | | <if test="entity.infoProcess != null">info_process = #{entity.infoProcess},</if> |
| | | <if test="entity.infoProcessName != null">info_process_name = #{entity.infoProcessName},</if> |
| | | <if test="entity.wantUnitId != null">want_unit_id = #{entity.wantUnitId},</if> |
| | | <if test="entity.wantUnitName != null">want_unit_name = #{entity.wantUnitName},</if> |
| | | <if test="entity.wantUserId != null">want_user_id = #{entity.wantUserId},</if> |
| | |
| | | <where> |
| | | <if test="terms.ids != null and terms.ids.size > 0"> |
| | | and id in |
| | | <foreach collection="terms.id" item="terms.ids" index="index" open="(" separator="," close=")"> |
| | | #{terms.id} |
| | | <foreach collection="terms.ids" item="id" index="index" open="(" separator="," close=")"> |
| | | #{id} |
| | | </foreach> |
| | | </if> |
| | | <if test="terms.id != null and terms.id !=''"> |
| | |
| | | </if> |
| | | <if test="terms.processList != null and terms.processList.size > 0"> |
| | | and process in |
| | | <foreach collection="terms.process" item="terms.processList" index="index" open="(" separator="," close=")"> |
| | | #{terms.process} |
| | | <foreach collection="terms.processList" item="process" index="index" open="(" separator="," close=")"> |
| | | #{process} |
| | | </foreach> |
| | | </if> |
| | | <if test="terms.process != null and terms.process !=''"> |
| | |
| | | <if test="terms.processName != null and terms.processName !=''"> |
| | | and process_name = #{terms.processName} |
| | | </if> |
| | | <if test="terms.infoProcess != null and terms.infoProcess !=''"> |
| | | and info_process = #{terms.infoProcess} |
| | | </if> |
| | | <if test="terms.infoProcessName != null and terms.infoProcessName !=''"> |
| | | and info_process_name = #{terms.infoProcessName} |
| | | </if> |
| | | <if test="terms.wantUnitId != null and terms.wantUnitId !=''"> |
| | | and want_unit_id = #{terms.wantUnitId} |
| | | </if> |