|
@@ -7,6 +7,7 @@ import com.dgtly.common.core.controller.ApiBaseController;
|
|
|
import com.dgtly.common.core.domain.AjaxResult;
|
|
|
import com.dgtly.common.core.domain.ParameterObject;
|
|
|
import com.dgtly.common.utils.StringUtils;
|
|
|
+import com.dgtly.sync.service.ICustomersService;
|
|
|
import com.dgtly.system.domain.AssRelcustomerinfo;
|
|
|
import com.dgtly.system.domain.CustomersExt;
|
|
|
import com.dgtly.system.domain.SysUser;
|
|
@@ -71,6 +72,8 @@ public class EsignController extends ApiBaseController {
|
|
|
private ServerConfig serverConfig;
|
|
|
@Autowired
|
|
|
private IAssRelcustomerinfoService assRelcustomerinfoService;
|
|
|
+ @Autowired
|
|
|
+ private ICustomersService customersService;
|
|
|
|
|
|
* @description: 经销商订单签收方法
|
|
|
* 没有注册就注册,注册完就认证,然后再点击签署按钮,获取经销商用户id,对应主体id
|
|
@@ -131,7 +134,8 @@ public class EsignController extends ApiBaseController {
|
|
|
|
|
|
|
|
|
|
|
|
- ESignUpPDFModal fileModal = eSignService.upload(orderId,tmsShipNumber,customerCode,sysUser.getSysUserExt().getOrgName(),sysUser.getUserName());
|
|
|
+ String customerName = customersService.selectCustomerNameByCustomerCode(customerCode);
|
|
|
+ ESignUpPDFModal fileModal = eSignService.upload(orderId,tmsShipNumber,customerCode,customerName,sysUser.getUserName());
|
|
|
|
|
|
Object fileId =fileModal.getFileId();
|
|
|
logger.info("签署订单返回文件id:{}",fileId);
|