ZeroLiYi 1 jaar geleden
bovenliggende
commit
99a11a4679

+ 3 - 3
src/main/java/com/chinaitop/depot/sqr/controller/BizSqrEnterpriseApplyController.java

@@ -59,16 +59,16 @@ public class BizSqrEnterpriseApplyController {
59 59
     @ApiImplicitParams({
60 60
             @ApiImplicitParam(name = "pageNum", value = "页码", paramType = "query"),
61 61
             @ApiImplicitParam(name = "pageSize", value = "每页条数", paramType = "query"),
62
-            @ApiImplicitParam(name = "dwdm", value = "单位代码", paramType = "query"),
62
+            @ApiImplicitParam(name = "dwmc", value = "单位名称", paramType = "query"),
63 63
             @ApiImplicitParam(name = "applyType", value = "申请类型", paramType = "query")
64 64
 
65 65
     })
66
-    public PageInfo<BizSqrEnterpriseApply> page(Integer pageNum, Integer pageSize,String dwdm,Integer applyType) {
66
+    public PageInfo<BizSqrEnterpriseApply> page(Integer pageNum, Integer pageSize,String dwmc,Integer applyType) {
67 67
 
68 68
         if (pageNum!=null && pageSize!=null) {
69 69
             PageHelper.startPage(pageNum, pageSize);
70 70
         }
71
-        List<BizSqrEnterpriseApply> list = bizGrQeApplyService.findByPage(dwdm,applyType);
71
+        List<BizSqrEnterpriseApply> list = bizGrQeApplyService.findByPage(dwmc,applyType);
72 72
         PageInfo<BizSqrEnterpriseApply> pageInfo = new PageInfo<BizSqrEnterpriseApply>(list);
73 73
         return pageInfo;
74 74
     }

+ 3 - 0
src/main/java/com/chinaitop/depot/sqr/model/BizSqrEnterpriseApply.java

@@ -101,6 +101,9 @@ public class BizSqrEnterpriseApply {
101 101
     @ApiModelProperty(value = "状态 0:保存状态;1:申请中;2:有效;3:过期;", position = 13)
102 102
     private Integer status;
103 103
 
104
+
105
+    private String zcdz;
106
+
104 107
     public Integer getId() {
105 108
         return id;
106 109
     }

+ 1 - 1
src/main/java/com/chinaitop/depot/sqr/service/BizSqrEnterpriseApplyService.java

@@ -36,7 +36,7 @@ public interface BizSqrEnterpriseApplyService {
36 36
      * @author ZeroLiYi
37 37
      * @date  2024/04/28 10:01
38 38
      */
39
-    List<BizSqrEnterpriseApply>findByPage(String dwdm,Integer applyType);
39
+    List<BizSqrEnterpriseApply>findByPage(String dwmc,Integer applyType);
40 40
 
41 41
 
42 42
     BizSqrEnterpriseApplyVO findById(Integer applyType,String unitInfoId,Integer id);

+ 2 - 2
src/main/java/com/chinaitop/depot/sqr/service/impl/BizSqrEnterpriseApplyServiceImpl.java

@@ -69,9 +69,9 @@ public class BizSqrEnterpriseApplyServiceImpl implements BizSqrEnterpriseApplySe
69 69
 
70 70
 
71 71
     @Override
72
-    public  List<BizSqrEnterpriseApply> findByPage(String dwdm,Integer applyType){
72
+    public  List<BizSqrEnterpriseApply> findByPage(String dwmc,Integer applyType){
73 73
         Map map=new HashMap<>();
74
-        map.put("dwdm",dwdm);
74
+        map.put("dwmc",dwmc);
75 75
         map.put("applyType",applyType);
76 76
        return bizSqrEnterpriseApplyMapper.findByPage(map);
77 77
     }