浏览代码

变更合同BUG修复

anderx 3 年之前
父节点
当前提交
9d8a9adf25
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/java/com/goafanti/order/service/impl/OrderChangeServiceImpl.java

+ 1 - 1
src/main/java/com/goafanti/order/service/impl/OrderChangeServiceImpl.java

@@ -752,7 +752,7 @@ public class OrderChangeServiceImpl extends BaseMybatisDao<NewOrderChangeMapper>
 		if (nb.getType()==0)um.setChargeback(1);
 		userMidMapper.updateByUid(um);
 		//如果合同不是空,则修改合同
-		if (nob.getContractPictureUrl()==null)o.setContractPictureUrl(nob.getContractPictureUrl());
+		if (nob.getContractPictureUrl()!=null)o.setContractPictureUrl(nob.getContractPictureUrl());
 		tOrderNewMapper.updateByPrimaryKeySelective(o);
 		return o;
 	}