|
|
@@ -40,8 +40,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="approverUserId != null "> and approver_user_id = #{approverUserId}</if>
|
|
|
<if test="approvalRemark != null and approvalRemark != ''"> and approval_remark = #{approvalRemark}</if>
|
|
|
<if test="processedAt != null "> and processed_at = #{processedAt}</if>
|
|
|
- <if test="createdAt != null "> and created_at = #{createdAt}</if>
|
|
|
- <if test="updatedAt != null "> and updated_at = #{updatedAt}</if>
|
|
|
+ <if test="createdAt != null "> and date_format(created_at,'%y%m%d') = date_format(#{createdAt},'%y%m%d')</if>
|
|
|
+ <if test="updatedAt != null "> and date_format(updated_at,'%y%m%d') = date_format(#{updatedAt},'%y%m%d')</if>
|
|
|
</where>
|
|
|
order by id desc
|
|
|
</select>
|