提交 d2355a49 authored 作者: 李瑞鑫's avatar 李瑞鑫

电子过磅单图片

上级 16fd9e97
...@@ -6,8 +6,6 @@ import com.clx.performance.model.App; ...@@ -6,8 +6,6 @@ import com.clx.performance.model.App;
import com.msl.common.open.OpenClient; import com.msl.common.open.OpenClient;
import com.msl.common.open.RequestConfig; import com.msl.common.open.RequestConfig;
import com.msl.common.result.Result; import com.msl.common.result.Result;
import com.scm.lms.manage.action.WeighingSignatureAction;
import com.scm.lms.manage.dto.WeighingSignatureDTO;
import io.swagger.annotations.ApiOperation; import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
...@@ -16,7 +14,6 @@ import org.springframework.web.bind.annotation.RequestMapping; ...@@ -16,7 +14,6 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController; import org.springframework.web.bind.annotation.RestController;
import java.util.List;
/** /**
...@@ -49,14 +46,15 @@ public class TempSdkController { ...@@ -49,14 +46,15 @@ public class TempSdkController {
.setAppKey(app.getAppKey()) .setAppKey(app.getAppKey())
.setGatewayUrl(app.getCallback()); .setGatewayUrl(app.getCallback());
//通过运单号码查询电子磅单图片 //通过运单号码查询电子磅单图片
WeighingSignatureAction action = new WeighingSignatureAction(); /* WeighingSignatureAction action = new WeighingSignatureAction();
action.setCustomerRelationNo(String.valueOf(companyNoConfig.getCompanyNo())); action.setCustomerRelationNo(String.valueOf(companyNoConfig.getCompanyNo()));
action.setChildNo(childNo); action.setChildNo(childNo);
action.setType(type); action.setType(type);
log.info("接口请求电子磅单参数,{}", action); log.info("接口请求电子磅单参数,{}", action);
Result<List<WeighingSignatureDTO>> weighSignature = OpenClient.doAction(config, action); Result<List<WeighingSignatureDTO>> weighSignature = OpenClient.doAction(config, action);
log.info("接口请求电子磅单返回结果,{}", weighSignature); log.info("接口请求电子磅单返回结果,{}", weighSignature);
return weighSignature; return weighSignature;*/
return null;
} }
} }
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论