| | |
| | | import com.java110.core.annotation.Java110Cmd; |
| | | import com.java110.core.annotation.Java110Transactional; |
| | | import com.java110.core.context.ICmdDataFlowContext; |
| | | import com.java110.core.event.cmd.AbstractServiceCmdListener; |
| | | import com.java110.core.event.cmd.Cmd; |
| | | import com.java110.core.event.cmd.CmdEvent; |
| | | import com.java110.core.factory.GenerateCodeFactory; |
| | | import com.java110.dto.workflow.WorkflowDto; |
| | | import com.java110.intf.common.IWorkflowV1InnerServiceSMO; |
| | | import com.java110.intf.community.ICommunityV1InnerServiceSMO; |
| | | import com.java110.po.workflow.WorkflowPo; |
| | | import com.java110.utils.constant.BusinessTypeConstant; |
| | | import com.java110.utils.exception.CmdException; |
| | | import com.java110.utils.util.Assert; |
| | | import com.java110.vo.ResultVo; |
| | | import org.slf4j.Logger; |
| | | import org.slf4j.LoggerFactory; |
| | | import com.java110.core.log.LoggerFactory; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | |
| | | /** |
| | |
| | | * // modify by 张三 at 2021-09-12 第10行在某种场景下存在某种bug 需要修复,注释10至20行 加入 20行至30行 |
| | | */ |
| | | @Java110Cmd(serviceCode = "community.saveCommunity") |
| | | public class SaveCommunityCmd extends AbstractServiceCmdListener { |
| | | public class SaveCommunityCmd extends Cmd { |
| | | |
| | | private static Logger logger = LoggerFactory.getLogger(SaveCommunityCmd.class); |
| | | |
| | |
| | | public void doCmd(CmdEvent event, ICmdDataFlowContext cmdDataFlowContext, JSONObject reqJson) throws CmdException { |
| | | communityBMOImpl.addCommunity(reqJson, cmdDataFlowContext); |
| | | communityBMOImpl.addCommunityMembers(reqJson, cmdDataFlowContext); |
| | | //产生物业费配置信息 |
| | | communityBMOImpl.addFeeConfigProperty(reqJson, cmdDataFlowContext); |
| | | //产生物业费配置信息 不要产生默认费 |
| | | //communityBMOImpl.addFeeConfigProperty(reqJson, cmdDataFlowContext); |
| | | communityBMOImpl.addFeeConfigRepair(reqJson, cmdDataFlowContext); // 报修费用 |
| | | communityBMOImpl.addFeeConfigParkingSpaceTemp(reqJson, cmdDataFlowContext);//地下出租 |
| | | |