This commit is contained in:
linfso 2024-03-07 18:47:50 +08:00
parent d0090f2398
commit cd652252f4
9 changed files with 609 additions and 0 deletions

View File

@ -0,0 +1,118 @@
/**
* @Project: emis
* @Title: EmisTmsScanPicInfoController.java
* @author linfso
* @date 2024-03-07 10:42:43
* @Copyright: ShangHai Duta 2022 All rights reserved.
* @version v1.0
* @Description: <p> TMS扫描图片信息 控制器 </p>
*/
package com.xdadan.erp.web.emis;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.xdadan.erp.common.annotation.Log;
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.StringUtils;
import com.xdadan.erp.common.utils.poi.ExcelUtil;
import com.xdadan.erp.emis.domain.EmisTmsScanPicInfo;
import com.xdadan.erp.emis.service.IEmisTmsScanPicInfoService;
/**
* TMS扫描图片信息Controller
*
* @author linfso
* @date 2024-03-07 10:42:43
*/
@RestController
@RequestMapping("/emis/emisTmsScanPicInfo")
public class EmisTmsScanPicInfoController extends BaseController
{
@Autowired
private IEmisTmsScanPicInfoService emisTmsScanPicInfoService;
/**
* 查询TMS扫描图片信息列表
*/
@PreAuthorize("@ss.hasPermi('emis:emisTmsScanPicInfo:list')")
@GetMapping("/list")
public TableDataInfo list(EmisTmsScanPicInfo emisTmsScanPicInfo)
{
startPage();
List<EmisTmsScanPicInfo> list = emisTmsScanPicInfoService.selectEmisTmsScanPicInfoList(emisTmsScanPicInfo);
return getDataTable(list);
}
/**
* 导出TMS扫描图片信息列表
*/
@PreAuthorize("@ss.hasPermi('emis:emisTmsScanPicInfo:export')")
@Log(title = "TMS扫描图片信息", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, EmisTmsScanPicInfo emisTmsScanPicInfo)
{
List<EmisTmsScanPicInfo> list = emisTmsScanPicInfoService.selectEmisTmsScanPicInfoList(emisTmsScanPicInfo);
ExcelUtil<EmisTmsScanPicInfo> util = new ExcelUtil<EmisTmsScanPicInfo>(EmisTmsScanPicInfo.class);
util.exportExcel(response, list, "TMS扫描图片信息数据");
}
/**
* 获取TMS扫描图片信息详细信息
*/
@PreAuthorize("@ss.hasPermi('emis:emisTmsScanPicInfo:query')")
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return AjaxResult.success(emisTmsScanPicInfoService.selectEmisTmsScanPicInfoById(id));
}
/**
* 新增TMS扫描图片信息
*/
@PreAuthorize("@ss.hasPermi('emis:emisTmsScanPicInfo:add')")
@Log(title = "TMS扫描图片信息", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody EmisTmsScanPicInfo emisTmsScanPicInfo)
{
return toAjax(emisTmsScanPicInfoService.insertEmisTmsScanPicInfo(emisTmsScanPicInfo));
}
/**
* 修改TMS扫描图片信息
*/
@PreAuthorize("@ss.hasPermi('emis:emisTmsScanPicInfo:edit')")
@Log(title = "TMS扫描图片信息", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody EmisTmsScanPicInfo emisTmsScanPicInfo)
{
return toAjax(emisTmsScanPicInfoService.updateEmisTmsScanPicInfo(emisTmsScanPicInfo));
}
/**
* 删除TMS扫描图片信息
*/
@PreAuthorize("@ss.hasPermi('emis:emisTmsScanPicInfo:remove')")
@Log(title = "TMS扫描图片信息", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(emisTmsScanPicInfoService.deleteEmisTmsScanPicInfoByIds(ids));
}
}

View File

@ -0,0 +1,118 @@
/**
* @Project: emis
* @Title: EmisTmsScanRecordController.java
* @author linfso
* @date 2024-03-07 10:42:44
* @Copyright: ShangHai Duta 2022 All rights reserved.
* @version v1.0
* @Description: <p> TMS扫描记录 控制器 </p>
*/
package com.xdadan.erp.web.emis;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.xdadan.erp.common.annotation.Log;
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.StringUtils;
import com.xdadan.erp.common.utils.poi.ExcelUtil;
import com.xdadan.erp.emis.domain.EmisTmsScanRecord;
import com.xdadan.erp.emis.service.IEmisTmsScanRecordService;
/**
* TMS扫描记录Controller
*
* @author linfso
* @date 2024-03-07 10:42:44
*/
@RestController
@RequestMapping("/emis/emisTmsScanRecord")
public class EmisTmsScanRecordController extends BaseController
{
@Autowired
private IEmisTmsScanRecordService emisTmsScanRecordService;
/**
* 查询TMS扫描记录列表
*/
@PreAuthorize("@ss.hasPermi('emis:emisTmsScanRecord:list')")
@GetMapping("/list")
public TableDataInfo list(EmisTmsScanRecord emisTmsScanRecord)
{
startPage();
List<EmisTmsScanRecord> list = emisTmsScanRecordService.selectEmisTmsScanRecordList(emisTmsScanRecord);
return getDataTable(list);
}
/**
* 导出TMS扫描记录列表
*/
@PreAuthorize("@ss.hasPermi('emis:emisTmsScanRecord:export')")
@Log(title = "TMS扫描记录", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, EmisTmsScanRecord emisTmsScanRecord)
{
List<EmisTmsScanRecord> list = emisTmsScanRecordService.selectEmisTmsScanRecordList(emisTmsScanRecord);
ExcelUtil<EmisTmsScanRecord> util = new ExcelUtil<EmisTmsScanRecord>(EmisTmsScanRecord.class);
util.exportExcel(response, list, "TMS扫描记录数据");
}
/**
* 获取TMS扫描记录详细信息
*/
@PreAuthorize("@ss.hasPermi('emis:emisTmsScanRecord:query')")
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return AjaxResult.success(emisTmsScanRecordService.selectEmisTmsScanRecordById(id));
}
/**
* 新增TMS扫描记录
*/
@PreAuthorize("@ss.hasPermi('emis:emisTmsScanRecord:add')")
@Log(title = "TMS扫描记录", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody EmisTmsScanRecord emisTmsScanRecord)
{
return toAjax(emisTmsScanRecordService.insertEmisTmsScanRecord(emisTmsScanRecord));
}
/**
* 修改TMS扫描记录
*/
@PreAuthorize("@ss.hasPermi('emis:emisTmsScanRecord:edit')")
@Log(title = "TMS扫描记录", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody EmisTmsScanRecord emisTmsScanRecord)
{
return toAjax(emisTmsScanRecordService.updateEmisTmsScanRecord(emisTmsScanRecord));
}
/**
* 删除TMS扫描记录
*/
@PreAuthorize("@ss.hasPermi('emis:emisTmsScanRecord:remove')")
@Log(title = "TMS扫描记录", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(emisTmsScanRecordService.deleteEmisTmsScanRecordByIds(ids));
}
}

View File

@ -0,0 +1,118 @@
/**
* @Project: emis
* @Title: EmisTmsTransPlanController.java
* @author linfso
* @date 2024-03-07 10:42:44
* @Copyright: ShangHai Duta 2022 All rights reserved.
* @version v1.0
* @Description: <p> TMS承运线路计划 控制器 </p>
*/
package com.xdadan.erp.web.emis;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.xdadan.erp.common.annotation.Log;
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.StringUtils;
import com.xdadan.erp.common.utils.poi.ExcelUtil;
import com.xdadan.erp.emis.domain.EmisTmsTransPlan;
import com.xdadan.erp.emis.service.IEmisTmsTransPlanService;
/**
* TMS承运线路计划Controller
*
* @author linfso
* @date 2024-03-07 10:42:44
*/
@RestController
@RequestMapping("/emis/emisTmsTransPlan")
public class EmisTmsTransPlanController extends BaseController
{
@Autowired
private IEmisTmsTransPlanService emisTmsTransPlanService;
/**
* 查询TMS承运线路计划列表
*/
@PreAuthorize("@ss.hasPermi('emis:emisTmsTransPlan:list')")
@GetMapping("/list")
public TableDataInfo list(EmisTmsTransPlan emisTmsTransPlan)
{
startPage();
List<EmisTmsTransPlan> list = emisTmsTransPlanService.selectEmisTmsTransPlanList(emisTmsTransPlan);
return getDataTable(list);
}
/**
* 导出TMS承运线路计划列表
*/
@PreAuthorize("@ss.hasPermi('emis:emisTmsTransPlan:export')")
@Log(title = "TMS承运线路计划", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, EmisTmsTransPlan emisTmsTransPlan)
{
List<EmisTmsTransPlan> list = emisTmsTransPlanService.selectEmisTmsTransPlanList(emisTmsTransPlan);
ExcelUtil<EmisTmsTransPlan> util = new ExcelUtil<EmisTmsTransPlan>(EmisTmsTransPlan.class);
util.exportExcel(response, list, "TMS承运线路计划数据");
}
/**
* 获取TMS承运线路计划详细信息
*/
@PreAuthorize("@ss.hasPermi('emis:emisTmsTransPlan:query')")
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return AjaxResult.success(emisTmsTransPlanService.selectEmisTmsTransPlanById(id));
}
/**
* 新增TMS承运线路计划
*/
@PreAuthorize("@ss.hasPermi('emis:emisTmsTransPlan:add')")
@Log(title = "TMS承运线路计划", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody EmisTmsTransPlan emisTmsTransPlan)
{
return toAjax(emisTmsTransPlanService.insertEmisTmsTransPlan(emisTmsTransPlan));
}
/**
* 修改TMS承运线路计划
*/
@PreAuthorize("@ss.hasPermi('emis:emisTmsTransPlan:edit')")
@Log(title = "TMS承运线路计划", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody EmisTmsTransPlan emisTmsTransPlan)
{
return toAjax(emisTmsTransPlanService.updateEmisTmsTransPlan(emisTmsTransPlan));
}
/**
* 删除TMS承运线路计划
*/
@PreAuthorize("@ss.hasPermi('emis:emisTmsTransPlan:remove')")
@Log(title = "TMS承运线路计划", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(emisTmsTransPlanService.deleteEmisTmsTransPlanByIds(ids));
}
}

View File

@ -0,0 +1,118 @@
/**
* @Project: emis
* @Title: EmisTmsTransPlanDtlController.java
* @author linfso
* @date 2024-03-07 10:42:45
* @Copyright: ShangHai Duta 2022 All rights reserved.
* @version v1.0
* @Description: <p> TMS承运线路计划明细 控制器 </p>
*/
package com.xdadan.erp.web.emis;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.xdadan.erp.common.annotation.Log;
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.StringUtils;
import com.xdadan.erp.common.utils.poi.ExcelUtil;
import com.xdadan.erp.emis.domain.EmisTmsTransPlanDtl;
import com.xdadan.erp.emis.service.IEmisTmsTransPlanDtlService;
/**
* TMS承运线路计划明细Controller
*
* @author linfso
* @date 2024-03-07 10:42:45
*/
@RestController
@RequestMapping("/emis/emisTmsTransPlanDtl")
public class EmisTmsTransPlanDtlController extends BaseController
{
@Autowired
private IEmisTmsTransPlanDtlService emisTmsTransPlanDtlService;
/**
* 查询TMS承运线路计划明细列表
*/
@PreAuthorize("@ss.hasPermi('emis:emisTmsTransPlanDtl:list')")
@GetMapping("/list")
public TableDataInfo list(EmisTmsTransPlanDtl emisTmsTransPlanDtl)
{
startPage();
List<EmisTmsTransPlanDtl> list = emisTmsTransPlanDtlService.selectEmisTmsTransPlanDtlList(emisTmsTransPlanDtl);
return getDataTable(list);
}
/**
* 导出TMS承运线路计划明细列表
*/
@PreAuthorize("@ss.hasPermi('emis:emisTmsTransPlanDtl:export')")
@Log(title = "TMS承运线路计划明细", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, EmisTmsTransPlanDtl emisTmsTransPlanDtl)
{
List<EmisTmsTransPlanDtl> list = emisTmsTransPlanDtlService.selectEmisTmsTransPlanDtlList(emisTmsTransPlanDtl);
ExcelUtil<EmisTmsTransPlanDtl> util = new ExcelUtil<EmisTmsTransPlanDtl>(EmisTmsTransPlanDtl.class);
util.exportExcel(response, list, "TMS承运线路计划明细数据");
}
/**
* 获取TMS承运线路计划明细详细信息
*/
@PreAuthorize("@ss.hasPermi('emis:emisTmsTransPlanDtl:query')")
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return AjaxResult.success(emisTmsTransPlanDtlService.selectEmisTmsTransPlanDtlById(id));
}
/**
* 新增TMS承运线路计划明细
*/
@PreAuthorize("@ss.hasPermi('emis:emisTmsTransPlanDtl:add')")
@Log(title = "TMS承运线路计划明细", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody EmisTmsTransPlanDtl emisTmsTransPlanDtl)
{
return toAjax(emisTmsTransPlanDtlService.insertEmisTmsTransPlanDtl(emisTmsTransPlanDtl));
}
/**
* 修改TMS承运线路计划明细
*/
@PreAuthorize("@ss.hasPermi('emis:emisTmsTransPlanDtl:edit')")
@Log(title = "TMS承运线路计划明细", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody EmisTmsTransPlanDtl emisTmsTransPlanDtl)
{
return toAjax(emisTmsTransPlanDtlService.updateEmisTmsTransPlanDtl(emisTmsTransPlanDtl));
}
/**
* 删除TMS承运线路计划明细
*/
@PreAuthorize("@ss.hasPermi('emis:emisTmsTransPlanDtl:remove')")
@Log(title = "TMS承运线路计划明细", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(emisTmsTransPlanDtlService.deleteEmisTmsTransPlanDtlByIds(ids));
}
}

View File

@ -0,0 +1,118 @@
/**
* @Project: emis
* @Title: EmisWaybillProblemInfoController.java
* @author linfso
* @date 2024-03-07 10:42:45
* @Copyright: ShangHai Duta 2022 All rights reserved.
* @version v1.0
* @Description: <p> 问题件 控制器 </p>
*/
package com.xdadan.erp.web.emis;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.xdadan.erp.common.annotation.Log;
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.StringUtils;
import com.xdadan.erp.common.utils.poi.ExcelUtil;
import com.xdadan.erp.emis.domain.EmisWaybillProblemInfo;
import com.xdadan.erp.emis.service.IEmisWaybillProblemInfoService;
/**
* 问题件Controller
*
* @author linfso
* @date 2024-03-07 10:42:45
*/
@RestController
@RequestMapping("/emis/emisWaybillProblemInfo")
public class EmisWaybillProblemInfoController extends BaseController
{
@Autowired
private IEmisWaybillProblemInfoService emisWaybillProblemInfoService;
/**
* 查询问题件列表
*/
@PreAuthorize("@ss.hasPermi('emis:emisWaybillProblemInfo:list')")
@GetMapping("/list")
public TableDataInfo list(EmisWaybillProblemInfo emisWaybillProblemInfo)
{
startPage();
List<EmisWaybillProblemInfo> list = emisWaybillProblemInfoService.selectEmisWaybillProblemInfoList(emisWaybillProblemInfo);
return getDataTable(list);
}
/**
* 导出问题件列表
*/
@PreAuthorize("@ss.hasPermi('emis:emisWaybillProblemInfo:export')")
@Log(title = "问题件", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, EmisWaybillProblemInfo emisWaybillProblemInfo)
{
List<EmisWaybillProblemInfo> list = emisWaybillProblemInfoService.selectEmisWaybillProblemInfoList(emisWaybillProblemInfo);
ExcelUtil<EmisWaybillProblemInfo> util = new ExcelUtil<EmisWaybillProblemInfo>(EmisWaybillProblemInfo.class);
util.exportExcel(response, list, "问题件数据");
}
/**
* 获取问题件详细信息
*/
@PreAuthorize("@ss.hasPermi('emis:emisWaybillProblemInfo:query')")
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return AjaxResult.success(emisWaybillProblemInfoService.selectEmisWaybillProblemInfoById(id));
}
/**
* 新增问题件
*/
@PreAuthorize("@ss.hasPermi('emis:emisWaybillProblemInfo:add')")
@Log(title = "问题件", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody EmisWaybillProblemInfo emisWaybillProblemInfo)
{
return toAjax(emisWaybillProblemInfoService.insertEmisWaybillProblemInfo(emisWaybillProblemInfo));
}
/**
* 修改问题件
*/
@PreAuthorize("@ss.hasPermi('emis:emisWaybillProblemInfo:edit')")
@Log(title = "问题件", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody EmisWaybillProblemInfo emisWaybillProblemInfo)
{
return toAjax(emisWaybillProblemInfoService.updateEmisWaybillProblemInfo(emisWaybillProblemInfo));
}
/**
* 删除问题件
*/
@PreAuthorize("@ss.hasPermi('emis:emisWaybillProblemInfo:remove')")
@Log(title = "问题件", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(emisWaybillProblemInfoService.deleteEmisWaybillProblemInfoByIds(ids));
}
}

2
gentools/gen.bat Normal file
View File

@ -0,0 +1,2 @@
java -jar lib/gentools-1.0.0.jar
pause

5
gentools/gen.sh Normal file
View File

@ -0,0 +1,5 @@
rm -rf code
java -jar lib/gentools-1.0.0.jar

12
gentools/gentools.ini Normal file
View File

@ -0,0 +1,12 @@
[common]
genCodeServer=http://code.xdadan.com
owner=tndev
[autogen]
;project=tnemis-mgnt
project=tnemis-mgnt
tables=emis_site_account,emis_site_settle_record
localSrcPath=./code

Binary file not shown.