| | |
| | | @ApiOperation(value = "分页查询所有数据(物业公告)",response = ComActAnnouncementVO.class) |
| | | @PostMapping("queryAllProperty") |
| | | public R selectAllProperty(@RequestBody CommonPage commonPage) { |
| | | commonPage.setCommunityId(this.getCommunityId()); |
| | | //commonPage.setCommunityId(this.getCommunityId()); |
| | | commonPage.setPropertyId(userService.detailUser(this.getLoginUserInfo().getUserId()).getData().getPropertyId()); |
| | | return this.communityService.comActAnnouncementSelectAll(commonPage); |
| | | } |
| | |
| | | @PostMapping("/addPropertyAnnouncement") |
| | | public R insertProperty(@RequestBody ComActAnnouncementVO comActAnnouncementVO) { |
| | | comActAnnouncementVO.setCreateTime(new Date()); |
| | | comActAnnouncementVO.setCommunityId(this.getCommunityId()); |
| | | //comActAnnouncementVO.setCommunityId(this.getCommunityId()); |
| | | comActAnnouncementVO.setUserId(this.getUserId()); |
| | | comActAnnouncementVO.setPropertyId(userService.detailUser(this.getLoginUserInfo().getUserId()).getData().getPropertyId()); |
| | | return this.communityService.comActAnnouncementInsert(comActAnnouncementVO); |
| | |
| | | @ApiOperation(value = "新增物业服务团队人员") |
| | | @PostMapping("serviceteamProperty") |
| | | public R addServiceTeamProperty(@RequestBody @Validated(AddGroup.class) ComPbServiceTeamDTO comPbServiceTeamDTO) { |
| | | comPbServiceTeamDTO.setCommunityId(this.getCommunityId()); |
| | | //comPbServiceTeamDTO.setCommunityId(this.getCommunityId()); |
| | | comPbServiceTeamDTO.setAppid(this.getAppId()); |
| | | //获取物业id |
| | | LoginUserInfoVO loginUserInfo = this.getLoginUserInfo(); |
| | |
| | | </delete> |
| | | <insert id="insert" keyColumn="id" keyProperty="id" parameterType="com.panzhihua.service_community.entity.ComActProceedings" useGeneratedKeys="true"> |
| | | insert into com_act_proceedings (id,`name`, unit_name, unit_id, |
| | | introduce, del_flag, `status`, |
| | | introduce, del_flag, `status`, work_time, |
| | | create_time) |
| | | values (#{id},#{name,jdbcType=VARCHAR}, #{unitName,jdbcType=VARCHAR}, #{unitId,jdbcType=BIGINT}, |
| | | #{introduce,jdbcType=VARCHAR}, #{delFlag,jdbcType=BIT}, #{status,jdbcType=BIT}, |
| | | #{introduce,jdbcType=VARCHAR}, #{delFlag,jdbcType=BIT}, #{status,jdbcType=BIT}, #{workTime}, |
| | | #{createTime,jdbcType=TIMESTAMP}) |
| | | </insert> |
| | | <insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.panzhihua.service_community.entity.ComActProceedings" useGeneratedKeys="true"> |