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

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

release_toaliyun_real
luozukai 7 лет назад
Родитель
Сommit
05df5b6c34
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>



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