Browse Source

创建订单选择渠道时改为前端传其他

anderx 3 years ago
parent
commit
920df8a9a8

+ 0 - 2
src/main/java/com/goafanti/customer/controller/AdminCustomerApiController.java

@@ -50,8 +50,6 @@ public class AdminCustomerApiController extends BaseApiController{
 	@Resource
 	private CustomerService customerService;
 	@Resource
-	private AdminOrgAnnualReportServiceImpl adminOrgAnnualReportService;
-	@Resource
 	private AttachmentService aftFileService;
 	@Value(value = "${upload.private.path}")
 	private String	uploadPrivatePath	= null;

+ 0 - 3
src/main/java/com/goafanti/order/service/impl/OrderNewServiceImpl.java

@@ -159,10 +159,7 @@ public class OrderNewServiceImpl extends BaseMybatisDao<TOrderNewMapper> impleme
 		t.setSalesType(salesType);
 		if (salesType==salesTypes.qd.getCode()&&channelId!=null){
 			t.setChannelId(channelId);
-			User u =userMapper.selectByPrimaryKey(channelId);
-			t.setOther(u.getNickname());
 		}
-
 		if (other!=null )t.setOther(other);
 		User u=userMapper.selectByPrimaryKey(uid);
 		if(u.getShareType()!=null&&u.getShareType()==2){