浏览代码

提交代码

zyf 2 年之前
父节点
当前提交
16b794ef4c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/resources/com/steerinfo/dil/mapper/BmstruckDetailsOrderMapper.xml

+ 1 - 1
src/main/resources/com/steerinfo/dil/mapper/BmstruckDetailsOrderMapper.xml

@@ -2039,7 +2039,7 @@
                 <if test="preparationDate!= null">
                     and
                     <foreach collection="preparationDate" item="item" open="(" separator="or" close=")">
-                        "preparationDate" like '%${item}%'
+                        to_char("preparationDate",'yyyy-mm-dd hh24:mi:ss') like '%${item}%'
                     </foreach>
                 </if>
             <if test="carrierName!= null">