From 37fb9b57dc9536d2d06b829e95ea7ef79b7daf3b Mon Sep 17 00:00:00 2001 From: ChenXono <184642819@qq.com> Date: Wed, 13 May 2026 13:27:33 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=95=E7=AE=97=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/sinosoft/lis/sql/pubfun/CalPremBLSQL.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lis-module-grp-common-bl/src/main/java/com/sinosoft/lis/sql/pubfun/CalPremBLSQL.java b/lis-module-grp-common-bl/src/main/java/com/sinosoft/lis/sql/pubfun/CalPremBLSQL.java index c5e7287c..c5eef4f3 100644 --- a/lis-module-grp-common-bl/src/main/java/com/sinosoft/lis/sql/pubfun/CalPremBLSQL.java +++ b/lis-module-grp-common-bl/src/main/java/com/sinosoft/lis/sql/pubfun/CalPremBLSQL.java @@ -18,13 +18,13 @@ public interface CalPremBLSQL { String findCalSqlByRiskCodeAndDutyCodeAndPayPlanCode(@Param("tRiskCode")String tRiskCode,@Param("tDutyCode")String tDutyCode,@Param("tPayPlanCode")String tPayPlanCode); @SQL("select d.calsql from lmriskduty a, lmdutypayrela b, lmdutypay c, lmcalmode d " + - " where a.dutycode=b.dutycode and b.payplancode=c.payplancode and CONCAT(c.calcode,'QT')=d.calcode " + + " where a.dutycode=b.dutycode and b.payplancode=c.payplancode and c.calcode=d.calcode " + " and a.riskcode='"+ "?tRiskCode?" +"' and b.dutycode='"+ "?tDutyCode?" +"' and a.riskcode not in('231003','231022','231013')") String findCalSqlByRiskCodeAndDutyCode1(@Param("tRiskCode")String tRiskCode, @Param("tDutyCode")String tDutyCode); //!!!G_NB 再保净费暂时没有开发直接调用 QT的算法 后续再改 @SQL("select d.calsql from lmriskduty a, lmdutypayrela b, lmdutypay c, lmcalmode d " + - " where a.dutycode=b.dutycode and b.payplancode=c.payplancode and CONCAT(c.calcode,'ZB')=d.calcode " + + " where a.dutycode=b.dutycode and b.payplancode=c.payplancode and c.calcode=d.calcode " + " and a.riskcode='"+ "?tRiskCode?" +"' and b.dutycode='"+ "?tDutyCode?" +"' ") String findCalSqlByRiskCodeAndDutyCodeZJCBL(@Param("tRiskCode")String tRiskCode, @Param("tDutyCode")String tDutyCode); }