Przeglądaj źródła

Merge branch 'master' of http://101.36.160.140:21044/depot-tianjin/depot-storage-tianjin

renyu 3 lat temu
rodzic
commit
527e67d88b

+ 1 - 0
src/main/java/com/chinaitop/depot/risk/controller/ViolationWarningAlarmController.java

@@ -103,6 +103,7 @@ public class ViolationWarningAlarmController {
103 103
                     violationWarningAlarm.setCurrentStatus(1);
104 104
                 }
105 105
                 violationWarningAlarmService.updateDate(violationWarningAlarm);
106
+                return ResponseEntity.ok();
106 107
             }
107 108
         } catch (Exception e) {
108 109
             e.printStackTrace();

+ 7 - 1
src/main/java/com/chinaitop/depot/risk/mapper/ViolationWarningAlarmMapper.xml

@@ -10,6 +10,7 @@
10 10
         <result column="detail" property="violationDetail" jdbcType="VARCHAR"/>
11 11
         <result column="disposer" property="disposer" jdbcType="VARCHAR"/>
12 12
         <result column="dispose_content" property="disposeContent" jdbcType="VARCHAR"/>
13
+        <result column="dispose_time" property="disposeTime" jdbcType="VARCHAR"/>
13 14
         <result column="subject_type" property="violationSubjectType" jdbcType="VARCHAR"/>
14 15
         <result column="status" property="currentStatus" jdbcType="INTEGER"/>
15 16
         <result column="org_id" property="orgId" jdbcType="INTEGER"/>
@@ -27,6 +28,7 @@
27 28
         detail as violationDetail,
28 29
         disposer as disposer,
29 30
         dispose_content as disposeContent,
31
+        dispose_time as disposeTime,
30 32
         subject_type as violationSubjectType,
31 33
         status as currentStatus,
32 34
         org_id as orgId,
@@ -77,6 +79,7 @@
77 79
         detail ,
78 80
         disposer ,
79 81
         dispose_content,
82
+        dispose_time,
80 83
         subject_type ,
81 84
         status ,
82 85
         org_id ,
@@ -100,7 +103,7 @@
100 103
                 library_point_name = #{involvingLibraryPoints,jdbcType=VARCHAR},
101 104
             </if>
102 105
             <if test="violationType != null">
103
-                "type" = #{violationType,jdbcType=VARCHAR},
106
+                violation_type = #{violationType,jdbcType=VARCHAR},
104 107
             </if>
105 108
             <if test="violationDetail != null">
106 109
                 detail = #{violationDetail,jdbcType=INTEGER},
@@ -111,6 +114,9 @@
111 114
             <if test="disposeContent != null">
112 115
                 dispose_content = #{disposeContent,jdbcType=VARCHAR},
113 116
             </if>
117
+            <if test="disposeTime != null">
118
+                dispose_time = #{disposeTime,jdbcType=VARCHAR},
119
+            </if>
114 120
             <if test="violationSubjectType != null">
115 121
                 subject_type = #{violationSubjectType,jdbcType=VARCHAR},
116 122
             </if>