“你lipengggit config --global user.name “你的名lipeng““ 3 anni fa
parent
commit
312172b42b

+ 19 - 0
mybusiness/src/main/java/com/sooka/system/controller/TGuijiHousingconstructionYhjbxxController.java

@@ -41,6 +41,12 @@ public class TGuijiHousingconstructionYhjbxxController extends BaseController
         return prefix + "/yhjbxx";
     }
 
+    @RequiresPermissions("system:yhjbxx:view")
+    @GetMapping("/yhjbxxpz")
+    public String yhjbxxpz()
+    {
+        return prefix + "/pzyhjbxx";
+    }
     /**
      * 查询自来水人员基本信息列表
      */
@@ -55,6 +61,19 @@ public class TGuijiHousingconstructionYhjbxxController extends BaseController
     }
 
     /**
+     * 查询自来水人员基本信息列表
+     */
+    @RequiresPermissions("system:yhjbxx:listpz")
+    @PostMapping("/listpz")
+    @ResponseBody
+    public TableDataInfo listpz(TGuijiHousingconstructionYhjbxx tGuijiHousingconstructionYhjbxx)
+    {
+        System.out.println("listpz");
+        startPage();
+        List<TGuijiHousingconstructionYhjbxx> list = tGuijiHousingconstructionYhjbxxService.selectTGuijiHousingconstructionYhjbxxList(tGuijiHousingconstructionYhjbxx);
+        return getDataTable(list);
+    }
+    /**
      * 导出自来水人员基本信息列表
      */
     @RequiresPermissions("system:yhjbxx:export")

+ 175 - 0
mybusiness/src/main/resources/templates/system/yhjbxx/pzyhjbxx.html

@@ -0,0 +1,175 @@
+<!DOCTYPE html>
+<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
+<head>
+    <th:block th:include="include :: header('自来水人员基本信息列表')" />
+</head>
+<body class="gray-bg">
+     <div class="container-div">
+        <div class="row">
+            <div class="col-sm-12 search-collapse">
+                <form id="formId">
+                    <div class="select-list">
+                        <ul>
+                            <!--
+                            <li>
+                                <label>推送时间:</label>
+                                <input type="text" name="cdTime"/>
+                            </li>
+                            <li>
+                                <label>批次号:</label>
+                                <input type="text" name="cdBatch"/>
+                            </li>
+                            <li>
+                                <label>操作状态:</label>
+                                <input type="text" name="cdOperation"/>
+                            </li>
+                            <li>
+                                <label>数据来源:</label>
+                                <input type="text" name="cdSource"/>
+                            </li>
+                            <li>
+                                <label>用户编号:</label>
+                                <input type="text" name="yhbh"/>
+                            </li>
+                            -->
+                            <li>
+                                <label>用户名称:</label>
+                                <input type="text" name="yhmc"/>
+                            </li>
+                            <!--
+                            <li>
+                                <label>用户地址:</label>
+                                <input type="text" name="yhdz"/>
+                            </li>
+                            <li>
+                                <label>用水月份:</label>
+                                <input type="text" name="ysyf"/>
+                            </li>
+                            <li>
+                                <label>用水量:</label>
+                                <input type="text" name="ysl"/>
+                            </li>
+                            -->
+                            <li>
+                                <label>是否缴费:</label>
+                                <input type="text" name="sfjf"/>
+                            </li>
+                            <li>
+                                <label>缴费时间:</label>
+                                <input type="text" name="jfsj"/>
+                            </li>
+                            <li>
+                                <a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i>&nbsp;搜索</a>
+                                <a class="btn btn-warning btn-rounded btn-sm" onclick="$.form.reset()"><i class="fa fa-refresh"></i>&nbsp;重置</a>
+                            </li>
+                        </ul>
+                    </div>
+                </form>
+            </div>
+
+            <div class="btn-group-sm" id="toolbar" role="group">
+                <!--
+                <a class="btn btn-success" onclick="$.operate.add()" shiro:hasPermission="system:yhjbxx:add">
+                    <i class="fa fa-plus"></i> 添加
+                </a>
+                <a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="system:yhjbxx:edit">
+                    <i class="fa fa-edit"></i> 修改
+                </a>
+                <a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="system:yhjbxx:remove">
+                    <i class="fa fa-remove"></i> 删除
+                </a>
+                -->
+                <a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="system:yhjbxx:export">
+                    <i class="fa fa-download"></i> 导出
+                </a>
+            </div>
+            <div class="col-sm-12 select-table table-striped">
+                <table id="bootstrap-table"></table>
+            </div>
+        </div>
+    </div>
+    <th:block th:include="include :: footer" />
+    <script th:inline="javascript">
+        var editFlag = [[${@permission.hasPermi('system:yhjbxx:edit')}]];
+        var removeFlag = [[${@permission.hasPermi('system:yhjbxx:remove')}]];
+        var detailFlag = [[${@permission.hasPermi('system:yhjbxx:detail')}]];
+        var prefix = ctx + "system/yhjbxx";
+
+        $(function() {
+            var options = {
+                url: prefix + "/listpz",
+                createUrl: prefix + "/add",
+                updateUrl: prefix + "/edit/{id}",
+                detailUrl: prefix + "/detail/{id}",
+                removeUrl: prefix + "/remove",
+                exportUrl: prefix + "/export",
+                modalName: "用户基本信息",
+                columns: [{
+                    checkbox: true
+                },
+                {
+                    field: 'id',
+                    title: '主键ID',
+                    visible: false
+                },
+
+                // {
+                //     field: 'cdBatch',
+                //     title: '批次号'
+                // },
+                // {
+                //     field: 'cdOperation',
+                //     title: '操作状态'
+                // },
+                // {
+                //     field: 'cdSource',
+                //     title: '数据来源'
+                // },
+                {
+                    field: 'yhbh',
+                    title: '用户编号'
+                },
+                {
+                    field: 'yhmc',
+                    title: '用户名称'
+                },
+                {
+                    field: 'yhdz',
+                    title: '用户地址'
+                },
+                {
+                    field: 'cdTime',
+                    title: '数据归集时间'
+                },
+                // {
+                //     field: 'ysyf',
+                //     title: '用水月份'
+                // },
+                // {
+                //     field: 'ysl',
+                //     title: '用水量'
+                // },
+                {
+                    field: 'sfjf',
+                    title: '是否缴费'
+                },
+                {
+                    field: 'jfsj',
+                    title: '缴费时间'
+                },
+                {
+                    title: '操作',
+                    align: 'center',
+                    formatter: function(value, row, index) {
+                        var actions = [];
+                        actions.push('<a class="btn btn-warning btn-xs ' + detailFlag + '" href="javascript:void(0)" onclick="$.operate.detail(\'' + row.id + '\')"><i class="fa fa-search"></i>详细</a>');
+                        // actions.push('<a class="btn btn-danger btn-xs ' + removeFlag + '" href="javascript:void(0)" onclick="$.operate.remove(\'' + row.id + '\')"><i class="fa fa-remove"></i>删除</a>');
+                        return actions.join('');
+                    }
+                }]
+            };
+            $.table.init(options);
+        });
+    </script>
+</body>
+</html>