Commit 9fa4f953 by liyanlin

fix

parent 18043a9e
...@@ -14,6 +14,6 @@ ...@@ -14,6 +14,6 @@
where ah.approval_time between #{startTime} and #{endTime} where ah.approval_time between #{startTime} and #{endTime}
<if test="costStatus != null">and ah.cost_status = #{costStatus}</if> <if test="costStatus != null">and ah.cost_status = #{costStatus}</if>
<if test="typeNo != null and typeNo != ''">and c.type_no = #{typeNo}</if> <if test="typeNo != null and typeNo != ''">and c.type_no = #{typeNo}</if>
<if test="costNo != null and costNo != ''">and ah.cost_no like '%#{costNo}%'</if> <if test="costNo != null and costNo != ''">and ah.cost_no like concat('%',#{costNo},'%')</if>
</select> </select>
</mapper> </mapper>
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