mitao
2025-05-20 179c4d64313c9b7572778da4aaaf6c6584fe457d
springcloud_k8s_panzhihuazhihuishequ/service_partybuilding/src/main/java/com/panzhihua/service_dangjian/dao/ComPbDynDAO.java
@@ -19,19 +19,28 @@
 **/
@Mapper
public interface ComPbDynDAO extends BaseMapper<ComPbDynDO> {
     @Select("<script> " +
     " <where>" +
     "<if test='nameCn != null and nameCn.trim() != &quot;&quot;'>" +
     " </if> " +
     "<if test='nameCn != null and nameCn.trim() != &quot;&quot;'>" +
     " </if> " +
     "<if test='nameCn != null and nameCn.trim() != &quot;&quot;'>" +
     " </if> " +
     " </where>" +
     "</script>")
//     @Select("<script> " +
//     " <where>" +
//     "<if test='nameCn != null and nameCn.trim() != &quot;&quot;'>" +
//     " </if> " +
//     "<if test='nameCn != null and nameCn.trim() != &quot;&quot;'>" +
//     " </if> " +
//     "<if test='nameCn != null and nameCn.trim() != &quot;&quot;'>" +
//     " </if> " +
//     " </where>" +
//     "</script>")
    IPage<PartyBuildingComPbDynVO> pageYnamic(Page page,
        @Param("partyBuildingComPbDynVO") PartyBuildingComPbDynVO partyBuildingComPbDynVO);
    IPage<com.panzhihua.common.model.vos.partybuilding.PartyBuildingComPbDynVO> pageYnamics(Page page,
                         @Param("partyBuildingComPbDynVO") com.panzhihua.common.model.vos.partybuilding.PartyBuildingComPbDynVO partyBuildingComPbDynVO);
    @Update("update com_pb_dyn set `status`=2  WHERE `status`=1 and TIMESTAMPDIFF(MINUTE,SYSDATE(),publish_at)<=0")
    int timedTaskPartyBuildingStatus();