Sfoglia il codice sorgente

是否撤泵修改为默认条件只返回未撤泵数据

wangzl 3 mesi fa
parent
commit
da9ea3757e

+ 0 - 2
pump-web/src/main/java/com/tuoren/web/layer/vo/PumpNewParam.java

@@ -80,8 +80,6 @@ public class PumpNewParam {
 
     @ApiModelProperty(value = "提示",hidden = true)
     private List<String> tipList;
-    @ApiModelProperty(value = "是否撤泵,0 已撤泵 1未撤泵")
-    private Boolean isRemove;
 
     public void setTimeRange(List<String> timeRange) {
         this.timeRange = new ArrayList<>();

+ 1 - 3
pump-web/src/main/resources/mapper/BusPumpEntityMapper.xml

@@ -372,9 +372,7 @@
                     #{item}
                 </foreach>
             </if>
-            <if test="pumpParam.isRemove != null">
-                AND result.is_remove = #{pumpParam.isRemove}
-            </if>
+            AND result.is_remove = true
         </where>
         <if test="pumpParam.sort != null and !pumpParam.sort ">
             ORDER BY result.patientInfoBedNo asc