张涛 2 years ago
parent
commit
1c556d312f

db/.back_文明创办/文明创办-backup-2023327191207.pdma.json → db/.back_文明创办/.back_文明创办/文明创办-backup-2023511101645.pdma.json View File

4
   "avatar": "",
4
   "avatar": "",
5
   "version": "4.1.4",
5
   "version": "4.1.4",
6
   "createdTime": "2022-12-12 09:36:12",
6
   "createdTime": "2022-12-12 09:36:12",
7
-  "updatedTime": "2023-3-23 14:25:10",
7
+  "updatedTime": "2023-5-8 16:33:28",
8
   "dbConns": [],
8
   "dbConns": [],
9
   "profile": {
9
   "profile": {
10
     "default": {
10
     "default": {
494
         "hideInGraph": true
494
         "hideInGraph": true
495
       }
495
       }
496
     ],
496
     ],
497
-    "modelType": "modalGroup"
497
+    "modelType": "modalGroup",
498
+    "menuWidth": "250px"
498
   },
499
   },
499
   "entities": [
500
   "entities": [
500
     {
501
     {
3912
           "refDict": "",
3913
           "refDict": "",
3913
           "uiHint": "",
3914
           "uiHint": "",
3914
           "id": "7FF626A4-AF1C-4CF5-B356-D46DB6D534B3"
3915
           "id": "7FF626A4-AF1C-4CF5-B356-D46DB6D534B3"
3916
+        },
3917
+        {
3918
+          "defKey": "copy_from",
3919
+          "defName": "复制来源",
3920
+          "comment": "",
3921
+          "type": "",
3922
+          "len": "",
3923
+          "scale": "",
3924
+          "primaryKey": false,
3925
+          "notNull": false,
3926
+          "autoIncrement": false,
3927
+          "defaultValue": "",
3928
+          "hideInGraph": false,
3929
+          "refDict": "",
3930
+          "extProps": {},
3931
+          "domain": "16120F75-6AA7-4483-868D-F07F511BB081",
3932
+          "id": "1F85BFC4-DBF4-4BA5-9BD8-DC9C2BFA1646"
3915
         }
3933
         }
3916
       ],
3934
       ],
3917
       "correlations": [],
3935
       "correlations": [],
4919
           "domain": "",
4937
           "domain": "",
4920
           "id": "52C74C06-CC1C-416E-B913-78B500CE30A2"
4938
           "id": "52C74C06-CC1C-416E-B913-78B500CE30A2"
4921
         },
4939
         },
4940
+        {
4941
+          "defKey": "loc_num",
4942
+          "defName": "实地测评份数",
4943
+          "comment": "",
4944
+          "type": "",
4945
+          "len": "",
4946
+          "scale": "",
4947
+          "primaryKey": false,
4948
+          "notNull": false,
4949
+          "autoIncrement": false,
4950
+          "defaultValue": "",
4951
+          "hideInGraph": false,
4952
+          "refDict": "",
4953
+          "extProps": {},
4954
+          "domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
4955
+          "id": "FC14EB4B-E1C2-411A-A051-0D3C15002B61"
4956
+        },
4957
+        {
4958
+          "defKey": "survey_num",
4959
+          "defName": "调查问卷份数",
4960
+          "comment": "",
4961
+          "type": "",
4962
+          "len": "",
4963
+          "scale": "",
4964
+          "primaryKey": false,
4965
+          "notNull": false,
4966
+          "autoIncrement": false,
4967
+          "defaultValue": "",
4968
+          "hideInGraph": false,
4969
+          "refDict": "",
4970
+          "extProps": {},
4971
+          "domain": "6BC8F04B-6CFA-4995-98D3-318F5CDD774E",
4972
+          "id": "DAA70103-78D7-46A9-98F8-87963984C229"
4973
+        },
4922
         {
4974
         {
4923
           "defKey": "status",
4975
           "defKey": "status",
4924
           "defName": "状态",
4976
           "defName": "状态",

+ 10054
- 0
db/.back_文明创办/.back_文明创办/文明创办-backup-2023511103013.pdma.json
File diff suppressed because it is too large
View File


+ 10054
- 0
db/.back_文明创办/文明创办-backup-2023510115646.pdma.json
File diff suppressed because it is too large
View File


+ 7
- 1
db/upgrade.1.1.sql View File

1
 
1
 
2
 ALTER TABLE `sys_org`
2
 ALTER TABLE `sys_org`
3
-    ADD COLUMN `is_responsible` int(0) NULL DEFAULT 1 COMMENT '是否责任单位' AFTER `org_p_id`;
3
+    ADD COLUMN `is_responsible` int(0) NULL DEFAULT 1 COMMENT '是否责任单位' AFTER `org_p_id`;
4
+
5
+
6
+  ALTER TABLE `ta_check_item`
7
+    ADD COLUMN `culture_term` varchar(255) NULL COMMENT '文明用语' AFTER copy_from;
8
+
9
+

+ 2
- 2
db/文明创办.pdma.json View File

2
   "name": "文明创办",
2
   "name": "文明创办",
3
   "describe": "文明创办",
3
   "describe": "文明创办",
4
   "avatar": "",
4
   "avatar": "",
5
-  "version": "4.1.4",
5
+  "version": "4.1.1",
6
   "createdTime": "2022-12-12 09:36:12",
6
   "createdTime": "2022-12-12 09:36:12",
7
-  "updatedTime": "2023-5-8 16:33:28",
7
+  "updatedTime": "2023-5-10 11:56:46",
8
   "dbConns": [],
8
   "dbConns": [],
9
   "profile": {
9
   "profile": {
10
     "default": {
10
     "default": {

+ 9
- 0
src/main/java/com/example/civilizedcity/common/ExportIssueUtil.java View File

48
                 issueExport.setProcessNum(taIssue.getProcessNum());
48
                 issueExport.setProcessNum(taIssue.getProcessNum());
49
                 issueExport.setUserName(taIssue.getUserName());
49
                 issueExport.setUserName(taIssue.getUserName());
50
                 issueExport.setEndDate(taIssue.getEndDate());
50
                 issueExport.setEndDate(taIssue.getEndDate());
51
+//                issueExport.setSourceType(taIssue.getSourceType());
52
+                String sourceType=taIssue.getSourceType();
53
+                if(sourceType.equals(Constants.SOURCE_FEEDBACK)){
54
+                    issueExport.setSourceType("市民上报");
55
+                }else if(sourceType.equals(Constants.SOURCE_CHECK)){
56
+                    issueExport.setSourceType("实地测评");
57
+                }else if(sourceType.equals(Constants.SOURCE_INSPECTOR)){
58
+                    issueExport.setSourceType("日常督查");
59
+                }
51
 
60
 
52
                 // 转换机构
61
                 // 转换机构
53
                 if (StringUtils.isNotEmpty(taIssue.getOrgId())) {
62
                 if (StringUtils.isNotEmpty(taIssue.getOrgId())) {

+ 1
- 0
src/main/java/com/example/civilizedcity/controller/TaIssueController.java View File

151
 
151
 
152
         queryWrapper.eq(StringUtils.isNotEmpty(locId), "loc_id", locId);
152
         queryWrapper.eq(StringUtils.isNotEmpty(locId), "loc_id", locId);
153
         queryWrapper.eq(StringUtils.isNotEmpty(orgId), "org_id", orgId);
153
         queryWrapper.eq(StringUtils.isNotEmpty(orgId), "org_id", orgId);
154
+        queryWrapper.eq(StringUtils.isNotEmpty(sourceType), "source_type", sourceType);
154
         queryWrapper.like(StringUtils.isNotEmpty(userName), "user_name", userName);
155
         queryWrapper.like(StringUtils.isNotEmpty(userName), "user_name", userName);
155
         queryWrapper.between(null != createDateStart, "create_date", createDateStart, createDateEnd);
156
         queryWrapper.between(null != createDateStart, "create_date", createDateStart, createDateEnd);
156
         queryWrapper.between(null != endDateStart, "end_date", endDateStart, endDateEnd);
157
         queryWrapper.between(null != endDateStart, "end_date", endDateStart, endDateEnd);

+ 4
- 0
src/main/java/com/example/civilizedcity/entity/TaCheckItem.java View File

87
     @ApiModelProperty(name = "拷贝来源",notes = "")
87
     @ApiModelProperty(name = "拷贝来源",notes = "")
88
     private String copyFrom ;
88
     private String copyFrom ;
89
 
89
 
90
+    /** 文明用语 */
91
+    @ApiModelProperty(name = "文明用语",notes = "")
92
+    private String cultureTerm ;
93
+
90
     @TableField(exist = false)
94
     @TableField(exist = false)
91
     @ApiModelProperty(name = "是否只读, 只读代表不需要答题")
95
     @ApiModelProperty(name = "是否只读, 只读代表不需要答题")
92
     private Integer answerNum;
96
     private Integer answerNum;

+ 8
- 2
src/main/java/com/example/civilizedcity/entity/TaIssue.java View File

104
     @ApiModelProperty(name = "责任单位", notes = "")
104
     @ApiModelProperty(name = "责任单位", notes = "")
105
     private String orgId;
105
     private String orgId;
106
 
106
 
107
-    @ExcelIgnore
108
-    @ApiModelProperty(name = "来源类型", notes = "feedback市民上报,check模拟测评")
107
+    @ColumnWidth(30)
108
+    @ExcelProperty(value = "责任单位", index = 9)
109
+    @ApiModelProperty(name = "来源类型", notes = "check 模拟测评  feedback 市民上报  inspector 督查员上报")
109
     private String sourceType;
110
     private String sourceType;
110
 
111
 
111
     @ExcelIgnore
112
     @ExcelIgnore
144
     @ApiModelProperty(name = "上报人身份", notes = "")
145
     @ApiModelProperty(name = "上报人身份", notes = "")
145
     private String userDuty;
146
     private String userDuty;
146
 
147
 
148
+
149
+
147
     @ColumnWidth(30)
150
     @ColumnWidth(30)
148
     @ExcelProperty(value = "上报日期", index = 1, converter = LocalDateTimeConverter.class)
151
     @ExcelProperty(value = "上报日期", index = 1, converter = LocalDateTimeConverter.class)
149
     @ApiModelProperty(name = "创建时间", notes = "")
152
     @ApiModelProperty(name = "创建时间", notes = "")
161
     @TableField(exist = false)
164
     @TableField(exist = false)
162
     @ApiModelProperty(name = "文件列表", notes = "")
165
     @ApiModelProperty(name = "文件列表", notes = "")
163
     private List<TaAttach> attachList;
166
     private List<TaAttach> attachList;
167
+
168
+
169
+
164
 }
170
 }

+ 5
- 0
src/main/java/com/example/civilizedcity/vo/IssueExport.java View File

33
     @ApiModelProperty(name = "问题类型", notes = "")
33
     @ApiModelProperty(name = "问题类型", notes = "")
34
     private String typeName;
34
     private String typeName;
35
 
35
 
36
+    @ColumnWidth(24)
37
+    @ExcelProperty(value = "问题来源")
38
+    @ApiModelProperty(name = "问题来源", notes = "check 模拟测评  feedback 市民上报  inspector 督查员上报")
39
+    private String sourceType;
40
+
36
     @ColumnWidth(30)
41
     @ColumnWidth(30)
37
     @ExcelProperty(value = "上报日期", converter = LocalDateTimeConverter.class)
42
     @ExcelProperty(value = "上报日期", converter = LocalDateTimeConverter.class)
38
     @ApiModelProperty(name = "创建时间", notes = "")
43
     @ApiModelProperty(name = "创建时间", notes = "")