demand: tms-oa接口-查询网点列表
This commit is contained in:
parent
c0eab1d2fc
commit
ce357a89c7
@ -0,0 +1,61 @@
|
|||||||
|
|
||||||
|
/**
|
||||||
|
* @Project: emis
|
||||||
|
* @Title: EmisSiteController.java
|
||||||
|
* @author heyu
|
||||||
|
* @date 2026-03-09 13:02:46
|
||||||
|
* @Copyright: ShangHai Duta 2022 All rights reserved.
|
||||||
|
* @version v1.0
|
||||||
|
* @Description: <p> 网点 控制器 </p>
|
||||||
|
*/
|
||||||
|
|
||||||
|
package com.xdadan.erp.apiweb;
|
||||||
|
|
||||||
|
import com.xdadan.erp.common.annotation.Log;
|
||||||
|
import com.xdadan.erp.common.annotation.filter.jackson.JacksonFilter;
|
||||||
|
import com.xdadan.erp.common.core.controller.BaseController;
|
||||||
|
import com.xdadan.erp.common.core.domain.AjaxResult;
|
||||||
|
import com.xdadan.erp.common.core.page.TableDataInfo;
|
||||||
|
import com.xdadan.erp.common.enums.BusinessType;
|
||||||
|
import com.xdadan.erp.common.utils.poi.ExcelUtil;
|
||||||
|
import com.xdadan.erp.emis.domain.EmisSite;
|
||||||
|
import com.xdadan.erp.emis.service.EmisBaseService;
|
||||||
|
import com.xdadan.erp.emis.service.IEmisSiteService;
|
||||||
|
import com.xdadan.erp.emis.utils.WaybillHelper;
|
||||||
|
import org.apache.commons.lang3.StringUtils;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.security.access.prepost.PreAuthorize;
|
||||||
|
import org.springframework.web.bind.annotation.*;
|
||||||
|
|
||||||
|
import javax.servlet.http.HttpServletResponse;
|
||||||
|
import java.util.Arrays;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 网点Controller
|
||||||
|
*
|
||||||
|
* @author HEYU
|
||||||
|
* @date 2026-03-09 13:02:46
|
||||||
|
*/
|
||||||
|
@RestController
|
||||||
|
@RequestMapping("/apiweb/emisSite")
|
||||||
|
public class SiteController extends BaseController
|
||||||
|
{
|
||||||
|
@Autowired
|
||||||
|
private IEmisSiteService emisSiteService;
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
private EmisBaseService emisBaseService;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询网点列表
|
||||||
|
*/
|
||||||
|
@GetMapping("/list")
|
||||||
|
public TableDataInfo list(EmisSite emisSite)
|
||||||
|
{
|
||||||
|
startPage();
|
||||||
|
List<EmisSite> list = emisSiteService.selectEmisSiteList(emisSite);
|
||||||
|
return getDataTable(list);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue
Block a user