| | |
| | | **/ |
| | | @Mapper |
| | | public interface ComPbDynDAO extends BaseMapper<ComPbDynDO> { |
| | | @Select("<script> " + |
| | | " <where>" + |
| | | "<if test='nameCn != null and nameCn.trim() != ""'>" + |
| | | " </if> " + |
| | | "<if test='nameCn != null and nameCn.trim() != ""'>" + |
| | | " </if> " + |
| | | "<if test='nameCn != null and nameCn.trim() != ""'>" + |
| | | " </if> " + |
| | | " </where>" + |
| | | "</script>") |
| | | // @Select("<script> " + |
| | | // " <where>" + |
| | | // "<if test='nameCn != null and nameCn.trim() != ""'>" + |
| | | // " </if> " + |
| | | // "<if test='nameCn != null and nameCn.trim() != ""'>" + |
| | | // " </if> " + |
| | | // "<if test='nameCn != null and nameCn.trim() != ""'>" + |
| | | // " </if> " + |
| | | // " </where>" + |
| | | // "</script>") |
| | | |
| | | @Select("<script> " +"SELECT * FROM com_pb_dyn where community_id in (${partyBuildingComPbDynVO.communityIds})" +"</script>") |
| | | IPage<PartyBuildingComPbDynVO> pageYnamic(Page page, |
| | | @Param("partyBuildingComPbDynVO") PartyBuildingComPbDynVO partyBuildingComPbDynVO); |
| | | |