Merge branch 'local_20221024' into huacheng_test
| | |
| | | @ApiModelProperty("是否注册小程序(1.是 0.否)") |
| | | private Integer isRegister; |
| | | |
| | | @ApiModelProperty(value = "农行账号集合") |
| | | private String[] accounts; |
| | | @ApiModelProperty(value = "农行单位id集合") |
| | | private Long[] ids; |
| | | |
| | | } |
| | |
| | | public R pagePartyOrganization(@RequestBody PagePartyOrganizationVO pagePartyOrganizationVO) { |
| | | //pagePartyOrganizationVO.setCommunityId(this.getCommunityId()); |
| | | String[] area={"东区","仁和区","米易县","盐边县","西区","钒钛高新区"}; |
| | | String[] accounts = {"NXPZHFXB","NXPZHBCG","NXPZHFXY","NHPZHBCG","NXPZHDFF","NXPZHXYL","NHPZHXYL","NXPZHGZP","NXPZHZSZ","NXYBZGFL","NXPZHDSJ","NXPZHPJF", |
| | | "NXPZHJBF","NXPZHRHZ","NHPZHRHZ","NXPZHQDF","NXPZHDHZ","NXPZHYHF","NXMYXZXB","NXMYXZXY","NXMYCGFL","NXMYHXFL","NXYBXZXB","NXYBXZXY","NXYBANFL","NXYBHGFL","NXYBYMZX","NXPZHJJF"}; |
| | | Long[] ids = {1584725574201409537L,1584725574771834881L,1584725575031881730L,1584725575593918466L, |
| | | 1584725576118206466L,1584725576416002050L,1584725576667660289L,1584725576952872961L,1584725577238085633L, |
| | | 1584725577854648322L,1584725578626400258L,1584725579213602817L,1584725579867914241L,1584725580505448449L, |
| | | 1584725580815826946L,1584725581386252289L,1584725581671464962L,1584726087093485569L,1584726087433224193L, |
| | | 1584726088058175490L,1584726088880259073L,1584726089442295809L,1584726091128406018L,1584726091694637058L, |
| | | 1584726092537692162L,1584726093053591554L,1584726093779206146L,1584726094655815681L}; |
| | | LoginUserInfoVO loginUserInfo = this.getLoginUserInfo(); |
| | | if(ArrayUtil.contains(area, loginUserInfo.getName())){ |
| | | pagePartyOrganizationVO.setBelongTo(loginUserInfo.getName()); |
| | |
| | | pagePartyOrganizationVO.setCheckUnitId(loginUserInfo.getBindingCheckUnitId()); |
| | | } |
| | | if ("PZHZGNYYH".equals(loginUserInfo.getAccount())){ |
| | | pagePartyOrganizationVO.setAccounts(accounts); |
| | | pagePartyOrganizationVO.setIds(ids); |
| | | } |
| | | return partyBuildingService.pagePartyOrganization(pagePartyOrganizationVO); |
| | | } |
| | |
| | | <if test='dto.account != null and dto.account != ""'> |
| | | and su.account like concat (#{dto.account},'%') |
| | | </if> |
| | | <if test="dto.accounts != null and dto.accounts.length != 0"> |
| | | and su.account IN |
| | | <foreach collection="dto.accounts" item="item" open="(" separator="," close=")"> |
| | | <if test="dto.ids != null and dto.ids.length != 0"> |
| | | and cpcu.id IN |
| | | <foreach collection="dto.ids" item="item" open="(" separator="," close=")"> |
| | | #{item} |
| | | </foreach> |
| | | </if> |