李旭东
2023-10-23 37bff611a02107e151a7a9f82b624caff9c7005b
hd/pipe/materialsManage/src/main/resources/mapping/THelmetDeviceMapper.xml
@@ -547,6 +547,9 @@
         sm_time as smTime
         from t_helmet_report where
        user_id=#{userId}
      <if test="strTime!=null and strTime!='' and endTime!=null and endTime!='' ">
        and sm_time between #{strTime} and #{endTime}
      </if>
        order by sm_time desc
  </select>