huanghongfa
2021-01-11 0273c333ed5c86822be1f56623e3e6bab90ec2f7
springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/ComActDynDAO.java
@@ -9,6 +9,7 @@
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;
/**
 * @program: springcloud_k8s_panzhihuazhihuishequ
@@ -50,4 +51,6 @@
            " order by d.is_topping desc, d.create_at desc "+
            "</script>")
    IPage<ComActDynVO> pageDynamic(Page page, @Param("comActDynVO") ComActDynVO comActDynVO);
    @Update("update com_act_dyn set `status`=1 WHERE `status`=0 and DATEDIFF(SYSDATE(),publish_at)>=0")
    int timedTaskDynStatus();
}