소스 검색

提交代码

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">