From e7200a1bfc5abf3dac04955dfa533476f535a5ea Mon Sep 17 00:00:00 2001 From: zjh <1084500556@qq.com> Date: 星期一, 14 七月 2025 14:18:08 +0800 Subject: [PATCH] zjh20250714 --- ltkj-hosp/src/main/java/com/ltkj/hosp/mapper/TjOrderYcxmMapper.java | 15 +++++++++++++++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/ltkj-hosp/src/main/java/com/ltkj/hosp/mapper/TjOrderYcxmMapper.java b/ltkj-hosp/src/main/java/com/ltkj/hosp/mapper/TjOrderYcxmMapper.java index a6952d6..c9b7d0a 100644 --- a/ltkj-hosp/src/main/java/com/ltkj/hosp/mapper/TjOrderYcxmMapper.java +++ b/ltkj-hosp/src/main/java/com/ltkj/hosp/mapper/TjOrderYcxmMapper.java @@ -4,6 +4,10 @@ import com.ltkj.hosp.domain.TjOrderYcxm; import org.apache.ibatis.annotations.Delete; import org.apache.ibatis.annotations.Mapper; +import org.apache.ibatis.annotations.Select; +import org.apache.ibatis.annotations.Update; + +import java.util.List; /** * ClassName: TjOrderYcxmMapper <br/> @@ -17,4 +21,15 @@ @Delete("DELETE FROM tj_order_ycxm WHERE tjh=#{tjh}") void delOrderYcXmJyByTjh(String tjh); + + @Select("select * FROM tj_order_ycxm WHERE tjh=#{tjNumber}") + List<TjOrderYcxm> selectListByTjh(String tjNumber); + + @Select("select * FROM tj_order_ycxm WHERE tjh=#{tjNum} and deleted=1") + List<TjOrderYcxm> zongjianyishengHuiFuyichangxiangmu(String tjNum); + + @Update("update tj_order_ycxm a set" + + " a.deleted=0 " + + " where a.id=id") + int zongjianyishengHuiFuyichangxiangmuanniu(String id); } -- Gitblit v1.8.0