|
|
|
@ -14,7 +14,7 @@
|
|
|
|
|
<if test="subOption == 'perfect'"> = </if>
|
|
|
|
|
<if test="subOption == 'part'"> LIKE CONCAT('%',</if>
|
|
|
|
|
</if>
|
|
|
|
|
<if test="mainOption == 'ymd'">,1,8) = REPLACE(</if>
|
|
|
|
|
<if test="mainOption == 'ymd'">,1,8) = REPLACE(REPLACE(REPLACE(</if>
|
|
|
|
|
</sql>
|
|
|
|
|
|
|
|
|
|
<sql id="end">
|
|
|
|
@ -23,7 +23,7 @@
|
|
|
|
|
<if test="subOption == 'perfect'"></if>
|
|
|
|
|
<if test="subOption == 'part'">, '%')</if>
|
|
|
|
|
</if>
|
|
|
|
|
<if test="mainOption == 'ymd'">,'-','')</if>
|
|
|
|
|
<if test="mainOption == 'ymd'">,'-',''),'/',''),'.','')</if>
|
|
|
|
|
</sql>
|
|
|
|
|
|
|
|
|
|
</mapper>
|