Ver código fonte

Merge branch 'master' of http://47.100.37.243:10080/ZHOU/yunsu

sunyadv 5 anos atrás
pai
commit
4c9e000f5b

+ 1 - 0
cloud-model/src/main/resources/mapper/MouldHistoryTimeMapper.xml

@@ -37,6 +37,7 @@
                 between concat(#{startTime},' 00:00:00') and
                 concat(#{endTime},' 23:59:59')
             </if>
+            and time_cost &gt; 0
         </where>
     </select>
 </mapper>

+ 2 - 0
cloud-model/src/main/resources/mapper/MouldMapper.xml

@@ -126,6 +126,7 @@
             <if test="userVO.type == 0">
                 AND tbm.equipment_id is not null
                 AND tbm.state != 4
+                AND tbm.project_id is not null
             </if>
             <if test="userVO.mouleMap == -1">
                 AND tbmp.lng IS NOT NULL and tbmp.lat IS NOT NULL
@@ -172,6 +173,7 @@
             <if test="userVO.type == 0">
                 AND tbm.equipment_id is not null
                 AND tbm.state != 4
+                AND tbm.project_id is not null
             </if>
             AND tbm.project_id in
             <foreach item="item" index="index" collection="list"

+ 2 - 0
target/classes/main/resources/mapper/MouldMapper.xml

@@ -126,6 +126,7 @@
             <if test="userVO.type == 0">
                 AND tbm.equipment_id is not null
                 AND tbm.state != 4
+                AND tbm.project_id is not null
             </if>
             <if test="userVO.mouleMap == -1">
                 AND tbmp.lng IS NOT NULL and tbmp.lat IS NOT NULL
@@ -172,6 +173,7 @@
             <if test="userVO.type == 0">
                 AND tbm.equipment_id is not null
                 AND tbm.state != 4
+                AND tbm.project_id is not null
             </if>
             AND tbm.project_id in
             <foreach item="item" index="index" collection="list"