叶松
2023-10-26 aefd598cc1ced37ff2cfed2b529dbf10bea7554c
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>