张磊磊
2023-10-23 f42817fecb4aee5bdbab8d774abeef90a6af3d76
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>