Преглед изворни кода

[铜锣湾][修改][预账单]

release_toaliyun_real
luozukai пре 7 година
committed by Stormeye Wu
родитељ
комит
db6a9cf6bf
3 измењених фајлова са 4 додато и 2 уклоњено
  1. +2
    -2
      mallinkService/src/main/java/com/iformall/service/impl/WxFlowServiceImpl.java
  2. +1
    -0
      mallinkService/src/main/resources/mapper/WxPropertyContractMapper.xml
  3. +1
    -0
      mallinkService/src/main/resources/mapper/WxRentContractMapper.xml

+ 2
- 2
mallinkService/src/main/java/com/iformall/service/impl/WxFlowServiceImpl.java Прегледај датотеку

@@ -139,7 +139,7 @@ public class WxFlowServiceImpl implements WxFlowService {

//终止租赁合同,同时终止物业合同
Integer endProperty = (Integer)getVariableByKey(variables,"endProperty");
if(EnumEndProperty.END_RENT_AND_PROPERTY.getCode().intValue() == endProperty.intValue()){
if(endProperty!=null && EnumEndProperty.END_RENT_AND_PROPERTY.getCode().intValue() == endProperty.intValue()){
WxPropertyContract wxPropertyContract = new WxPropertyContract();
wxPropertyContract.setRentContractId(businessId);
wxPropertyContract.setStatus(EnumRentContractStatus.CONTRACT_TERMINATE.getCode());
@@ -395,7 +395,7 @@ public class WxFlowServiceImpl implements WxFlowService {
taskName = task.getName();
taskKey = task.getTaskDefinitionKey();
Map<String,Object> mapInfo = taskService.getVariables(task.getId());
Long businessId = Long.parseLong((String)mapInfo.get("businessId"));
Long businessId = Long.parseLong(mapInfo.get("businessId").toString());
Integer flowType = (Integer)mapInfo.get("flowType");
taskService.complete(taskId);



+ 1
- 0
mallinkService/src/main/resources/mapper/WxPropertyContractMapper.xml Прегледај датотеку

@@ -183,6 +183,7 @@
<update id="updateApplyStatus" parameterType="com.iformall.domain.po.WxPropertyContract">
update wx_property_contract set apply_status=#{applyStatus}
<if test=" null != businessType ">,business_type=#{businessType}</if>
<if test=" null != status ">,status=#{status}</if>
where id=#{id}
</update>



+ 1
- 0
mallinkService/src/main/resources/mapper/WxRentContractMapper.xml Прегледај датотеку

@@ -170,6 +170,7 @@
update wx_rent_contract
set apply_status=#{applyStatus}
<if test=" null != businessType ">,business_type=#{businessType}</if>
<if test=" null != status ">,status=#{status}</if>
where id=#{id}
</update>



Loading…
Откажи
Сачувај