xiaoyong931011
2022-09-01 2ecf227c03df1345d9b95180f505cf0026074c9e
src/main/resources/mapper/modules/MallLeaderAchieveMapper.xml
@@ -15,7 +15,7 @@
    <update id="updateByUniqueCodeStateAndTime">
        update mall_leader_achieve
        set state = 2,
            UPDATED_TIME = new Date()
            UPDATED_TIME = #{updateTime}
        where unique_code = #{uniqueCode}
        and state = 1
        and date_format(CREATED_TIME, '%Y-%m-%d') = date_format(#{offsetDay}, '%Y-%m-%d')