Compare commits

...

2 Commits

Author SHA1 Message Date
我与春风皆过客丶 ce01c522c5 Merge remote-tracking branch 'origin/master' 3 weeks ago
我与春风皆过客丶 bea44db038 核心对接询价系统数据提交代码7 生成投保单页面查询调整 3 weeks ago
  1. 4
      lis-module-grp-nb-service/src/main/java/com/sinosoft/lis/controller/g_app/LCPropPrintController.java
  2. 5
      lis-module-grp-nb-service/src/main/java/com/sinosoft/lis/sql/easyquery/g_app/LCPropPrintSql.java
  3. 8
      lis-module-grp-nb-web/src/main/webapp/g_app/LCPropPrintInput.js
  4. 16
      lis-module-grp-nb-web/src/main/webapp/g_app/LCPropPrintInput.jsp

@ -127,8 +127,8 @@ public class LCPropPrintController {
} else { } else {
HashMap<String, String> para = sqlInfo.getPara(); HashMap<String, String> para = sqlInfo.getPara();
String para1 = para.get("para1"); String para1 = para.get("para1");
// String para0 = para.get("para5"); String para0 = para.get("para5");
String para0 = "1"; // String para0 = "1";
TransferData tTransferData = new TransferData(); TransferData tTransferData = new TransferData();
String Operate = "INSERT"; String Operate = "INSERT";
tTransferData.setNameAndValue("AskNo", para1); tTransferData.setNameAndValue("AskNo", para1);

@ -31,7 +31,7 @@ public interface LCPropPrintSql {
" (a.ISHEALTHY = '0' and EXISTS ( select 1 from lduser where OrganPopedom='1' @{5} )) " + " (a.ISHEALTHY = '0' and EXISTS ( select 1 from lduser where OrganPopedom='1' @{5} )) " +
" or (a.ISHEALTHY = '1' and EXISTS ( select 1 from lduser where HealthyPopedom ='1' @{5} ))" + " or (a.ISHEALTHY = '1' and EXISTS ( select 1 from lduser where HealthyPopedom ='1' @{5} ))" +
" ) " + " ) " +
"@{0} @{1} @{2} @{3} order by a.quotno, a.quotbatno) " + "@{0} @{1} @{2} @{3} @{7} order by a.quotno, a.quotbatno) " +
"union (select a.quotNo,a.quotbatno," + "union (select a.quotNo,a.quotbatno," +
"b.quottype, '套餐询价',a.ProjName ,c.ExamDate from lsprojquotbasic a,lsquotation b ,LSQuotationProcess c where a.quotno = b.quotno and " + "b.quottype, '套餐询价',a.ProjName ,c.ExamDate from lsprojquotbasic a,lsquotation b ,LSQuotationProcess c where a.quotno = b.quotno and " +
"quotstate = '02' and a.QuotNo = c.QuotNo and (" + "quotstate = '02' and a.QuotNo = c.QuotNo and (" +
@ -51,11 +51,12 @@ public interface LCPropPrintSql {
@Clause(key = 0, clause = "and a.grpname like concat('%',concat('#{para0}','%'))", expression = "#{para0} != empty"), @Clause(key = 0, clause = "and a.grpname like concat('%',concat('#{para0}','%'))", expression = "#{para0} != empty"),
@Clause(key = 4, clause = "and a.Projname like concat('%',concat('#{para0}','%'))", expression = "#{para0} != empty"), @Clause(key = 4, clause = "and a.Projname like concat('%',concat('#{para0}','%'))", expression = "#{para0} != empty"),
@Clause(key = 1, clause = "and a.quotno = '#{para1}'", expression = "#{para1} != empty"), @Clause(key = 1, clause = "and a.quotno = '#{para1}'", expression = "#{para1} != empty"),
@Clause(key = 7, clause = "and a.quotbatno = '#{para5}'", expression = "#{para5} != empty"),
@Clause(key = 2, clause = "and b.quottype = '#{para2}'", expression = "#{para2} != empty"), @Clause(key = 2, clause = "and b.quottype = '#{para2}'", expression = "#{para2} != empty"),
@Clause(key = 3, clause = "and a.managecom like concat('#{para3}','%')", expression = "#{para3} != empty"), @Clause(key = 3, clause = "and a.managecom like concat('#{para3}','%')", expression = "#{para3} != empty"),
@Clause(key = 5, clause = "and usercode = '#{para4}'", expression = "#{para4} != empty"), @Clause(key = 5, clause = "and usercode = '#{para4}'", expression = "#{para4} != empty"),
@Clause(key = 6, clause = "and projcom.managecom = '#{para3}'", expression = "#{para3} != empty")}) @Clause(key = 6, clause = "and projcom.managecom = '#{para3}'", expression = "#{para3} != empty")})
SSRS LCPropPrintSql2(@Param("para0") String para0, @Param("para1") String para1, @Param("para2") String para2,@Param("para3") String para3,@Param("para4") String para4); SSRS LCPropPrintSql2(@Param("para0") String para0, @Param("para1") String para1, @Param("para2") String para2,@Param("para3") String para3,@Param("para4") String para4, @Param("para5") String para5);
@SQL(value = "select a.ContPlanCode,a.plancode,a.ContPlanName ,CONCAT(a.INSUPERIOD,(case a.INSUPERIODFLAG when 'D' then '天' when 'M' then '月' ELSE '年' end)) ,Peoples3," + @SQL(value = "select a.ContPlanCode,a.plancode,a.ContPlanName ,CONCAT(a.INSUPERIOD,(case a.INSUPERIODFLAG when 'D' then '天' when 'M' then '月' ELSE '年' end)) ,Peoples3," +
"(select codename from ldcode where codetype='premmode' and CODE=a.premmode) " + "(select codename from ldcode where codetype='premmode' and CODE=a.premmode) " +

@ -24,12 +24,14 @@ function queryClick() {
tSQLInfo.setModule("grp_nb"); tSQLInfo.setModule("grp_nb");
tSQLInfo.setResourceName("g_app.LCPropPrintSql"); tSQLInfo.setResourceName("g_app.LCPropPrintSql");
tSQLInfo.setSqlId("LCPropPrintSql2"); tSQLInfo.setSqlId("LCPropPrintSql2");
tSQLInfo.addSubPara(fm.GrpName.value); // tSQLInfo.addSubPara(fm.GrpName.value);
tSQLInfo.addSubPara("");
tSQLInfo.addSubPara(fm.QuotNo.value); tSQLInfo.addSubPara(fm.QuotNo.value);
tSQLInfo.addSubPara(fm.QuotType.value); // tSQLInfo.addSubPara(fm.QuotType.value);
tSQLInfo.addSubPara("");
tSQLInfo.addSubPara(tManageCom); tSQLInfo.addSubPara(tManageCom);
tSQLInfo.addSubPara(tOperator); tSQLInfo.addSubPara(tOperator);
// tSQLInfo.addSubPara(fm.QuotbatNo.value); tSQLInfo.addSubPara(fm.QuotbatNo.value);
turnPage1.queryModal(tSQLInfo.getString(), QuotInfoGrid, 1); turnPage1.queryModal(tSQLInfo.getString(), QuotInfoGrid, 1);
} }

@ -48,19 +48,19 @@
<div id="divQuery" class=container showname="查询条件" style="display: ''"> <div id="divQuery" class=container showname="查询条件" style="display: ''">
<table class=common> <table class=common>
<tr class=common> <tr class=common>
<td class=title >投保单位名称/套餐名称</td> <%-- <td class=title >投保单位名称/套餐名称</td>--%>
<td class=input><input class="common" name=GrpName id=GrpName></td> <%-- <td class=input><input class="common" name=GrpName id=GrpName></td>--%>
<td class=title data-i18n="QuotNum">询价号</td> <td class=title data-i18n="QuotNum">询价号</td>
<td class=input><input class="common" name=QuotNo id=QuotNo> </td> <td class=input><input class="common" name=QuotNo id=QuotNo> </td>
<td class=title data-i18n="QuotType">询价类型</td> <%-- <td class=title data-i18n="QuotType">询价类型</td>--%>
<td class=input><input class=codeno name=QuotType id=QuotType style="background:url(../common/images/select--bg_03.png) no-repeat right center" ondblclick="return showCodeList('quottype', [this,QuotTypeName], [0,1], null, null, null, '1', null);" onkeyup="return showCodeListKey('quottype', [this,QuotTypeName], [0,1], null, null, null, '1', null);" readonly><input class=codename name=QuotTypeName id=QuotTypeName></td> <%-- <td class=input><input class=codeno name=QuotType id=QuotType style="background:url(../common/images/select--bg_03.png) no-repeat right center" ondblclick="return showCodeList('quottype', [this,QuotTypeName], [0,1], null, null, null, '1', null);" onkeyup="return showCodeListKey('quottype', [this,QuotTypeName], [0,1], null, null, null, '1', null);" readonly><input class=codename name=QuotTypeName id=QuotTypeName></td>--%>
<%-- <td class=title >批次号</td>--%>
<%-- <td class=input><input class="common" name=QuotbatNo id=QuotbatNo></td>--%>
</tr>
<tr class=common>
<td class=title >批次号</td> <td class=title >批次号</td>
<td class=input><input class="common" name=QuotbatNo id=QuotbatNo></td> <td class=input><input class="common" name=QuotbatNo id=QuotbatNo></td>
</tr> </tr>
<%-- <tr class=common>--%>
<%-- <td class=title >批次号</td>--%>
<%-- <td class=input><input class="common" name=QuotbatNo id=QuotbatNo></td>--%>
<%-- </tr>--%>
</table> </table>
<input class=cssButton type=button id="queryClickBtn" value="查 询" data-i18n="Enquiry-2" onclick="queryClick();"> <input class=cssButton type=button id="queryClickBtn" value="查 询" data-i18n="Enquiry-2" onclick="queryClick();">
</div> </div>

Loading…
Cancel
Save