处理异常

This commit is contained in:
luoliming 2024-01-05 22:46:19 +08:00
parent 9df337434d
commit 9f20578fef
1 changed files with 3 additions and 3 deletions

View File

@ -57,13 +57,13 @@
</sql> </sql>
<sql id="whr"> <sql id="whr">
<if test="query.facCode!= null"> <if test="query.facCode!= null and query.facCode!=''">
and fac_code = #{query.facCode} and fac_code = #{query.facCode}
</if> </if>
<if test="query.materialNo!= null"> <if test="query.materialNo!= null and query.materialNo!=''">
and material_no = #{query.materialNo} and material_no = #{query.materialNo}
</if> </if>
<if test="query.drawingNo!= null"> <if test="query.drawingNo!= null and query.drawingNo!=''">
and drawing_no = #{query.drawingNo} and drawing_no = #{query.drawingNo}
</if> </if>
<if test="query.startDate!= null and query.endDate!=null"> <if test="query.startDate!= null and query.endDate!=null">