|
|
|
@ -537,4 +537,32 @@
|
|
|
|
|
</delete>
|
|
|
|
|
<!-- BaseMapper标准查询/修改/删除 -->
|
|
|
|
|
|
|
|
|
|
<!--自定义sql-->
|
|
|
|
|
<select id="getPrintLogListByCondition" resultMap="BaseResultMap">
|
|
|
|
|
SELECT * FROM Z_PRINT_LOG PL
|
|
|
|
|
WHERE SITE = #{site}
|
|
|
|
|
<if test="startFromDate != null">
|
|
|
|
|
AND PL.CREATED_DATE_TIME >= #{startFromDate}
|
|
|
|
|
</if>
|
|
|
|
|
<if test="startToDate != null">
|
|
|
|
|
AND PL.CREATED_DATE_TIME <= #{startToDate}
|
|
|
|
|
</if>
|
|
|
|
|
<if test="isPrint != null">
|
|
|
|
|
AND PL.IS_PRINT = #{isPrint}
|
|
|
|
|
</if>
|
|
|
|
|
<if test="category != null">
|
|
|
|
|
AND PL.CATEGORY <= #{category}
|
|
|
|
|
</if>
|
|
|
|
|
<if test="inventory != null">
|
|
|
|
|
AND PL.INVENTORY <= #{inventory}
|
|
|
|
|
</if>
|
|
|
|
|
<if test="sfc != null">
|
|
|
|
|
AND PL.SFC <= #{sfc}
|
|
|
|
|
</if>
|
|
|
|
|
ORDER BY PL.CREATED_DATE_TIME DESC
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
<!--自定义sql-->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</mapper>
|
|
|
|
|