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

修改签单直接新增客户项目意向,修改为有则修改无则新增

anderx 1 год назад
Родитель
Сommit
c3e31f6f97

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

@@ -322,13 +322,13 @@ public class OrderProjectServiceImpl extends BaseMybatisDao<TOrderTaskMapper> im
 		ub.setAid(tn.getSalesmanId());
 		ub.setFollowSituation(5);
 		ub.setCustomerStatus(4);
-		ub.setCreateTime(date);
 		ub.setUpdateTime(date);
 		ub.setRemarks("派单自动锁定客户");
 		ub.setBusinessProjectId(t.getCommodityId());
 		if (i>0){
 			userBusinessMapper.updateByPrimaryKeySelective(ub);
 		}else {
+			ub.setCreateTime(date);
 			userBusinessMapper.insertSelective(ub);
 		}