Explorar o código

add
定时补偿

18339543638 hai 1 ano
pai
achega
5e9b3fb5cc

+ 1 - 1
nb-service/web-service/src/main/java/com/nb/web/service/bus/service/dto/ClinicQuery.java

@@ -39,7 +39,7 @@ public class ClinicQuery implements Serializable {
     private String bedNo;
 
     @ApiModelProperty("开始时间区间")
-    private List<Date>  timeRange;
+    private List<Date>  startTimeRange;
 
     @ApiModelProperty("是否结束")
     private Integer finished;

+ 4 - 4
nb-service/web-service/src/main/resources/mapper/bus/BusClinicMapper.xml

@@ -141,8 +141,8 @@
             <if test="query.bedNo!=null and query.bedNo!=''">
                 and c.bed_no like concat('%',#{query.bedNo},'%')
             </if>
-            <if test="query.timeRange != null and query.timeRange.size >0">
-                and c.monitor_start_time &gt; #{query.timeRange[0]} and  c.monitor_start_time &lt; #{query.timeRange[1]}
+            <if test="query.startTimeRange != null and query.startTimeRange.size >0">
+                and c.monitor_start_time &gt; #{query.startTimeRange[0]} and  c.monitor_start_time &lt; #{query.startTimeRange[1]}
             </if>
             <if test="query.patientCode!=null and query.patientCode!=''">
                 and c.patient_code like concat('%',#{query.patientCode},'%')
@@ -216,8 +216,8 @@
             <if test="query.bedNo!=null">
                 and bed_no like concat('%',#{query.bedNo},'%')
             </if>
-            <if test="query.timeRange != null and query.timeRange.size >0">
-                and monitor_start_time &gt; #{query.timeRange[0]} and  monitor_start_time &lt; #{query.timeRange[1]}
+            <if test="query.startTimeRange != null and query.startTimeRange.size >0">
+                and monitor_start_time &gt; #{query.startTimeRange[0]} and  monitor_start_time &lt; #{query.startTimeRange[1]}
             </if>
         </where>
         ) as c on p.clinic_id=c.id