Commit de99838a authored by 温志超's avatar 温志超

更新生产版本查询

parent 9de5dfcd
...@@ -77,7 +77,7 @@ ...@@ -77,7 +77,7 @@
<if test="enableFlag != null and enableFlag != ''">and mw.enable_flag = #{enableFlag}</if> <if test="enableFlag != null and enableFlag != ''">and mw.enable_flag = #{enableFlag}</if>
<if test="workshopId != null ">and mw.workshop_id = #{workshopId}</if> <if test="workshopId != null ">and mw.workshop_id = #{workshopId}</if>
<if test="factoryCode != null and factoryCode != ''">and mw.factory_code = #{factoryCode}</if> <if test="factoryCode != null and factoryCode != ''">and mw.factory_code = #{factoryCode}</if>
<if test="workstationCode != null and workstationCode != ''">and mw.workstation_code = #{workstationCode} <if test="workstationCode != null and workstationCode != ''">and mw.workstation_code like '%${workstationCode}%'
</if> </if>
</where> </where>
</select> </select>
......
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
<select id="selectProProcessList" parameterType="ProProcess" resultMap="ProProcessResult"> <select id="selectProProcessList" parameterType="ProProcess" resultMap="ProProcessResult">
<include refid="selectProProcessVo"/> <include refid="selectProProcessVo"/>
<where> <where>
<if test="processCode != null and processCode != ''">and process_code = #{processCode}</if> <if test="processCode != null and processCode != ''">and process_code like concat('%', #{processCode},'%') </if>
<if test="processName != null and processName != ''">and process_name like concat('%', #{processName},'%') <if test="processName != null and processName != ''">and process_name like concat('%', #{processName},'%')
</if> </if>
<if test="attention != null and attention != ''">and attention = #{attention}</if> <if test="attention != null and attention != ''">and attention = #{attention}</if>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment