diff --git a/emis-biz-web/src/main/java/com/xdadan/erp/web/emis/EmisTmsScanPicInfoController.java b/emis-biz-web/src/main/java/com/xdadan/erp/web/emis/EmisTmsScanPicInfoController.java new file mode 100644 index 000000000..de1fe3df8 --- /dev/null +++ b/emis-biz-web/src/main/java/com/xdadan/erp/web/emis/EmisTmsScanPicInfoController.java @@ -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:

TMS扫描图片信息 控制器

+ */ + +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 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 list = emisTmsScanPicInfoService.selectEmisTmsScanPicInfoList(emisTmsScanPicInfo); + ExcelUtil util = new ExcelUtil(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)); + } +} diff --git a/emis-biz-web/src/main/java/com/xdadan/erp/web/emis/EmisTmsScanRecordController.java b/emis-biz-web/src/main/java/com/xdadan/erp/web/emis/EmisTmsScanRecordController.java new file mode 100644 index 000000000..df3f2fa99 --- /dev/null +++ b/emis-biz-web/src/main/java/com/xdadan/erp/web/emis/EmisTmsScanRecordController.java @@ -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:

TMS扫描记录 控制器

+ */ + +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 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 list = emisTmsScanRecordService.selectEmisTmsScanRecordList(emisTmsScanRecord); + ExcelUtil util = new ExcelUtil(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)); + } +} diff --git a/emis-biz-web/src/main/java/com/xdadan/erp/web/emis/EmisTmsTransPlanController.java b/emis-biz-web/src/main/java/com/xdadan/erp/web/emis/EmisTmsTransPlanController.java new file mode 100644 index 000000000..420d5af9a --- /dev/null +++ b/emis-biz-web/src/main/java/com/xdadan/erp/web/emis/EmisTmsTransPlanController.java @@ -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:

TMS承运线路计划 控制器

+ */ + +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 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 list = emisTmsTransPlanService.selectEmisTmsTransPlanList(emisTmsTransPlan); + ExcelUtil util = new ExcelUtil(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)); + } +} diff --git a/emis-biz-web/src/main/java/com/xdadan/erp/web/emis/EmisTmsTransPlanDtlController.java b/emis-biz-web/src/main/java/com/xdadan/erp/web/emis/EmisTmsTransPlanDtlController.java new file mode 100644 index 000000000..dfbbe496a --- /dev/null +++ b/emis-biz-web/src/main/java/com/xdadan/erp/web/emis/EmisTmsTransPlanDtlController.java @@ -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:

TMS承运线路计划明细 控制器

+ */ + +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 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 list = emisTmsTransPlanDtlService.selectEmisTmsTransPlanDtlList(emisTmsTransPlanDtl); + ExcelUtil util = new ExcelUtil(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)); + } +} diff --git a/emis-biz-web/src/main/java/com/xdadan/erp/web/emis/EmisWaybillProblemInfoController.java b/emis-biz-web/src/main/java/com/xdadan/erp/web/emis/EmisWaybillProblemInfoController.java new file mode 100644 index 000000000..2a256703b --- /dev/null +++ b/emis-biz-web/src/main/java/com/xdadan/erp/web/emis/EmisWaybillProblemInfoController.java @@ -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:

问题件 控制器

+ */ + +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 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 list = emisWaybillProblemInfoService.selectEmisWaybillProblemInfoList(emisWaybillProblemInfo); + ExcelUtil util = new ExcelUtil(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)); + } +} diff --git a/gentools/gen.bat b/gentools/gen.bat new file mode 100644 index 000000000..120343cc0 --- /dev/null +++ b/gentools/gen.bat @@ -0,0 +1,2 @@ +java -jar lib/gentools-1.0.0.jar +pause diff --git a/gentools/gen.sh b/gentools/gen.sh new file mode 100644 index 000000000..7028eb05f --- /dev/null +++ b/gentools/gen.sh @@ -0,0 +1,5 @@ +rm -rf code +java -jar lib/gentools-1.0.0.jar + + + diff --git a/gentools/gentools.ini b/gentools/gentools.ini new file mode 100644 index 000000000..9e1cb81c0 --- /dev/null +++ b/gentools/gentools.ini @@ -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 \ No newline at end of file diff --git a/gentools/lib/gentools-1.0.0.jar b/gentools/lib/gentools-1.0.0.jar new file mode 100644 index 000000000..ee7a7ed18 Binary files /dev/null and b/gentools/lib/gentools-1.0.0.jar differ