This commit is contained in:
linfso 2024-06-12 20:24:46 +08:00
parent 3e953ee256
commit 491e53c217

View File

@ -111,6 +111,28 @@ public class EmisWaybillProblemInfoController extends EmisBaseController
@Log(title = "问题件", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody EmisWaybillProblemInfo emisWaybillProblemInfo)
{
return addProblemInfo(emisWaybillProblemInfo);
}
/**
*
* @param emisWaybillProblemInfo
* @return
*/
@Log(title = "登记问题件", businessType = BusinessType.INSERT)
@RequestMapping("/registerProblemInfo")
public AjaxResult registerProblemInfo(@RequestBody EmisWaybillProblemInfo emisWaybillProblemInfo)
{
return addProblemInfo(emisWaybillProblemInfo);
}
/**
* 添加问题件
* @param emisWaybillProblemInfo
* @return
*/
public AjaxResult addProblemInfo(EmisWaybillProblemInfo emisWaybillProblemInfo)
{
try {
@ -159,19 +181,7 @@ public class EmisWaybillProblemInfoController extends EmisBaseController
e.printStackTrace();
return AjaxResult.error("数据异常!");
}
}
/**
*
* @param emisWaybillProblemInfo
* @return
*/
@Log(title = "登记问题件", businessType = BusinessType.INSERT)
@RequestMapping("/registerProblemInfo")
public AjaxResult registerProblemInfo(@RequestBody EmisWaybillProblemInfo emisWaybillProblemInfo)
{
return toAjax(emisWaybillProblemInfoService.insertEmisWaybillProblemInfo(emisWaybillProblemInfo));
// return toAjax(emisWaybillProblemInfoService.insertEmisWaybillProblemInfo(emisWaybillProblemInfo));
}
/**