From d2ec031af299ea71ce0dd803ce624285c7eca7e2 Mon Sep 17 00:00:00 2001 From: wanghui <2788755484@qq.com> Date: Thu, 18 Jun 2026 10:36:57 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=AA=E4=BA=BA=E5=87=AD=E8=AF=81=E6=89=93?= =?UTF-8?q?=E5=8D=B0SQL=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/sinosoft/lis/sql/g_print/LCGrpPrintBLSQL.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lis-module-grp-print-service/src/main/java/com/sinosoft/lis/sql/g_print/LCGrpPrintBLSQL.java b/lis-module-grp-print-service/src/main/java/com/sinosoft/lis/sql/g_print/LCGrpPrintBLSQL.java index 2e273129..934ba48c 100644 --- a/lis-module-grp-print-service/src/main/java/com/sinosoft/lis/sql/g_print/LCGrpPrintBLSQL.java +++ b/lis-module-grp-print-service/src/main/java/com/sinosoft/lis/sql/g_print/LCGrpPrintBLSQL.java @@ -359,7 +359,7 @@ public interface LCGrpPrintBLSQL { @SQL(value = "select address,zipcode,servicephone from ldcom where comcode='?ManageCom?'") SSRS getComInfoByManageCom(@Param("ManageCom") String ManageCom); - @SQL(value = "select name,(select CodeName from ldcode a where a.CodeType ='sex' and code=a.sex),birthday,(select CodeName from ldcode a where a.CodeType ='idtype' and code=a.idtype),idno,(select PlanCode from lccontplan where grpcontno=a.GrpContNo and ContPlanCode=a.ContPlanCode limit 1),(select a.insuredappage from lcpol b where b.contno=a.contno and b.InsuredNo =a.InsuredNo limit 1) From lcinsured a where a.RelationToMainInsured ='00' and a.ContNo ='?mContNo?'") + @SQL(value = "select name,(select CodeName from ldcode where CodeType ='sex' and code=a.sex),birthday,(select CodeName from ldcode where CodeType ='idtype' and code=a.idtype),idno,(select PlanCode from lccontplan where grpcontno=a.GrpContNo and ContPlanCode=a.ContPlanCode limit 1),(select a.insuredappage from lcpol b where b.contno=a.contno and b.InsuredNo =a.InsuredNo limit 1) From lcinsured a where a.RelationToMainInsured ='00' and a.ContNo ='?mContNo?'") SSRS getInsuredInfoByContNo(@Param("mContNo") String mContNo); @SQL(value = "select a.riskcode,a.InsuYear,a.InsuYearFlag, a.insuredappage from lcpol a,lmriskapp b where a.contno='?mContNo?' and a.polno=a.mainpolno and a.PolState in ('11','20','21','10') and b.riskcode = a.riskcode")