魏熙美 6 år sedan
förälder
incheckning
31acbbd957
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1
    1
      src/main/resources/mapper/TaCarRecordMapper.xml

+ 1
- 1
src/main/resources/mapper/TaCarRecordMapper.xml Visa fil

@@ -16,7 +16,7 @@
16 16
                   and tc.phone like concat('%', #{phone}, '%')
17 17
               </if>
18 18
               <if test="recordDate != null">
19
-                  and DATE_FORMAT( tcr.create_date, 'yyyy-MM-dd' ) = DATE_FORMAT(#{recordDate}, 'yyyy-MM-dd' )
19
+                  and DATE_FORMAT( tcr.create_date, '%Y-%m-%d' ) = DATE_FORMAT(#{recordDate}, '%Y-%m-%d' )
20 20
               </if>
21 21
           </trim>
22 22
       </where>