From b8bf9a10ca1c65e94d75a2db5550e6263b582512 Mon Sep 17 00:00:00 2001 From: zhaowenxuan <chacca165@163.com> Date: 星期一, 16 十二月 2024 15:01:41 +0800 Subject: [PATCH] 调整结果项目状态判断结论增加非空判断 --- ltkj-hosp/src/main/java/com/ltkj/hosp/mapper/TjAdviceMapper.java | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ltkj-hosp/src/main/java/com/ltkj/hosp/mapper/TjAdviceMapper.java b/ltkj-hosp/src/main/java/com/ltkj/hosp/mapper/TjAdviceMapper.java index bd4f772..b998966 100644 --- a/ltkj-hosp/src/main/java/com/ltkj/hosp/mapper/TjAdviceMapper.java +++ b/ltkj-hosp/src/main/java/com/ltkj/hosp/mapper/TjAdviceMapper.java @@ -72,14 +72,17 @@ "#{id}", "</foreach>", "</script>" }) - public String getAdviceStringByIds(@Param("aList") List<String> aList); + public String getAdviceStringByIdss(@Param("aList") String[] aList); - @Select({"<script>", "select GROUP_CONCAT(a.title Separator ';') from tj_advice a where a.id in", + @Select({"<script>", "select * from tj_advice a where a.id in", "<foreach collection='aList' item='id' open='(' separator=',' close=')'>", "#{id}", "</foreach>", "</script>" }) List<TjAdvice> getAdviceStringByIds(@Param("aList") String[] aList); + + List<TjAdvice> selectList(@Param("proName") String proName,@Param("deptId") String deptId,@Param("page") int i,@Param("pageSize") Integer pageSize); + Integer selectListCount(@Param("proName") String proName,@Param("deptId") String deptId); } -- Gitblit v1.8.0