| | |
| | | @Java110Cmd(serviceCode = "roleCommunity.updateRoleCommunity") |
| | | public class UpdateRoleCommunityCmd extends Cmd { |
| | | |
| | | private static Logger logger = LoggerFactory.getLogger(UpdateRoleCommunityCmd.class); |
| | | private static Logger logger = LoggerFactory.getLogger(UpdateRoleCommunityCmd.class); |
| | | |
| | | |
| | | @Autowired |
| | |
| | | @Override |
| | | public void validate(CmdEvent event, ICmdDataFlowContext cmdDataFlowContext, JSONObject reqJson) { |
| | | Assert.hasKeyAndValue(reqJson, "rcId", "rcId不能为空"); |
| | | Assert.hasKeyAndValue(reqJson, "communityId", "communityId不能为空"); |
| | | Assert.hasKeyAndValue(reqJson, "communityId", "communityId不能为空"); |
| | | |
| | | } |
| | | |
| | |
| | | @Java110Transactional |
| | | public void doCmd(CmdEvent event, ICmdDataFlowContext cmdDataFlowContext, JSONObject reqJson) throws CmdException { |
| | | |
| | | RoleCommunityPo roleCommunityPo = BeanConvertUtil.covertBean(reqJson, RoleCommunityPo.class); |
| | | RoleCommunityPo roleCommunityPo = BeanConvertUtil.covertBean(reqJson, RoleCommunityPo.class); |
| | | int flag = roleCommunityV1InnerServiceSMOImpl.updateRoleCommunity(roleCommunityPo); |
| | | |
| | | if (flag < 1) { |