md
This commit is contained in:
parent
0d88cbc4bd
commit
1ec3ddffc8
@ -13,8 +13,10 @@ package com.xdadan.erp.web.emis;
|
||||
|
||||
import com.alibaba.fastjson.JSONArray;
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
import com.xdadan.erp.common.annotation.Log;
|
||||
import com.xdadan.erp.common.core.domain.AjaxResult;
|
||||
import com.xdadan.erp.common.core.redis.RedissonService;
|
||||
import com.xdadan.erp.common.enums.BusinessType;
|
||||
import com.xdadan.erp.common.utils.DateUtils;
|
||||
import com.xdadan.erp.common.utils.SecurityUtils;
|
||||
import com.xdadan.erp.emis.domain.EmisPrintTpl;
|
||||
@ -49,6 +51,10 @@ import java.util.*;
|
||||
@RequestMapping("/emis/common")
|
||||
public class EmisCommonController extends EmisBaseController
|
||||
{
|
||||
|
||||
@Autowired
|
||||
private IEmisWaybillService emisWaybillService;
|
||||
|
||||
@Autowired
|
||||
private IEmisTmsScanRecordService emisTmsScanRecordService;
|
||||
|
||||
@ -653,5 +659,24 @@ public class EmisCommonController extends EmisBaseController
|
||||
return rst;
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出进仓单模板
|
||||
* @param response
|
||||
* @param orderSn
|
||||
*/
|
||||
@Log(title = "导出进仓单", businessType = BusinessType.EXPORT)
|
||||
@RequestMapping("/exportWarehouseInTpl")
|
||||
public void exportWarehouseInTpl(HttpServletResponse response,String orderSn) {
|
||||
try{
|
||||
emisWaybillService.genWarehouseInTplFile(response,orderSn);
|
||||
}
|
||||
catch(EmisBizError ex){
|
||||
ex.printStackTrace();
|
||||
}
|
||||
catch (Exception ex){
|
||||
ex.printStackTrace();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user