|
|
|
@@ -8,6 +8,7 @@ import com.iformall.domain.vo.WxRentPropertyContractVo; |
|
|
|
import com.iformall.enums.EnumContractOperationType; |
|
|
|
import com.iformall.enums.EnumFlowContractType; |
|
|
|
import com.iformall.enums.EnumFlowKey; |
|
|
|
import com.iformall.enums.EnumRentAgileType; |
|
|
|
import com.iformall.enums.EnumRentShopType; |
|
|
|
import com.iformall.service.WxFlowService; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
@@ -25,7 +26,7 @@ public class WxContractBaseController extends BaseController{ |
|
|
|
@Autowired |
|
|
|
private WxFlowService wxFlowService; |
|
|
|
|
|
|
|
protected Map<String,Object> generateFlowParams(EnumFlowKey flowType,EnumFlowContractType contractType,String remark,Long contractId,Long wholeProperyId) { |
|
|
|
protected Map<String,Object> generateFlowParams(EnumFlowKey flowType,EnumFlowContractType contractType,EnumRentAgileType agileType,String remark,Long contractId,Long wholeProperyId) { |
|
|
|
Map<String,Object> map = new HashMap<String,Object>(); |
|
|
|
map.put("businessType", flowType.getCode()); |
|
|
|
map.put("remark", remark); |
|
|
|
@@ -52,6 +53,13 @@ public class WxContractBaseController extends BaseController{ |
|
|
|
} |
|
|
|
variablesList.add(contractNumberMap); |
|
|
|
|
|
|
|
if (null != agileType) { |
|
|
|
Map agileTypeMap = new HashMap<String,Object>(); |
|
|
|
agileTypeMap.put("key","agileType"); |
|
|
|
agileTypeMap.put("value",String.valueOf(agileType.getCode())); |
|
|
|
variablesList.add(agileTypeMap); |
|
|
|
} |
|
|
|
|
|
|
|
map.put("variables", variablesList); |
|
|
|
return map; |
|
|
|
} |
|
|
|
|