Просмотр исходного кода

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

release_toaliyun_real
luozukai 7 лет назад
committed by Stormeye Wu
Родитель
Сommit
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"); 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 wxPropertyContract = new WxPropertyContract();
wxPropertyContract.setRentContractId(businessId); wxPropertyContract.setRentContractId(businessId);
wxPropertyContract.setStatus(EnumRentContractStatus.CONTRACT_TERMINATE.getCode()); wxPropertyContract.setStatus(EnumRentContractStatus.CONTRACT_TERMINATE.getCode());
@@ -395,7 +395,7 @@ public class WxFlowServiceImpl implements WxFlowService {
taskName = task.getName(); taskName = task.getName();
taskKey = task.getTaskDefinitionKey(); taskKey = task.getTaskDefinitionKey();
Map<String,Object> mapInfo = taskService.getVariables(task.getId()); 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"); Integer flowType = (Integer)mapInfo.get("flowType");
taskService.complete(taskId); 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 id="updateApplyStatus" parameterType="com.iformall.domain.po.WxPropertyContract">
update wx_property_contract set apply_status=#{applyStatus} update wx_property_contract set apply_status=#{applyStatus}
<if test=" null != businessType ">,business_type=#{businessType}</if> <if test=" null != businessType ">,business_type=#{businessType}</if>
<if test=" null != status ">,status=#{status}</if>
where id=#{id} where id=#{id}
</update> </update>




+ 1
- 0
mallinkService/src/main/resources/mapper/WxRentContractMapper.xml Просмотреть файл

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




Загрузка…
Отмена
Сохранить