This commit is contained in:
linfso 2024-12-27 13:30:24 +08:00
parent 3f53335536
commit 46724b2e6f
2 changed files with 3 additions and 7 deletions

View File

@ -135,10 +135,10 @@ public class WarehouseInController extends BaseController
*/ */
@Log(title = "导出进仓单", businessType = BusinessType.EXPORT) @Log(title = "导出进仓单", businessType = BusinessType.EXPORT)
@PostMapping("/exportWarehouseInTpl") @PostMapping("/exportWarehouseInTpl")
public AjaxResult exportWarehouseInTpl(HttpServletResponse response,String orderSn) { public AjaxResult exportWarehouseInTpl(HttpServletResponse response,String orderSn,String fileType) {
try{ try{
emisWaybillService.genWarehouseInTplFile(response,orderSn); emisWaybillService.genWarehouseInTplFile(response,orderSn,fileType);
return AjaxResult.success("下载成功"); return AjaxResult.success("下载成功");
} }
catch(EmisBizError ex){ catch(EmisBizError ex){

View File

@ -455,17 +455,13 @@ public class WaybillController extends BaseController
@Log(title = "API获取寄件面单信息", businessType = BusinessType.OTHER) @Log(title = "API获取寄件面单信息", businessType = BusinessType.OTHER)
@GetMapping("/getSendTplImageUrl") @GetMapping("/getSendTplImageUrl")
public String getSendTplImage(HttpServletRequest request, HttpServletResponse response, String billCode, String customerCode ) public String getSendTplImageUrl(HttpServletRequest request, HttpServletResponse response, String billCode, String customerCode )
{ {
if(!StringUtils.isEmpty(billCode)){ if(!StringUtils.isEmpty(billCode)){
try { try {
// 非客户的单子不允许获取 // 非客户的单子不允许获取
String uuid = UUID.fastUUID().toString(); String uuid = UUID.fastUUID().toString();
String printManCode="LP"; String printManCode="LP";