温红权 7 лет назад
Родитель
Сommit
4285c378f4

+ 3 - 3
VisualInspection/js/other_check/other_check.js

@@ -507,9 +507,9 @@ function setPersonal(selectUserId) {
                 userId = selectUserId;
             }
             // console.log(data);
-            if (check_type != 2) {
-                tempStr += "<option value=0>收费站</option>";
-            }
+            // if (check_type != 2) {
+            tempStr += "<option value=0>收费站</option>";
+            // }
             for (var i = 0; i < data.length; i++) {
                 // for (var j = 33; j <= 53; j++) {
                 // if (select_road == j) {

+ 2 - 2
VisualInspection_server/src/main/java/com/xintong/visualinspection/mapper/master/StatisticsMapper.xml

@@ -302,9 +302,9 @@
         WHERE
         o.check_type = #{check_type}
 
-        <if test="check_type!=2 ">
+        <!--<if test="check_type!=2 ">-->
             AND user_id = 0
-        </if>
+        <!--</if>-->
 
         <if test="start_date!=null and end_date != null">
             AND o.check_time &gt;= #{start_date} AND o.check_time &lt; #{end_date}