From 77b51f625a13a8254eb2e8a9aa53bacf575f7274 Mon Sep 17 00:00:00 2001 From: lige <bestlige@outlook.com> Date: 星期一, 04 十二月 2023 18:13:49 +0800 Subject: [PATCH] 1 --- ltkj-hosp/src/main/resources/mapper/hosp/TjOrderMapper.xml | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ltkj-hosp/src/main/resources/mapper/hosp/TjOrderMapper.xml b/ltkj-hosp/src/main/resources/mapper/hosp/TjOrderMapper.xml index 9b63472..e924067 100644 --- a/ltkj-hosp/src/main/resources/mapper/hosp/TjOrderMapper.xml +++ b/ltkj-hosp/src/main/resources/mapper/hosp/TjOrderMapper.xml @@ -79,7 +79,7 @@ <where> <if test="tjNum != null">and tj_number LIKE '%${tjNum}'</if> <if test="checkStatus != null and checkStatus==0 ">and status =288</if> - <if test="checkStatus != null and checkStatus==1 ">and status =401</if> + <if test="checkStatus != null and checkStatus==1 ">and status =401 or status= 402 </if> <if test="compId != null ">and comp_id = #{compId}</if> <if test="beginTime != null and endTime != null ">and create_time BETWEEN #{beginTime} and #{endTime}</if> and deleted =0 @@ -119,7 +119,7 @@ <where> <if test="tjNum != null">and tj_number LIKE '%${tjNum}'</if> <if test="checkStatus != null and checkStatus==0 ">and status =301</if> - <if test="checkStatus != null and checkStatus== 1 ">and status =401</if> + <if test="checkStatus != null and checkStatus== 1 ">and status =401 or status= 402 </if> <if test="compId != null ">and comp_id = #{compId}</if> <if test="beginTime != null and endTime != null ">and create_time BETWEEN #{beginTime} and #{endTime}</if> and deleted =0 @@ -281,7 +281,7 @@ </delete> - <select id="getOrderList" parameterType="Integer" resultMap="TjOrderResult"> + <select id="getOrderList" parameterType="java.lang.Long" resultMap="TjOrderResult"> select * from tj_order where 1 = 1 -- Gitblit v1.8.0