Browse Source

变更合同BUG修复

anderx 3 years ago
parent
commit
9d8a9adf25

+ 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;
 	}