ソースを参照

其他基本信息

wangjinsheng 3 年 前
コミット
e23c7e3412

+ 22 - 0
mybusiness/src/main/java/com/sooka/system/controller/TGuijiNaturalresourcesQlrjbxxController.java

@@ -49,6 +49,15 @@ public class TGuijiNaturalresourcesQlrjbxxController extends BaseController {
         return prefix + "/grjbxx";
     }
 
+
+    //其他
+    @RequiresPermissions("system:grjbxx:view")
+    @GetMapping("/qtjbxx")
+    public String qtjbxx(ModelMap map) {
+        map.put("flag","qt");
+        return prefix + "/grjbxx";
+    }
+
     /**
      * 查询个人基本信息列表
      */
@@ -76,6 +85,19 @@ public class TGuijiNaturalresourcesQlrjbxxController extends BaseController {
     }
 
     /**
+     * 查询其他基本信息列表
+     */
+    @RequiresPermissions("system:grjbxx:list")
+    @PostMapping("/qtList")
+    @ResponseBody
+    public TableDataInfo qtList(TGuijiNaturalresourcesQlrjbxx tGuijiNaturalresourcesQlrjbxx) {
+        startPage();
+        tGuijiNaturalresourcesQlrjbxx.setQlrxz("");
+        List<TGuijiNaturalresourcesQlrjbxx> list = tGuijiNaturalresourcesQlrjbxxService.selectTGuijiNaturalresourcesQlrjbxxList(tGuijiNaturalresourcesQlrjbxx);
+        return getDataTable(list);
+    }
+
+    /**
      * 导出个人基本信息列表
      */
     @RequiresPermissions("system:grjbxx:export")

+ 1 - 1
mybusiness/src/main/resources/mapper/system/TGuijiNaturalresourcesQlrjbxxMapper.xml

@@ -79,7 +79,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="gzdw != null  and gzdw != ''"> and gzdw = #{gzdw}</if>
             <if test="dzyj != null  and dzyj != ''"> and dzyj = #{dzyj}</if>
             <if test="qdfs != null  and qdfs != ''"> and qdfs = #{qdfs}</if>
-            <if test="qlrxz != null  and qlrxz != ''"> and qlrxz = #{qlrxz}</if>
+            <if test="qlrxz != null"> and qlrxz = #{qlrxz}</if>
             <if test="qlmj != null  and qlmj != ''"> and qlmj = #{qlmj}</if>
             <if test="qlbl != null  and qlbl != ''"> and qlbl = #{qlbl}</if>
             <if test="gyfs != null  and gyfs != ''"> and gyfs = #{gyfs}</if>

+ 3 - 0
mybusiness/src/main/resources/templates/system/grjbxx/grjbxx.html

@@ -55,6 +55,9 @@
         if(flag=="qy"){
             urlV = prefix + "/qyList";
         }
+        if(flag=="qt"){
+            urlV = prefix + "/qtList";
+        }
         $(function() {
             var options = {
                 url: urlV,