| @@ -51,13 +51,23 @@ public class WxContractBaseController extends BaseController{ | |||||
| return map; | return map; | ||||
| } | } | ||||
| /** | |||||
| * 租金+物业 跟着租金一起走 | |||||
| * @param rpvo | |||||
| * @return | |||||
| */ | |||||
| protected boolean rentPropertyHasWorkFlow(WxRentPropertyContractVo rpvo) { | protected boolean rentPropertyHasWorkFlow(WxRentPropertyContractVo rpvo) { | ||||
| WxFlowModel wxFlowModel = new WxFlowModel(); | WxFlowModel wxFlowModel = new WxFlowModel(); | ||||
| if (rpvo.getRentShopType().intValue() == EnumRentShopType.SHOP.getCode().intValue()) { | |||||
| wxFlowModel.setFlowType(EnumFlowKey.NNEW_RENT_CONTRACT.getCode()); | |||||
| }else if (rpvo.getRentShopType().intValue() == EnumRentShopType.POINT.getCode().intValue()) { | |||||
| wxFlowModel.setFlowType(EnumFlowKey.NEW_RENT_POINT_CONTRACT.getCode()); | |||||
| } | |||||
| // if (rpvo.getRentShopType().intValue() == EnumRentShopType.SHOP.getCode().intValue()) { | |||||
| // wxFlowModel.setFlowType(EnumFlowKey.NNEW_RENT_CONTRACT.getCode()); | |||||
| // }else if (rpvo.getRentShopType().intValue() == EnumRentShopType.POINT.getCode().intValue()) { | |||||
| // wxFlowModel.setFlowType(EnumFlowKey.NEW_RENT_POINT_CONTRACT.getCode()); | |||||
| // } | |||||
| if (rpvo.getRentShopType().intValue() == EnumRentShopType.SHOP.getCode().intValue()) { | |||||
| wxFlowModel.setFlowType(EnumFlowKey.NNEW_RENT_CONTRACT.getCode()); | |||||
| }else if (rpvo.getRentShopType().intValue() == EnumRentShopType.POINT.getCode().intValue()) { | |||||
| wxFlowModel.setFlowType(EnumFlowKey.NEW_RENT_POINT_CONTRACT.getCode()); | |||||
| } | |||||
| wxFlowModel.updateTenantInfo(rpvo); | wxFlowModel.updateTenantInfo(rpvo); | ||||
| List<WxFlowModel> flows = wxFlowService.getModelBybusiness(wxFlowModel); | List<WxFlowModel> flows = wxFlowService.getModelBybusiness(wxFlowModel); | ||||
| if (null != flows && flows.size() > 0) { | if (null != flows && flows.size() > 0) { | ||||