From 4756b2959df094e4f49aa85f95ec2b1ef6478e2a Mon Sep 17 00:00:00 2001 From: 无关风月 <443237572@qq.com> Date: 星期三, 18 十二月 2024 08:46:51 +0800 Subject: [PATCH] 代码 --- manage/src/main/resources/mapping/TWarehousingMapper.xml | 19 +++++++++++++++++++ 1 files changed, 19 insertions(+), 0 deletions(-) diff --git a/manage/src/main/resources/mapping/TWarehousingMapper.xml b/manage/src/main/resources/mapping/TWarehousingMapper.xml index e032137..96710bd 100644 --- a/manage/src/main/resources/mapping/TWarehousingMapper.xml +++ b/manage/src/main/resources/mapping/TWarehousingMapper.xml @@ -34,6 +34,25 @@ and createTime between #{query.startTime} and #{query.endTime} </if> and isDelete = ${@com.jilongda.common.enums.DisabledEnum@NO.getCode()} + and `type` = 1 + </where> + ORDER BY createTime DESC + </select> + <select id="inventoryReceiptLensList" resultType="com.jilongda.manage.vo.TWarehousingLensVO"> + select <include refid="Base_Column_List"></include> + from t_warehousing + <where> + <if test="query.storeId != null"> + and storeId = #{query.storeId} + </if> + <if test="query.status != null"> + and status = #{query.status} + </if> + <if test="query.startTime != null and query.startTime != '' and query.endTime != null and query.endTime != ''"> + and createTime between #{query.startTime} and #{query.endTime} + </if> + and `type` = 2 + and isDelete = ${@com.jilongda.common.enums.DisabledEnum@NO.getCode()} </where> ORDER BY createTime DESC </select> -- Gitblit v1.7.1