wangxx hai 2 semanas
pai
achega
54a8f198f8

+ 3 - 3
airport-ledger/src/main/java/com/sundot/airport/ledger/domain/LedgerSupervisionProblem.java

@@ -40,7 +40,7 @@ public class LedgerSupervisionProblem extends BaseEntity {
40 40
     private Long areaId;
41 41
 
42 42
     @Excel(name = "巡查人员")
43
-    private String patrolPersonnel;
43
+    private String inspectorName;
44 44
 
45 45
     @Excel(name = "责任人")
46 46
     private String inspectedName;
@@ -132,8 +132,8 @@ public class LedgerSupervisionProblem extends BaseEntity {
132 132
     public Long getAreaId() { return areaId; }
133 133
     public void setAreaId(Long areaId) { this.areaId = areaId; }
134 134
 
135
-    public String getPatrolPersonnel() { return patrolPersonnel; }
136
-    public void setPatrolPersonnel(String patrolPersonnel) { this.patrolPersonnel = patrolPersonnel; }
135
+    public String getInspectorName() { return inspectorName; }
136
+    public void setInspectorName(String inspectorName) { this.inspectorName = inspectorName; }
137 137
 
138 138
     public String getInspectedName() { return inspectedName; }
139 139
     public void setInspectedName(String inspectedName) { this.inspectedName = inspectedName; }

+ 1 - 2
airport-ledger/src/main/java/com/sundot/airport/ledger/service/impl/LedgerCombinedImportServiceImpl.java

@@ -103,7 +103,6 @@ public class LedgerCombinedImportServiceImpl implements ILedgerCombinedImportSer
103 103
     // ════════════════════════════════════════════════════════════════
104 104
 
105 105
     @Override
106
-    @Transactional(rollbackFor = Exception.class)
107 106
     public Map<String, String> importAll(MultipartFile file, String batchNo, String username) throws Exception {
108 107
         Map<String, String> result = new LinkedHashMap<>();
109 108
         try (Workbook wb = WorkbookFactory.create(file.getInputStream())) {
@@ -186,7 +185,7 @@ public class LedgerCombinedImportServiceImpl implements ILedgerCombinedImportSer
186 185
             o.setEvidenceFile(str(c, 10));      // 附件
187 186
             o.setRectificationStatus(str(c, 11)); // 整改情况
188 187
             o.setRectificationEvidence(str(c, 12)); // 整改佐证材料
189
-            o.setPatrolPersonnel(str(c, 13));    // 巡查人员
188
+            o.setInspectorName(str(c, 13));    // 巡查人员
190 189
 
191 190
             // 根据责任人名称查找组织ID和名称
192 191
             if (inspectedName != null && !inspectedName.trim().isEmpty()) {

+ 1 - 1
airport-ledger/src/main/resources/mapper/ledger/LedgerSupervisionProblemMapper.xml

@@ -12,7 +12,7 @@
12 12
         <result property="groupName"              column="group_name"       />
13 13
         <result property="groupId"                column="group_id"         />
14 14
         <result property="areaId"                 column="area_id"          />
15
-        <result property="patrolPersonnel"        column="inspector_name"   />
15
+        <result property="inspectorName"          column="inspector_name"   />
16 16
         <result property="inspectedName"          column="inspected_name"   />
17 17
         <result property="inspectedId"            column="inspected_id"     />
18 18
         <result property="problemType"            column="problem_type"     />

+ 3 - 3
airport-ledger/src/main/resources/mapper/ledger/LedgerWarningMapper.xml

@@ -121,10 +121,10 @@
121 121
         <if test="groupId != null">and group_id = #{groupId}</if>
122 122
         <if test="userId != null">and person_id = #{userId}</if>
123 123
         <if test="startDate != null">
124
-            and approve_date >= #{startDate}
124
+            and score_date >= #{startDate}
125 125
         </if>
126 126
         <if test="endDate != null">
127
-            and approve_date <![CDATA[ < ]]> date_add(#{endDate} , interval 1 day)
127
+            and score_date <![CDATA[ < ]]> date_add(#{endDate} , interval 1 day)
128 128
         </if>
129 129
     </select>
130 130
 
@@ -199,4 +199,4 @@
199 199
         <!--        </if>-->
200 200
     </select>
201 201
 
202
-</mapper>
202
+</mapper>