From cbc1828ae240e37a37670f2760b80649c11679e2 Mon Sep 17 00:00:00 2001 From: zjh <1084500556@qq.com> Date: 星期一, 11 八月 2025 08:58:56 +0800 Subject: [PATCH] zjh20250811 --- ltkj-hosp/src/main/resources/mapper/TjCustomerMapper.xml | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/ltkj-hosp/src/main/resources/mapper/TjCustomerMapper.xml b/ltkj-hosp/src/main/resources/mapper/TjCustomerMapper.xml index b4f1898..bbc72e2 100644 --- a/ltkj-hosp/src/main/resources/mapper/TjCustomerMapper.xml +++ b/ltkj-hosp/src/main/resources/mapper/TjCustomerMapper.xml @@ -96,7 +96,7 @@ <select id="selectTjCustomerByCusId" parameterType="Long" resultMap="TjCustomerResult"> <include refid="selectTjCustomerVo"/> - where cus_id = #{cusId} and deleted = '0' + where cus_id = #{cusId} </select> <insert id="insertTjCustomer" parameterType="TjCustomer" useGeneratedKeys="true" keyProperty="cusId"> @@ -309,6 +309,7 @@ LEFT JOIN tj_report r ON o.tj_number = r.tj_number WHERE c.cus_idcard = #{card} AND c.cus_name = #{name} AND c.deleted = 0 + and o.create_time > #{time} ORDER BY o.create_time DESC </select> -- Gitblit v1.8.0