From a14ce626f09dd590f5743c6dc8eebb98507a5c3a Mon Sep 17 00:00:00 2001 From: erzhongxmu Date: Wed, 3 Jan 2024 14:43:04 +0800 Subject: [PATCH] 123 --- .../java/com/zzjee/bm/controller/MvCusCostController.java | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/main/java/com/zzjee/bm/controller/MvCusCostController.java b/src/main/java/com/zzjee/bm/controller/MvCusCostController.java index 122bf65d..06f04728 100644 --- a/src/main/java/com/zzjee/bm/controller/MvCusCostController.java +++ b/src/main/java/com/zzjee/bm/controller/MvCusCostController.java @@ -116,14 +116,9 @@ public class MvCusCostController extends BaseController { @RequestMapping(params = "datagrid") public void datagrid(MvCusCostEntity mvCusCost, HttpServletRequest request, HttpServletResponse response, DataGrid dataGrid) { CriteriaQuery cq = new CriteriaQuery(MvCusCostEntity.class, dataGrid); - //查询条件组装器 -// request.setAttribute("costData_begin", "1990-01-01"); -// request.setAttribute("costData_end", "2990-01-01"); + org.jeecgframework.core.extend.hqlsearch.HqlGenerateUtil.installHql(cq, mvCusCost, request.getParameterMap()); try { - //自定义追加查询条件 -// cq.ge("costData", DateUtils.str2Date("1990-01-01", DateUtils.date_sdf) ); -// cq.le("costData", DateUtils.str2Date("2990-01-01", DateUtils.date_sdf) ); if (StringUtil.isNotEmpty(wmUtil.getCusCode())) { cq.eq("cusCode", wmUtil.getCusCode()); } @@ -742,7 +737,6 @@ public class MvCusCostController extends BaseController { Row rowColumnNamedetail = sheet1.createRow((short) 0); // 列名 int colidetail = 0; for (int i = 0; i < columnNamesdetail.length; i++) { - Cell cell = rowColumnNamedetail.createCell(colidetail); colidetail = colidetail + 1; rowColumnName.setHeight((short) 300);