PreventRepeatSubmit
This commit is contained in:
parent
4527ac41e8
commit
fb6bf45866
|
|
@ -0,0 +1,118 @@
|
|||
package com.bonus.material.purchase.controller;
|
||||
|
||||
import java.util.List;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import com.bonus.common.log.enums.OperaType;
|
||||
import com.bonus.material.common.annotation.PreventRepeatSubmit;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
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.bonus.common.log.annotation.SysLog;
|
||||
import com.bonus.common.security.annotation.RequiresPermissions;
|
||||
import com.bonus.material.purchase.domain.PurchaseCheckDetails;
|
||||
import com.bonus.material.purchase.service.IPurchaseCheckDetailsService;
|
||||
import com.bonus.common.core.web.controller.BaseController;
|
||||
import com.bonus.common.core.web.domain.AjaxResult;
|
||||
import com.bonus.common.core.utils.poi.ExcelUtil;
|
||||
import com.bonus.common.core.web.page.TableDataInfo;
|
||||
|
||||
/**
|
||||
* 新购验收任务详细Controller
|
||||
*
|
||||
* @author xsheng
|
||||
* @date 2024-09-27
|
||||
*/
|
||||
@Api(tags = "新购验收任务详细接口")
|
||||
@RestController
|
||||
@RequestMapping("/purchase_check_details")
|
||||
public class PurchaseCheckDetailsController extends BaseController
|
||||
{
|
||||
@Autowired
|
||||
private IPurchaseCheckDetailsService purchaseCheckDetailsService;
|
||||
|
||||
/**
|
||||
* 查询新购验收任务详细列表
|
||||
*/
|
||||
@ApiOperation(value = "查询新购验收任务详细列表")
|
||||
@RequiresPermissions("purchase:details:list")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(PurchaseCheckDetails purchaseCheckDetails)
|
||||
{
|
||||
startPage();
|
||||
List<PurchaseCheckDetails> list = purchaseCheckDetailsService.selectPurchaseCheckDetailsList(purchaseCheckDetails);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出新购验收任务详细列表
|
||||
*/
|
||||
@ApiOperation(value = "导出新购验收任务详细列表")
|
||||
@PreventRepeatSubmit
|
||||
@RequiresPermissions("purchase:details:export")
|
||||
@SysLog(title = "新购验收任务详细", businessType = OperaType.EXPORT, logType = 1,module = "仓储管理->导出新购验收任务详细")
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, PurchaseCheckDetails purchaseCheckDetails)
|
||||
{
|
||||
List<PurchaseCheckDetails> list = purchaseCheckDetailsService.selectPurchaseCheckDetailsList(purchaseCheckDetails);
|
||||
ExcelUtil<PurchaseCheckDetails> util = new ExcelUtil<PurchaseCheckDetails>(PurchaseCheckDetails.class);
|
||||
util.exportExcel(response, list, "新购验收任务详细数据");
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取新购验收任务详细详细信息
|
||||
*/
|
||||
@ApiOperation(value = "获取新购验收任务详细详细信息")
|
||||
@RequiresPermissions("purchase:details:query")
|
||||
@GetMapping(value = "/{id}")
|
||||
public AjaxResult getInfo(@PathVariable("id") Long id)
|
||||
{
|
||||
return success(purchaseCheckDetailsService.selectPurchaseCheckDetailsById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增新购验收任务详细
|
||||
*/
|
||||
@ApiOperation(value = "新增新购验收任务详细")
|
||||
@PreventRepeatSubmit
|
||||
@RequiresPermissions("purchase:details:add")
|
||||
@SysLog(title = "新购验收任务详细", businessType = OperaType.INSERT, logType = 1,module = "仓储管理->新增新购验收任务详细")
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody PurchaseCheckDetails purchaseCheckDetails)
|
||||
{
|
||||
return toAjax(purchaseCheckDetailsService.insertPurchaseCheckDetails(purchaseCheckDetails));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改新购验收任务详细
|
||||
*/
|
||||
@ApiOperation(value = "修改新购验收任务详细")
|
||||
@PreventRepeatSubmit
|
||||
@RequiresPermissions("purchase:details:edit")
|
||||
@SysLog(title = "新购验收任务详细", businessType = OperaType.UPDATE, logType = 1,module = "仓储管理->修改新购验收任务详细")
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody PurchaseCheckDetails purchaseCheckDetails)
|
||||
{
|
||||
return toAjax(purchaseCheckDetailsService.updatePurchaseCheckDetails(purchaseCheckDetails));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除新购验收任务详细
|
||||
*/
|
||||
@ApiOperation(value = "删除新购验收任务详细")
|
||||
@PreventRepeatSubmit
|
||||
@RequiresPermissions("purchase:details:remove")
|
||||
@SysLog(title = "新购验收任务详细", businessType = OperaType.DELETE, logType = 1,module = "仓储管理->删除新购验收任务详细")
|
||||
@DeleteMapping("/{ids}")
|
||||
public AjaxResult remove(@PathVariable Long[] ids)
|
||||
{
|
||||
return toAjax(purchaseCheckDetailsService.deletePurchaseCheckDetailsByIds(ids));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,118 @@
|
|||
package com.bonus.material.purchase.controller;
|
||||
|
||||
import java.util.List;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import com.bonus.common.log.enums.OperaType;
|
||||
import com.bonus.material.common.annotation.PreventRepeatSubmit;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
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.bonus.common.log.annotation.SysLog;
|
||||
import com.bonus.common.security.annotation.RequiresPermissions;
|
||||
import com.bonus.material.purchase.domain.PurchaseCheckInfo;
|
||||
import com.bonus.material.purchase.service.IPurchaseCheckInfoService;
|
||||
import com.bonus.common.core.web.controller.BaseController;
|
||||
import com.bonus.common.core.web.domain.AjaxResult;
|
||||
import com.bonus.common.core.utils.poi.ExcelUtil;
|
||||
import com.bonus.common.core.web.page.TableDataInfo;
|
||||
|
||||
/**
|
||||
* 新购验收任务Controller
|
||||
*
|
||||
* @author xsheng
|
||||
* @date 2024-09-27
|
||||
*/
|
||||
@Api(tags = "新购验收任务接口")
|
||||
@RestController
|
||||
@RequestMapping("/purchase_check_info")
|
||||
public class PurchaseCheckInfoController extends BaseController
|
||||
{
|
||||
@Autowired
|
||||
private IPurchaseCheckInfoService purchaseCheckInfoService;
|
||||
|
||||
/**
|
||||
* 查询新购验收任务列表
|
||||
*/
|
||||
@ApiOperation(value = "查询新购验收任务列表")
|
||||
@RequiresPermissions("purchase:info:list")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(PurchaseCheckInfo purchaseCheckInfo)
|
||||
{
|
||||
startPage();
|
||||
List<PurchaseCheckInfo> list = purchaseCheckInfoService.selectPurchaseCheckInfoList(purchaseCheckInfo);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出新购验收任务列表
|
||||
*/
|
||||
@ApiOperation(value = "导出新购验收任务列表")
|
||||
@PreventRepeatSubmit
|
||||
@RequiresPermissions("purchase:info:export")
|
||||
@SysLog(title = "新购验收任务", businessType = OperaType.EXPORT, logType = 1,module = "仓储管理->导出新购验收任务")
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, PurchaseCheckInfo purchaseCheckInfo)
|
||||
{
|
||||
List<PurchaseCheckInfo> list = purchaseCheckInfoService.selectPurchaseCheckInfoList(purchaseCheckInfo);
|
||||
ExcelUtil<PurchaseCheckInfo> util = new ExcelUtil<PurchaseCheckInfo>(PurchaseCheckInfo.class);
|
||||
util.exportExcel(response, list, "新购验收任务数据");
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取新购验收任务详细信息
|
||||
*/
|
||||
@ApiOperation(value = "获取新购验收任务详细信息")
|
||||
@RequiresPermissions("purchase:info:query")
|
||||
@GetMapping(value = "/{id}")
|
||||
public AjaxResult getInfo(@PathVariable("id") Long id)
|
||||
{
|
||||
return success(purchaseCheckInfoService.selectPurchaseCheckInfoById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增新购验收任务
|
||||
*/
|
||||
@ApiOperation(value = "新增新购验收任务")
|
||||
@PreventRepeatSubmit
|
||||
@RequiresPermissions("purchase:info:add")
|
||||
@SysLog(title = "新购验收任务", businessType = OperaType.INSERT, logType = 1,module = "仓储管理->新增新购验收任务")
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody PurchaseCheckInfo purchaseCheckInfo)
|
||||
{
|
||||
return toAjax(purchaseCheckInfoService.insertPurchaseCheckInfo(purchaseCheckInfo));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改新购验收任务
|
||||
*/
|
||||
@ApiOperation(value = "修改新购验收任务")
|
||||
@PreventRepeatSubmit
|
||||
@RequiresPermissions("purchase:info:edit")
|
||||
@SysLog(title = "新购验收任务", businessType = OperaType.UPDATE, logType = 1,module = "仓储管理->修改新购验收任务")
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody PurchaseCheckInfo purchaseCheckInfo)
|
||||
{
|
||||
return toAjax(purchaseCheckInfoService.updatePurchaseCheckInfo(purchaseCheckInfo));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除新购验收任务
|
||||
*/
|
||||
@ApiOperation(value = "删除新购验收任务")
|
||||
@PreventRepeatSubmit
|
||||
@RequiresPermissions("purchase:info:remove")
|
||||
@SysLog(title = "新购验收任务", businessType = OperaType.DELETE, logType = 1,module = "仓储管理->删除新购验收任务")
|
||||
@DeleteMapping("/{ids}")
|
||||
public AjaxResult remove(@PathVariable Long[] ids)
|
||||
{
|
||||
return toAjax(purchaseCheckInfoService.deletePurchaseCheckInfoByIds(ids));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,118 @@
|
|||
package com.bonus.material.purchase.controller;
|
||||
|
||||
import java.util.List;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import com.bonus.common.log.enums.OperaType;
|
||||
import com.bonus.material.common.annotation.PreventRepeatSubmit;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
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.bonus.common.log.annotation.SysLog;
|
||||
import com.bonus.common.security.annotation.RequiresPermissions;
|
||||
import com.bonus.material.purchase.domain.PurchaseMacodeInfo;
|
||||
import com.bonus.material.purchase.service.IPurchaseMacodeInfoService;
|
||||
import com.bonus.common.core.web.controller.BaseController;
|
||||
import com.bonus.common.core.web.domain.AjaxResult;
|
||||
import com.bonus.common.core.utils.poi.ExcelUtil;
|
||||
import com.bonus.common.core.web.page.TableDataInfo;
|
||||
|
||||
/**
|
||||
* 新购验收编号管理Controller
|
||||
*
|
||||
* @author xsheng
|
||||
* @date 2024-09-27
|
||||
*/
|
||||
@Api(tags = "新购验收编号管理接口")
|
||||
@RestController
|
||||
@RequestMapping("/purchase_macode_info")
|
||||
public class PurchaseMacodeInfoController extends BaseController
|
||||
{
|
||||
@Autowired
|
||||
private IPurchaseMacodeInfoService purchaseMacodeInfoService;
|
||||
|
||||
/**
|
||||
* 查询新购验收编号管理列表
|
||||
*/
|
||||
@ApiOperation(value = "查询新购验收编号管理列表")
|
||||
@RequiresPermissions("purchase:info:list")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(PurchaseMacodeInfo purchaseMacodeInfo)
|
||||
{
|
||||
startPage();
|
||||
List<PurchaseMacodeInfo> list = purchaseMacodeInfoService.selectPurchaseMacodeInfoList(purchaseMacodeInfo);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出新购验收编号管理列表
|
||||
*/
|
||||
@ApiOperation(value = "导出新购验收编号管理列表")
|
||||
@PreventRepeatSubmit
|
||||
@RequiresPermissions("purchase:info:export")
|
||||
@SysLog(title = "新购验收编号管理", businessType = OperaType.EXPORT, logType = 1,module = "仓储管理->导出新购验收编号管理")
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, PurchaseMacodeInfo purchaseMacodeInfo)
|
||||
{
|
||||
List<PurchaseMacodeInfo> list = purchaseMacodeInfoService.selectPurchaseMacodeInfoList(purchaseMacodeInfo);
|
||||
ExcelUtil<PurchaseMacodeInfo> util = new ExcelUtil<PurchaseMacodeInfo>(PurchaseMacodeInfo.class);
|
||||
util.exportExcel(response, list, "新购验收编号管理数据");
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取新购验收编号管理详细信息
|
||||
*/
|
||||
@ApiOperation(value = "获取新购验收编号管理详细信息")
|
||||
@RequiresPermissions("purchase:info:query")
|
||||
@GetMapping(value = "/{id}")
|
||||
public AjaxResult getInfo(@PathVariable("id") Long id)
|
||||
{
|
||||
return success(purchaseMacodeInfoService.selectPurchaseMacodeInfoById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增新购验收编号管理
|
||||
*/
|
||||
@ApiOperation(value = "新增新购验收编号管理")
|
||||
@PreventRepeatSubmit
|
||||
@RequiresPermissions("purchase:info:add")
|
||||
@SysLog(title = "新购验收编号管理", businessType = OperaType.INSERT, logType = 1,module = "仓储管理->新增新购验收编号管理")
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody PurchaseMacodeInfo purchaseMacodeInfo)
|
||||
{
|
||||
return toAjax(purchaseMacodeInfoService.insertPurchaseMacodeInfo(purchaseMacodeInfo));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改新购验收编号管理
|
||||
*/
|
||||
@ApiOperation(value = "修改新购验收编号管理")
|
||||
@PreventRepeatSubmit
|
||||
@RequiresPermissions("purchase:info:edit")
|
||||
@SysLog(title = "新购验收编号管理", businessType = OperaType.UPDATE, logType = 1,module = "仓储管理->修改新购验收编号管理")
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody PurchaseMacodeInfo purchaseMacodeInfo)
|
||||
{
|
||||
return toAjax(purchaseMacodeInfoService.updatePurchaseMacodeInfo(purchaseMacodeInfo));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除新购验收编号管理
|
||||
*/
|
||||
@ApiOperation(value = "删除新购验收编号管理")
|
||||
@PreventRepeatSubmit
|
||||
@RequiresPermissions("purchase:info:remove")
|
||||
@SysLog(title = "新购验收编号管理", businessType = OperaType.DELETE, logType = 1,module = "仓储管理->删除新购验收编号管理")
|
||||
@DeleteMapping("/{ids}")
|
||||
public AjaxResult remove(@PathVariable Long[] ids)
|
||||
{
|
||||
return toAjax(purchaseMacodeInfoService.deletePurchaseMacodeInfoByIds(ids));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,118 @@
|
|||
package com.bonus.material.purchase.controller;
|
||||
|
||||
import java.util.List;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import com.bonus.common.log.enums.OperaType;
|
||||
import com.bonus.material.common.annotation.PreventRepeatSubmit;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
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.bonus.common.log.annotation.SysLog;
|
||||
import com.bonus.common.security.annotation.RequiresPermissions;
|
||||
import com.bonus.material.purchase.domain.PurchaseNoticePerson;
|
||||
import com.bonus.material.purchase.service.IPurchaseNoticePersonService;
|
||||
import com.bonus.common.core.web.controller.BaseController;
|
||||
import com.bonus.common.core.web.domain.AjaxResult;
|
||||
import com.bonus.common.core.utils.poi.ExcelUtil;
|
||||
import com.bonus.common.core.web.page.TableDataInfo;
|
||||
|
||||
/**
|
||||
* 新购短信通知人员Controller
|
||||
*
|
||||
* @author xsheng
|
||||
* @date 2024-09-27
|
||||
*/
|
||||
@Api(tags = "新购短信通知人员接口")
|
||||
@RestController
|
||||
@RequestMapping("/purchase_notice_person")
|
||||
public class PurchaseNoticePersonController extends BaseController
|
||||
{
|
||||
@Autowired
|
||||
private IPurchaseNoticePersonService purchaseNoticePersonService;
|
||||
|
||||
/**
|
||||
* 查询新购短信通知人员列表
|
||||
*/
|
||||
@ApiOperation(value = "查询新购短信通知人员列表")
|
||||
@RequiresPermissions("purchase:person:list")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(PurchaseNoticePerson purchaseNoticePerson)
|
||||
{
|
||||
startPage();
|
||||
List<PurchaseNoticePerson> list = purchaseNoticePersonService.selectPurchaseNoticePersonList(purchaseNoticePerson);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出新购短信通知人员列表
|
||||
*/
|
||||
@ApiOperation(value = "导出新购短信通知人员列表")
|
||||
@PreventRepeatSubmit
|
||||
@RequiresPermissions("purchase:person:export")
|
||||
@SysLog(title = "新购短信通知人员", businessType = OperaType.EXPORT, logType = 1,module = "仓储管理->导出新购短信通知人员")
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, PurchaseNoticePerson purchaseNoticePerson)
|
||||
{
|
||||
List<PurchaseNoticePerson> list = purchaseNoticePersonService.selectPurchaseNoticePersonList(purchaseNoticePerson);
|
||||
ExcelUtil<PurchaseNoticePerson> util = new ExcelUtil<PurchaseNoticePerson>(PurchaseNoticePerson.class);
|
||||
util.exportExcel(response, list, "新购短信通知人员数据");
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取新购短信通知人员详细信息
|
||||
*/
|
||||
@ApiOperation(value = "获取新购短信通知人员详细信息")
|
||||
@RequiresPermissions("purchase:person:query")
|
||||
@GetMapping(value = "/{id}")
|
||||
public AjaxResult getInfo(@PathVariable("id") Long id)
|
||||
{
|
||||
return success(purchaseNoticePersonService.selectPurchaseNoticePersonById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增新购短信通知人员
|
||||
*/
|
||||
@ApiOperation(value = "新增新购短信通知人员")
|
||||
@PreventRepeatSubmit
|
||||
@RequiresPermissions("purchase:person:add")
|
||||
@SysLog(title = "新购短信通知人员", businessType = OperaType.INSERT, logType = 1,module = "仓储管理->新增新购短信通知人员")
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody PurchaseNoticePerson purchaseNoticePerson)
|
||||
{
|
||||
return toAjax(purchaseNoticePersonService.insertPurchaseNoticePerson(purchaseNoticePerson));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改新购短信通知人员
|
||||
*/
|
||||
@ApiOperation(value = "修改新购短信通知人员")
|
||||
@PreventRepeatSubmit
|
||||
@RequiresPermissions("purchase:person:edit")
|
||||
@SysLog(title = "新购短信通知人员", businessType = OperaType.UPDATE, logType = 1,module = "仓储管理->修改新购短信通知人员")
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody PurchaseNoticePerson purchaseNoticePerson)
|
||||
{
|
||||
return toAjax(purchaseNoticePersonService.updatePurchaseNoticePerson(purchaseNoticePerson));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除新购短信通知人员
|
||||
*/
|
||||
@ApiOperation(value = "删除新购短信通知人员")
|
||||
@PreventRepeatSubmit
|
||||
@RequiresPermissions("purchase:person:remove")
|
||||
@SysLog(title = "新购短信通知人员", businessType = OperaType.DELETE, logType = 1,module = "仓储管理->删除新购短信通知人员")
|
||||
@DeleteMapping("/{ids}")
|
||||
public AjaxResult remove(@PathVariable Long[] ids)
|
||||
{
|
||||
return toAjax(purchaseNoticePersonService.deletePurchaseNoticePersonByIds(ids));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,118 @@
|
|||
package com.bonus.material.purchase.controller;
|
||||
|
||||
import java.util.List;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import com.bonus.common.log.enums.OperaType;
|
||||
import com.bonus.material.common.annotation.PreventRepeatSubmit;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
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.bonus.common.log.annotation.SysLog;
|
||||
import com.bonus.common.security.annotation.RequiresPermissions;
|
||||
import com.bonus.material.purchase.domain.PurchasePartDetails;
|
||||
import com.bonus.material.purchase.service.IPurchasePartDetailsService;
|
||||
import com.bonus.common.core.web.controller.BaseController;
|
||||
import com.bonus.common.core.web.domain.AjaxResult;
|
||||
import com.bonus.common.core.utils.poi.ExcelUtil;
|
||||
import com.bonus.common.core.web.page.TableDataInfo;
|
||||
|
||||
/**
|
||||
* 新购配件验收任务详细Controller
|
||||
*
|
||||
* @author xsheng
|
||||
* @date 2024-09-27
|
||||
*/
|
||||
@Api(tags = "新购配件验收任务详细接口")
|
||||
@RestController
|
||||
@RequestMapping("/purchase_part_details")
|
||||
public class PurchasePartDetailsController extends BaseController
|
||||
{
|
||||
@Autowired
|
||||
private IPurchasePartDetailsService purchasePartDetailsService;
|
||||
|
||||
/**
|
||||
* 查询新购配件验收任务详细列表
|
||||
*/
|
||||
@ApiOperation(value = "查询新购配件验收任务详细列表")
|
||||
@RequiresPermissions("purchase:details:list")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(PurchasePartDetails purchasePartDetails)
|
||||
{
|
||||
startPage();
|
||||
List<PurchasePartDetails> list = purchasePartDetailsService.selectPurchasePartDetailsList(purchasePartDetails);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出新购配件验收任务详细列表
|
||||
*/
|
||||
@ApiOperation(value = "导出新购配件验收任务详细列表")
|
||||
@PreventRepeatSubmit
|
||||
@RequiresPermissions("purchase:details:export")
|
||||
@SysLog(title = "新购配件验收任务详细", businessType = OperaType.EXPORT, logType = 1,module = "仓储管理->导出新购配件验收任务详细")
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, PurchasePartDetails purchasePartDetails)
|
||||
{
|
||||
List<PurchasePartDetails> list = purchasePartDetailsService.selectPurchasePartDetailsList(purchasePartDetails);
|
||||
ExcelUtil<PurchasePartDetails> util = new ExcelUtil<PurchasePartDetails>(PurchasePartDetails.class);
|
||||
util.exportExcel(response, list, "新购配件验收任务详细数据");
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取新购配件验收任务详细详细信息
|
||||
*/
|
||||
@ApiOperation(value = "获取新购配件验收任务详细详细信息")
|
||||
@RequiresPermissions("purchase:details:query")
|
||||
@GetMapping(value = "/{id}")
|
||||
public AjaxResult getInfo(@PathVariable("id") Long id)
|
||||
{
|
||||
return success(purchasePartDetailsService.selectPurchasePartDetailsById(id));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增新购配件验收任务详细
|
||||
*/
|
||||
@ApiOperation(value = "新增新购配件验收任务详细")
|
||||
@PreventRepeatSubmit
|
||||
@RequiresPermissions("purchase:details:add")
|
||||
@SysLog(title = "新购配件验收任务详细", businessType = OperaType.INSERT, logType = 1,module = "仓储管理->新增新购配件验收任务详细")
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody PurchasePartDetails purchasePartDetails)
|
||||
{
|
||||
return toAjax(purchasePartDetailsService.insertPurchasePartDetails(purchasePartDetails));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改新购配件验收任务详细
|
||||
*/
|
||||
@ApiOperation(value = "修改新购配件验收任务详细")
|
||||
@PreventRepeatSubmit
|
||||
@RequiresPermissions("purchase:details:edit")
|
||||
@SysLog(title = "新购配件验收任务详细", businessType = OperaType.UPDATE, logType = 1,module = "仓储管理->修改新购配件验收任务详细")
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody PurchasePartDetails purchasePartDetails)
|
||||
{
|
||||
return toAjax(purchasePartDetailsService.updatePurchasePartDetails(purchasePartDetails));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除新购配件验收任务详细
|
||||
*/
|
||||
@ApiOperation(value = "删除新购配件验收任务详细")
|
||||
@PreventRepeatSubmit
|
||||
@RequiresPermissions("purchase:details:remove")
|
||||
@SysLog(title = "新购配件验收任务详细", businessType = OperaType.DELETE, logType = 1,module = "仓储管理->删除新购配件验收任务详细")
|
||||
@DeleteMapping("/{ids}")
|
||||
public AjaxResult remove(@PathVariable Long[] ids)
|
||||
{
|
||||
return toAjax(purchasePartDetailsService.deletePurchasePartDetailsByIds(ids));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,118 @@
|
|||
package com.bonus.material.purchase.controller;
|
||||
|
||||
import java.util.List;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import com.bonus.common.log.enums.OperaType;
|
||||
import com.bonus.material.common.annotation.PreventRepeatSubmit;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
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.bonus.common.log.annotation.SysLog;
|
||||
import com.bonus.common.security.annotation.RequiresPermissions;
|
||||
import com.bonus.material.purchase.domain.PurchasePartInfo;
|
||||
import com.bonus.material.purchase.service.IPurchasePartInfoService;
|
||||
import com.bonus.common.core.web.controller.BaseController;
|
||||
import com.bonus.common.core.web.domain.AjaxResult;
|
||||
import com.bonus.common.core.utils.poi.ExcelUtil;
|
||||
import com.bonus.common.core.web.page.TableDataInfo;
|
||||
|
||||
/**
|
||||
* 新购配件验收任务Controller
|
||||
*
|
||||
* @author xsheng
|
||||
* @date 2024-09-27
|
||||
*/
|
||||
@Api(tags = "新购配件验收任务接口")
|
||||
@RestController
|
||||
@RequestMapping("/purchase_part_info")
|
||||
public class PurchasePartInfoController extends BaseController
|
||||
{
|
||||
@Autowired
|
||||
private IPurchasePartInfoService purchasePartInfoService;
|
||||
|
||||
/**
|
||||
* 查询新购配件验收任务列表
|
||||
*/
|
||||
@ApiOperation(value = "查询新购配件验收任务列表")
|
||||
@RequiresPermissions("purchase:info:list")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(PurchasePartInfo purchasePartInfo)
|
||||
{
|
||||
startPage();
|
||||
List<PurchasePartInfo> list = purchasePartInfoService.selectPurchasePartInfoList(purchasePartInfo);
|
||||
return getDataTable(list);
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出新购配件验收任务列表
|
||||
*/
|
||||
@ApiOperation(value = "导出新购配件验收任务列表")
|
||||
@PreventRepeatSubmit
|
||||
@RequiresPermissions("purchase:info:export")
|
||||
@SysLog(title = "新购配件验收任务", businessType = OperaType.EXPORT, logType = 1,module = "仓储管理->导出新购配件验收任务")
|
||||
@PostMapping("/export")
|
||||
public void export(HttpServletResponse response, PurchasePartInfo purchasePartInfo)
|
||||
{
|
||||
List<PurchasePartInfo> list = purchasePartInfoService.selectPurchasePartInfoList(purchasePartInfo);
|
||||
ExcelUtil<PurchasePartInfo> util = new ExcelUtil<PurchasePartInfo>(PurchasePartInfo.class);
|
||||
util.exportExcel(response, list, "新购配件验收任务数据");
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取新购配件验收任务详细信息
|
||||
*/
|
||||
@ApiOperation(value = "获取新购配件验收任务详细信息")
|
||||
@RequiresPermissions("purchase:info:query")
|
||||
@GetMapping(value = "/{ID}")
|
||||
public AjaxResult getInfo(@PathVariable("ID") Long ID)
|
||||
{
|
||||
return success(purchasePartInfoService.selectPurchasePartInfoByID(ID));
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增新购配件验收任务
|
||||
*/
|
||||
@ApiOperation(value = "新增新购配件验收任务")
|
||||
@PreventRepeatSubmit
|
||||
@RequiresPermissions("purchase:info:add")
|
||||
@SysLog(title = "新购配件验收任务", businessType = OperaType.INSERT, logType = 1,module = "仓储管理->新增新购配件验收任务")
|
||||
@PostMapping
|
||||
public AjaxResult add(@RequestBody PurchasePartInfo purchasePartInfo)
|
||||
{
|
||||
return toAjax(purchasePartInfoService.insertPurchasePartInfo(purchasePartInfo));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改新购配件验收任务
|
||||
*/
|
||||
@ApiOperation(value = "修改新购配件验收任务")
|
||||
@PreventRepeatSubmit
|
||||
@RequiresPermissions("purchase:info:edit")
|
||||
@SysLog(title = "新购配件验收任务", businessType = OperaType.UPDATE, logType = 1,module = "仓储管理->修改新购配件验收任务")
|
||||
@PutMapping
|
||||
public AjaxResult edit(@RequestBody PurchasePartInfo purchasePartInfo)
|
||||
{
|
||||
return toAjax(purchasePartInfoService.updatePurchasePartInfo(purchasePartInfo));
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除新购配件验收任务
|
||||
*/
|
||||
@ApiOperation(value = "删除新购配件验收任务")
|
||||
@PreventRepeatSubmit
|
||||
@RequiresPermissions("purchase:info:remove")
|
||||
@SysLog(title = "新购配件验收任务", businessType = OperaType.DELETE, logType = 1,module = "仓储管理->删除新购配件验收任务")
|
||||
@DeleteMapping("/{IDs}")
|
||||
public AjaxResult remove(@PathVariable Long[] IDs)
|
||||
{
|
||||
return toAjax(purchasePartInfoService.deletePurchasePartInfoByIDs(IDs));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,122 @@
|
|||
package com.bonus.material.purchase.domain;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.bonus.common.core.annotation.Excel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.ToString;
|
||||
import com.bonus.common.core.web.domain.BaseEntity;
|
||||
|
||||
/**
|
||||
* 新购验收任务详细对象 purchase_check_details
|
||||
*
|
||||
* @author xsheng
|
||||
* @date 2024-09-27
|
||||
*/
|
||||
|
||||
|
||||
@Data
|
||||
@ToString
|
||||
public class PurchaseCheckDetails extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** 主键id */
|
||||
private Long id;
|
||||
|
||||
/** 任务ID */
|
||||
@Excel(name = "任务ID")
|
||||
@ApiModelProperty(value = "任务ID")
|
||||
private Long taskId;
|
||||
|
||||
/** 规格id */
|
||||
@Excel(name = "规格id")
|
||||
@ApiModelProperty(value = "规格id")
|
||||
private Long typeId;
|
||||
|
||||
/** 采购单价 */
|
||||
@Excel(name = "采购单价")
|
||||
@ApiModelProperty(value = "采购单价")
|
||||
private BigDecimal purchasePrice;
|
||||
|
||||
/** 采购数量 */
|
||||
@Excel(name = "采购数量")
|
||||
@ApiModelProperty(value = "采购数量")
|
||||
private Long purchaseNum;
|
||||
|
||||
/** 验收数量 */
|
||||
@Excel(name = "验收数量")
|
||||
@ApiModelProperty(value = "验收数量")
|
||||
private Long checkNum;
|
||||
|
||||
/** 绑定数量 */
|
||||
@Excel(name = "绑定数量")
|
||||
@ApiModelProperty(value = "绑定数量")
|
||||
private Long bindNum;
|
||||
|
||||
/** 验收结论 */
|
||||
@Excel(name = "验收结论")
|
||||
@ApiModelProperty(value = "验收结论")
|
||||
private String checkResult;
|
||||
|
||||
/** 供应商id */
|
||||
@Excel(name = "供应商id")
|
||||
@ApiModelProperty(value = "供应商id")
|
||||
private Long supplierId;
|
||||
|
||||
/** 0-未验收,1-已验收,2-待通知,3-验收不通过,4-已入库,5-入库驳回,6-综合服务中心审核通过,7-综合服务中心不通过 */
|
||||
@Excel(name = "0-未验收,1-已验收,2-待通知,3-验收不通过,4-已入库,5-入库驳回,6-综合服务中心审核通过,7-综合服务中心不通过")
|
||||
@ApiModelProperty(value = "0-未验收,1-已验收,2-待通知,3-验收不通过,4-已入库,5-入库驳回,6-综合服务中心审核通过,7-综合服务中心不通过")
|
||||
private Long status;
|
||||
|
||||
/** 出厂日期 */
|
||||
@ApiModelProperty(value = "出厂日期")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
@Excel(name = "出厂日期", width = 30, dateFormat = "yyyy-MM-dd")
|
||||
private Date productionTime;
|
||||
|
||||
/** 验收图片 */
|
||||
@Excel(name = "验收图片")
|
||||
@ApiModelProperty(value = "验收图片")
|
||||
private String checkUrlName;
|
||||
|
||||
/** 验收图片名称 */
|
||||
@Excel(name = "验收图片名称")
|
||||
@ApiModelProperty(value = "验收图片名称")
|
||||
private String checkUrl;
|
||||
|
||||
/** 入库数量 */
|
||||
@Excel(name = "入库数量")
|
||||
@ApiModelProperty(value = "入库数量")
|
||||
private Long inputNum;
|
||||
|
||||
/** 是否入库 */
|
||||
@Excel(name = "是否入库")
|
||||
@ApiModelProperty(value = "是否入库")
|
||||
private String inputStatus;
|
||||
|
||||
/** 入库时间 */
|
||||
@ApiModelProperty(value = "入库时间")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
@Excel(name = "入库时间", width = 30, dateFormat = "yyyy-MM-dd")
|
||||
private Date inputTime;
|
||||
|
||||
/** 验收附件名称 */
|
||||
@Excel(name = "验收附件名称")
|
||||
@ApiModelProperty(value = "验收附件名称")
|
||||
private String fileName;
|
||||
|
||||
/** 验收附件 */
|
||||
@Excel(name = "验收附件")
|
||||
@ApiModelProperty(value = "验收附件")
|
||||
private String fileUrl;
|
||||
|
||||
/** 数据所属组织 */
|
||||
@Excel(name = "数据所属组织")
|
||||
@ApiModelProperty(value = "数据所属组织")
|
||||
private Long companyId;
|
||||
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,56 @@
|
|||
package com.bonus.material.purchase.domain;
|
||||
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.bonus.common.core.annotation.Excel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.ToString;
|
||||
import com.bonus.common.core.web.domain.BaseEntity;
|
||||
|
||||
/**
|
||||
* 新购验收任务对象 purchase_check_info
|
||||
*
|
||||
* @author xsheng
|
||||
* @date 2024-09-27
|
||||
*/
|
||||
|
||||
|
||||
@Data
|
||||
@ToString
|
||||
public class PurchaseCheckInfo extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** 主键id */
|
||||
private Long id;
|
||||
|
||||
/** 任务ID */
|
||||
@Excel(name = "任务ID")
|
||||
@ApiModelProperty(value = "任务ID")
|
||||
private Long taskId;
|
||||
|
||||
/** 采购日期 */
|
||||
@ApiModelProperty(value = "采购日期")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
@Excel(name = "采购日期", width = 30, dateFormat = "yyyy-MM-dd")
|
||||
private Date purchaseTime;
|
||||
|
||||
/** 到货日期 */
|
||||
@ApiModelProperty(value = "到货日期")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
@Excel(name = "到货日期", width = 30, dateFormat = "yyyy-MM-dd")
|
||||
private Date arrivalTime;
|
||||
|
||||
/** 采购员 */
|
||||
@Excel(name = "采购员")
|
||||
@ApiModelProperty(value = "采购员")
|
||||
private Long purchaser;
|
||||
|
||||
/** 数据所属组织 */
|
||||
@Excel(name = "数据所属组织")
|
||||
@ApiModelProperty(value = "数据所属组织")
|
||||
private Long companyId;
|
||||
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,66 @@
|
|||
package com.bonus.material.purchase.domain;
|
||||
|
||||
import com.bonus.common.core.annotation.Excel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.ToString;
|
||||
import com.bonus.common.core.web.domain.BaseEntity;
|
||||
|
||||
/**
|
||||
* 新购验收编号管理对象 purchase_macode_info
|
||||
*
|
||||
* @author xsheng
|
||||
* @date 2024-09-27
|
||||
*/
|
||||
|
||||
|
||||
@Data
|
||||
@ToString
|
||||
public class PurchaseMacodeInfo extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** 主键id */
|
||||
private Long id;
|
||||
|
||||
/** 任务ID */
|
||||
@Excel(name = "任务ID")
|
||||
@ApiModelProperty(value = "任务ID")
|
||||
private Long taskId;
|
||||
|
||||
/** 类型ID */
|
||||
@Excel(name = "类型ID")
|
||||
@ApiModelProperty(value = "类型ID")
|
||||
private Long typeId;
|
||||
|
||||
/** 机具编号 */
|
||||
@Excel(name = "机具编号")
|
||||
@ApiModelProperty(value = "机具编号")
|
||||
private String maCode;
|
||||
|
||||
/** 二维码 */
|
||||
@Excel(name = "二维码")
|
||||
@ApiModelProperty(value = "二维码")
|
||||
private String qrCode;
|
||||
|
||||
/** 是否是固定资产编号(0,是 1,否) */
|
||||
@Excel(name = "是否是固定资产编号(0,是 1,否)")
|
||||
@ApiModelProperty(value = "是否是固定资产编号(0,是 1,否)")
|
||||
private String fixCode;
|
||||
|
||||
/** 编号类型 */
|
||||
@Excel(name = "编号类型")
|
||||
@ApiModelProperty(value = "编号类型")
|
||||
private String codeType;
|
||||
|
||||
/** 状态(0,待入库 1,已入库) */
|
||||
@Excel(name = "状态", readConverterExp = "0=,待入库,1=,已入库")
|
||||
private String status;
|
||||
|
||||
/** 数据所属组织 */
|
||||
@Excel(name = "数据所属组织")
|
||||
@ApiModelProperty(value = "数据所属组织")
|
||||
private Long companyId;
|
||||
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,42 @@
|
|||
package com.bonus.material.purchase.domain;
|
||||
|
||||
import com.bonus.common.core.annotation.Excel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.ToString;
|
||||
import com.bonus.common.core.web.domain.BaseEntity;
|
||||
|
||||
/**
|
||||
* 新购短信通知人员对象 purchase_notice_person
|
||||
*
|
||||
* @author xsheng
|
||||
* @date 2024-09-27
|
||||
*/
|
||||
|
||||
|
||||
@Data
|
||||
@ToString
|
||||
public class PurchaseNoticePerson extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** 主键id */
|
||||
private Long id;
|
||||
|
||||
/** 用户id */
|
||||
@Excel(name = "用户id")
|
||||
@ApiModelProperty(value = "用户id")
|
||||
private Long userId;
|
||||
|
||||
/** 用户名 */
|
||||
@Excel(name = "用户名")
|
||||
@ApiModelProperty(value = "用户名")
|
||||
private String userName;
|
||||
|
||||
/** 联系电话 */
|
||||
@Excel(name = "联系电话")
|
||||
@ApiModelProperty(value = "联系电话")
|
||||
private String telphone;
|
||||
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,102 @@
|
|||
package com.bonus.material.purchase.domain;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.bonus.common.core.annotation.Excel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.ToString;
|
||||
import com.bonus.common.core.web.domain.BaseEntity;
|
||||
|
||||
/**
|
||||
* 新购配件验收任务详细对象 purchase_part_details
|
||||
*
|
||||
* @author xsheng
|
||||
* @date 2024-09-27
|
||||
*/
|
||||
|
||||
|
||||
@Data
|
||||
@ToString
|
||||
public class PurchasePartDetails extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** ID */
|
||||
private Long id;
|
||||
|
||||
/** 任务ID */
|
||||
@Excel(name = "任务ID")
|
||||
@ApiModelProperty(value = "任务ID")
|
||||
private Long taskId;
|
||||
|
||||
/** 配件id */
|
||||
@Excel(name = "配件id")
|
||||
@ApiModelProperty(value = "配件id")
|
||||
private Long partId;
|
||||
|
||||
/** 采购单价 */
|
||||
@Excel(name = "采购单价")
|
||||
@ApiModelProperty(value = "采购单价")
|
||||
private BigDecimal purchasePrice;
|
||||
|
||||
/** 采购数量 */
|
||||
@Excel(name = "采购数量")
|
||||
@ApiModelProperty(value = "采购数量")
|
||||
private Long purchaseNum;
|
||||
|
||||
/** 供应商id */
|
||||
@Excel(name = "供应商id")
|
||||
@ApiModelProperty(value = "供应商id")
|
||||
private Long supplierId;
|
||||
|
||||
/** 出厂日期 */
|
||||
@ApiModelProperty(value = "出厂日期")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
@Excel(name = "出厂日期", width = 30, dateFormat = "yyyy-MM-dd")
|
||||
private Date productionTime;
|
||||
|
||||
/** 验收数量 */
|
||||
@Excel(name = "验收数量")
|
||||
@ApiModelProperty(value = "验收数量")
|
||||
private Long checkNum;
|
||||
|
||||
/** 验收结论 */
|
||||
@Excel(name = "验收结论")
|
||||
@ApiModelProperty(value = "验收结论")
|
||||
private String checkResult;
|
||||
|
||||
/** 入库数量 */
|
||||
@Excel(name = "入库数量")
|
||||
@ApiModelProperty(value = "入库数量")
|
||||
private Long inputNum;
|
||||
|
||||
/** 入库时间 */
|
||||
@ApiModelProperty(value = "入库时间")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
@Excel(name = "入库时间", width = 30, dateFormat = "yyyy-MM-dd")
|
||||
private Date inputTime;
|
||||
|
||||
/** 附件 */
|
||||
@Excel(name = "附件")
|
||||
@ApiModelProperty(value = "附件")
|
||||
private String fileName;
|
||||
|
||||
/** 附件路径 */
|
||||
@Excel(name = "附件路径")
|
||||
@ApiModelProperty(value = "附件路径")
|
||||
private String fileUrl;
|
||||
|
||||
/** 数据所属组织 */
|
||||
@Excel(name = "数据所属组织")
|
||||
@ApiModelProperty(value = "数据所属组织")
|
||||
private Long companyId;
|
||||
|
||||
/** 0待验收,1已验收 , 2,验收不通过 3,已入库 4,审核不通过 */
|
||||
@Excel(name = "0待验收,1已验收 , 2,验收不通过 3,已入库 4,审核不通过")
|
||||
@ApiModelProperty(value = "0待验收,1已验收 , 2,验收不通过 3,已入库 4,审核不通过")
|
||||
private Long status;
|
||||
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,56 @@
|
|||
package com.bonus.material.purchase.domain;
|
||||
|
||||
import java.util.Date;
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import com.bonus.common.core.annotation.Excel;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import lombok.ToString;
|
||||
import com.bonus.common.core.web.domain.BaseEntity;
|
||||
|
||||
/**
|
||||
* 新购配件验收任务对象 purchase_part_info
|
||||
*
|
||||
* @author xsheng
|
||||
* @date 2024-09-27
|
||||
*/
|
||||
|
||||
|
||||
@Data
|
||||
@ToString
|
||||
public class PurchasePartInfo extends BaseEntity
|
||||
{
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/** ID */
|
||||
private Long ID;
|
||||
|
||||
/** 任务ID */
|
||||
@Excel(name = "任务ID")
|
||||
@ApiModelProperty(value = "任务ID")
|
||||
private Long taskId;
|
||||
|
||||
/** 采购日期 */
|
||||
@ApiModelProperty(value = "采购日期")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
@Excel(name = "采购日期", width = 30, dateFormat = "yyyy-MM-dd")
|
||||
private Date purchaseTime;
|
||||
|
||||
/** 到货日期 */
|
||||
@ApiModelProperty(value = "到货日期")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||
@Excel(name = "到货日期", width = 30, dateFormat = "yyyy-MM-dd")
|
||||
private Date arrivalTime;
|
||||
|
||||
/** 采购员 */
|
||||
@Excel(name = "采购员")
|
||||
@ApiModelProperty(value = "采购员")
|
||||
private Long purchaser;
|
||||
|
||||
/** 数据所属组织 */
|
||||
@Excel(name = "数据所属组织")
|
||||
@ApiModelProperty(value = "数据所属组织")
|
||||
private Long companyId;
|
||||
|
||||
|
||||
}
|
||||
|
|
@ -0,0 +1,61 @@
|
|||
package com.bonus.material.purchase.mapper;
|
||||
|
||||
import java.util.List;
|
||||
import com.bonus.material.purchase.domain.PurchaseCheckDetails;
|
||||
|
||||
/**
|
||||
* 新购验收任务详细Mapper接口
|
||||
*
|
||||
* @author xsheng
|
||||
* @date 2024-09-27
|
||||
*/
|
||||
public interface PurchaseCheckDetailsMapper
|
||||
{
|
||||
/**
|
||||
* 查询新购验收任务详细
|
||||
*
|
||||
* @param id 新购验收任务详细主键
|
||||
* @return 新购验收任务详细
|
||||
*/
|
||||
public PurchaseCheckDetails selectPurchaseCheckDetailsById(Long id);
|
||||
|
||||
/**
|
||||
* 查询新购验收任务详细列表
|
||||
*
|
||||
* @param purchaseCheckDetails 新购验收任务详细
|
||||
* @return 新购验收任务详细集合
|
||||
*/
|
||||
public List<PurchaseCheckDetails> selectPurchaseCheckDetailsList(PurchaseCheckDetails purchaseCheckDetails);
|
||||
|
||||
/**
|
||||
* 新增新购验收任务详细
|
||||
*
|
||||
* @param purchaseCheckDetails 新购验收任务详细
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertPurchaseCheckDetails(PurchaseCheckDetails purchaseCheckDetails);
|
||||
|
||||
/**
|
||||
* 修改新购验收任务详细
|
||||
*
|
||||
* @param purchaseCheckDetails 新购验收任务详细
|
||||
* @return 结果
|
||||
*/
|
||||
public int updatePurchaseCheckDetails(PurchaseCheckDetails purchaseCheckDetails);
|
||||
|
||||
/**
|
||||
* 删除新购验收任务详细
|
||||
*
|
||||
* @param id 新购验收任务详细主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deletePurchaseCheckDetailsById(Long id);
|
||||
|
||||
/**
|
||||
* 批量删除新购验收任务详细
|
||||
*
|
||||
* @param ids 需要删除的数据主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deletePurchaseCheckDetailsByIds(Long[] ids);
|
||||
}
|
||||
|
|
@ -0,0 +1,61 @@
|
|||
package com.bonus.material.purchase.mapper;
|
||||
|
||||
import java.util.List;
|
||||
import com.bonus.material.purchase.domain.PurchaseCheckInfo;
|
||||
|
||||
/**
|
||||
* 新购验收任务Mapper接口
|
||||
*
|
||||
* @author xsheng
|
||||
* @date 2024-09-27
|
||||
*/
|
||||
public interface PurchaseCheckInfoMapper
|
||||
{
|
||||
/**
|
||||
* 查询新购验收任务
|
||||
*
|
||||
* @param id 新购验收任务主键
|
||||
* @return 新购验收任务
|
||||
*/
|
||||
public PurchaseCheckInfo selectPurchaseCheckInfoById(Long id);
|
||||
|
||||
/**
|
||||
* 查询新购验收任务列表
|
||||
*
|
||||
* @param purchaseCheckInfo 新购验收任务
|
||||
* @return 新购验收任务集合
|
||||
*/
|
||||
public List<PurchaseCheckInfo> selectPurchaseCheckInfoList(PurchaseCheckInfo purchaseCheckInfo);
|
||||
|
||||
/**
|
||||
* 新增新购验收任务
|
||||
*
|
||||
* @param purchaseCheckInfo 新购验收任务
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertPurchaseCheckInfo(PurchaseCheckInfo purchaseCheckInfo);
|
||||
|
||||
/**
|
||||
* 修改新购验收任务
|
||||
*
|
||||
* @param purchaseCheckInfo 新购验收任务
|
||||
* @return 结果
|
||||
*/
|
||||
public int updatePurchaseCheckInfo(PurchaseCheckInfo purchaseCheckInfo);
|
||||
|
||||
/**
|
||||
* 删除新购验收任务
|
||||
*
|
||||
* @param id 新购验收任务主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deletePurchaseCheckInfoById(Long id);
|
||||
|
||||
/**
|
||||
* 批量删除新购验收任务
|
||||
*
|
||||
* @param ids 需要删除的数据主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deletePurchaseCheckInfoByIds(Long[] ids);
|
||||
}
|
||||
|
|
@ -0,0 +1,61 @@
|
|||
package com.bonus.material.purchase.mapper;
|
||||
|
||||
import java.util.List;
|
||||
import com.bonus.material.purchase.domain.PurchaseMacodeInfo;
|
||||
|
||||
/**
|
||||
* 新购验收编号管理Mapper接口
|
||||
*
|
||||
* @author xsheng
|
||||
* @date 2024-09-27
|
||||
*/
|
||||
public interface PurchaseMacodeInfoMapper
|
||||
{
|
||||
/**
|
||||
* 查询新购验收编号管理
|
||||
*
|
||||
* @param id 新购验收编号管理主键
|
||||
* @return 新购验收编号管理
|
||||
*/
|
||||
public PurchaseMacodeInfo selectPurchaseMacodeInfoById(Long id);
|
||||
|
||||
/**
|
||||
* 查询新购验收编号管理列表
|
||||
*
|
||||
* @param purchaseMacodeInfo 新购验收编号管理
|
||||
* @return 新购验收编号管理集合
|
||||
*/
|
||||
public List<PurchaseMacodeInfo> selectPurchaseMacodeInfoList(PurchaseMacodeInfo purchaseMacodeInfo);
|
||||
|
||||
/**
|
||||
* 新增新购验收编号管理
|
||||
*
|
||||
* @param purchaseMacodeInfo 新购验收编号管理
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertPurchaseMacodeInfo(PurchaseMacodeInfo purchaseMacodeInfo);
|
||||
|
||||
/**
|
||||
* 修改新购验收编号管理
|
||||
*
|
||||
* @param purchaseMacodeInfo 新购验收编号管理
|
||||
* @return 结果
|
||||
*/
|
||||
public int updatePurchaseMacodeInfo(PurchaseMacodeInfo purchaseMacodeInfo);
|
||||
|
||||
/**
|
||||
* 删除新购验收编号管理
|
||||
*
|
||||
* @param id 新购验收编号管理主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deletePurchaseMacodeInfoById(Long id);
|
||||
|
||||
/**
|
||||
* 批量删除新购验收编号管理
|
||||
*
|
||||
* @param ids 需要删除的数据主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deletePurchaseMacodeInfoByIds(Long[] ids);
|
||||
}
|
||||
|
|
@ -0,0 +1,61 @@
|
|||
package com.bonus.material.purchase.mapper;
|
||||
|
||||
import java.util.List;
|
||||
import com.bonus.material.purchase.domain.PurchaseNoticePerson;
|
||||
|
||||
/**
|
||||
* 新购短信通知人员Mapper接口
|
||||
*
|
||||
* @author xsheng
|
||||
* @date 2024-09-27
|
||||
*/
|
||||
public interface PurchaseNoticePersonMapper
|
||||
{
|
||||
/**
|
||||
* 查询新购短信通知人员
|
||||
*
|
||||
* @param id 新购短信通知人员主键
|
||||
* @return 新购短信通知人员
|
||||
*/
|
||||
public PurchaseNoticePerson selectPurchaseNoticePersonById(Long id);
|
||||
|
||||
/**
|
||||
* 查询新购短信通知人员列表
|
||||
*
|
||||
* @param purchaseNoticePerson 新购短信通知人员
|
||||
* @return 新购短信通知人员集合
|
||||
*/
|
||||
public List<PurchaseNoticePerson> selectPurchaseNoticePersonList(PurchaseNoticePerson purchaseNoticePerson);
|
||||
|
||||
/**
|
||||
* 新增新购短信通知人员
|
||||
*
|
||||
* @param purchaseNoticePerson 新购短信通知人员
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertPurchaseNoticePerson(PurchaseNoticePerson purchaseNoticePerson);
|
||||
|
||||
/**
|
||||
* 修改新购短信通知人员
|
||||
*
|
||||
* @param purchaseNoticePerson 新购短信通知人员
|
||||
* @return 结果
|
||||
*/
|
||||
public int updatePurchaseNoticePerson(PurchaseNoticePerson purchaseNoticePerson);
|
||||
|
||||
/**
|
||||
* 删除新购短信通知人员
|
||||
*
|
||||
* @param id 新购短信通知人员主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deletePurchaseNoticePersonById(Long id);
|
||||
|
||||
/**
|
||||
* 批量删除新购短信通知人员
|
||||
*
|
||||
* @param ids 需要删除的数据主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deletePurchaseNoticePersonByIds(Long[] ids);
|
||||
}
|
||||
|
|
@ -0,0 +1,61 @@
|
|||
package com.bonus.material.purchase.mapper;
|
||||
|
||||
import java.util.List;
|
||||
import com.bonus.material.purchase.domain.PurchasePartDetails;
|
||||
|
||||
/**
|
||||
* 新购配件验收任务详细Mapper接口
|
||||
*
|
||||
* @author xsheng
|
||||
* @date 2024-09-27
|
||||
*/
|
||||
public interface PurchasePartDetailsMapper
|
||||
{
|
||||
/**
|
||||
* 查询新购配件验收任务详细
|
||||
*
|
||||
* @param id 新购配件验收任务详细主键
|
||||
* @return 新购配件验收任务详细
|
||||
*/
|
||||
public PurchasePartDetails selectPurchasePartDetailsById(Long id);
|
||||
|
||||
/**
|
||||
* 查询新购配件验收任务详细列表
|
||||
*
|
||||
* @param purchasePartDetails 新购配件验收任务详细
|
||||
* @return 新购配件验收任务详细集合
|
||||
*/
|
||||
public List<PurchasePartDetails> selectPurchasePartDetailsList(PurchasePartDetails purchasePartDetails);
|
||||
|
||||
/**
|
||||
* 新增新购配件验收任务详细
|
||||
*
|
||||
* @param purchasePartDetails 新购配件验收任务详细
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertPurchasePartDetails(PurchasePartDetails purchasePartDetails);
|
||||
|
||||
/**
|
||||
* 修改新购配件验收任务详细
|
||||
*
|
||||
* @param purchasePartDetails 新购配件验收任务详细
|
||||
* @return 结果
|
||||
*/
|
||||
public int updatePurchasePartDetails(PurchasePartDetails purchasePartDetails);
|
||||
|
||||
/**
|
||||
* 删除新购配件验收任务详细
|
||||
*
|
||||
* @param id 新购配件验收任务详细主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deletePurchasePartDetailsById(Long id);
|
||||
|
||||
/**
|
||||
* 批量删除新购配件验收任务详细
|
||||
*
|
||||
* @param ids 需要删除的数据主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deletePurchasePartDetailsByIds(Long[] ids);
|
||||
}
|
||||
|
|
@ -0,0 +1,61 @@
|
|||
package com.bonus.material.purchase.mapper;
|
||||
|
||||
import java.util.List;
|
||||
import com.bonus.material.purchase.domain.PurchasePartInfo;
|
||||
|
||||
/**
|
||||
* 新购配件验收任务Mapper接口
|
||||
*
|
||||
* @author xsheng
|
||||
* @date 2024-09-27
|
||||
*/
|
||||
public interface PurchasePartInfoMapper
|
||||
{
|
||||
/**
|
||||
* 查询新购配件验收任务
|
||||
*
|
||||
* @param ID 新购配件验收任务主键
|
||||
* @return 新购配件验收任务
|
||||
*/
|
||||
public PurchasePartInfo selectPurchasePartInfoByID(Long ID);
|
||||
|
||||
/**
|
||||
* 查询新购配件验收任务列表
|
||||
*
|
||||
* @param purchasePartInfo 新购配件验收任务
|
||||
* @return 新购配件验收任务集合
|
||||
*/
|
||||
public List<PurchasePartInfo> selectPurchasePartInfoList(PurchasePartInfo purchasePartInfo);
|
||||
|
||||
/**
|
||||
* 新增新购配件验收任务
|
||||
*
|
||||
* @param purchasePartInfo 新购配件验收任务
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertPurchasePartInfo(PurchasePartInfo purchasePartInfo);
|
||||
|
||||
/**
|
||||
* 修改新购配件验收任务
|
||||
*
|
||||
* @param purchasePartInfo 新购配件验收任务
|
||||
* @return 结果
|
||||
*/
|
||||
public int updatePurchasePartInfo(PurchasePartInfo purchasePartInfo);
|
||||
|
||||
/**
|
||||
* 删除新购配件验收任务
|
||||
*
|
||||
* @param ID 新购配件验收任务主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deletePurchasePartInfoByID(Long ID);
|
||||
|
||||
/**
|
||||
* 批量删除新购配件验收任务
|
||||
*
|
||||
* @param IDs 需要删除的数据主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deletePurchasePartInfoByIDs(Long[] IDs);
|
||||
}
|
||||
|
|
@ -0,0 +1,61 @@
|
|||
package com.bonus.material.purchase.service;
|
||||
|
||||
import java.util.List;
|
||||
import com.bonus.material.purchase.domain.PurchaseCheckDetails;
|
||||
|
||||
/**
|
||||
* 新购验收任务详细Service接口
|
||||
*
|
||||
* @author xsheng
|
||||
* @date 2024-09-27
|
||||
*/
|
||||
public interface IPurchaseCheckDetailsService
|
||||
{
|
||||
/**
|
||||
* 查询新购验收任务详细
|
||||
*
|
||||
* @param id 新购验收任务详细主键
|
||||
* @return 新购验收任务详细
|
||||
*/
|
||||
public PurchaseCheckDetails selectPurchaseCheckDetailsById(Long id);
|
||||
|
||||
/**
|
||||
* 查询新购验收任务详细列表
|
||||
*
|
||||
* @param purchaseCheckDetails 新购验收任务详细
|
||||
* @return 新购验收任务详细集合
|
||||
*/
|
||||
public List<PurchaseCheckDetails> selectPurchaseCheckDetailsList(PurchaseCheckDetails purchaseCheckDetails);
|
||||
|
||||
/**
|
||||
* 新增新购验收任务详细
|
||||
*
|
||||
* @param purchaseCheckDetails 新购验收任务详细
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertPurchaseCheckDetails(PurchaseCheckDetails purchaseCheckDetails);
|
||||
|
||||
/**
|
||||
* 修改新购验收任务详细
|
||||
*
|
||||
* @param purchaseCheckDetails 新购验收任务详细
|
||||
* @return 结果
|
||||
*/
|
||||
public int updatePurchaseCheckDetails(PurchaseCheckDetails purchaseCheckDetails);
|
||||
|
||||
/**
|
||||
* 批量删除新购验收任务详细
|
||||
*
|
||||
* @param ids 需要删除的新购验收任务详细主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deletePurchaseCheckDetailsByIds(Long[] ids);
|
||||
|
||||
/**
|
||||
* 删除新购验收任务详细信息
|
||||
*
|
||||
* @param id 新购验收任务详细主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deletePurchaseCheckDetailsById(Long id);
|
||||
}
|
||||
|
|
@ -0,0 +1,61 @@
|
|||
package com.bonus.material.purchase.service;
|
||||
|
||||
import java.util.List;
|
||||
import com.bonus.material.purchase.domain.PurchaseCheckInfo;
|
||||
|
||||
/**
|
||||
* 新购验收任务Service接口
|
||||
*
|
||||
* @author xsheng
|
||||
* @date 2024-09-27
|
||||
*/
|
||||
public interface IPurchaseCheckInfoService
|
||||
{
|
||||
/**
|
||||
* 查询新购验收任务
|
||||
*
|
||||
* @param id 新购验收任务主键
|
||||
* @return 新购验收任务
|
||||
*/
|
||||
public PurchaseCheckInfo selectPurchaseCheckInfoById(Long id);
|
||||
|
||||
/**
|
||||
* 查询新购验收任务列表
|
||||
*
|
||||
* @param purchaseCheckInfo 新购验收任务
|
||||
* @return 新购验收任务集合
|
||||
*/
|
||||
public List<PurchaseCheckInfo> selectPurchaseCheckInfoList(PurchaseCheckInfo purchaseCheckInfo);
|
||||
|
||||
/**
|
||||
* 新增新购验收任务
|
||||
*
|
||||
* @param purchaseCheckInfo 新购验收任务
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertPurchaseCheckInfo(PurchaseCheckInfo purchaseCheckInfo);
|
||||
|
||||
/**
|
||||
* 修改新购验收任务
|
||||
*
|
||||
* @param purchaseCheckInfo 新购验收任务
|
||||
* @return 结果
|
||||
*/
|
||||
public int updatePurchaseCheckInfo(PurchaseCheckInfo purchaseCheckInfo);
|
||||
|
||||
/**
|
||||
* 批量删除新购验收任务
|
||||
*
|
||||
* @param ids 需要删除的新购验收任务主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deletePurchaseCheckInfoByIds(Long[] ids);
|
||||
|
||||
/**
|
||||
* 删除新购验收任务信息
|
||||
*
|
||||
* @param id 新购验收任务主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deletePurchaseCheckInfoById(Long id);
|
||||
}
|
||||
|
|
@ -0,0 +1,61 @@
|
|||
package com.bonus.material.purchase.service;
|
||||
|
||||
import java.util.List;
|
||||
import com.bonus.material.purchase.domain.PurchaseMacodeInfo;
|
||||
|
||||
/**
|
||||
* 新购验收编号管理Service接口
|
||||
*
|
||||
* @author xsheng
|
||||
* @date 2024-09-27
|
||||
*/
|
||||
public interface IPurchaseMacodeInfoService
|
||||
{
|
||||
/**
|
||||
* 查询新购验收编号管理
|
||||
*
|
||||
* @param id 新购验收编号管理主键
|
||||
* @return 新购验收编号管理
|
||||
*/
|
||||
public PurchaseMacodeInfo selectPurchaseMacodeInfoById(Long id);
|
||||
|
||||
/**
|
||||
* 查询新购验收编号管理列表
|
||||
*
|
||||
* @param purchaseMacodeInfo 新购验收编号管理
|
||||
* @return 新购验收编号管理集合
|
||||
*/
|
||||
public List<PurchaseMacodeInfo> selectPurchaseMacodeInfoList(PurchaseMacodeInfo purchaseMacodeInfo);
|
||||
|
||||
/**
|
||||
* 新增新购验收编号管理
|
||||
*
|
||||
* @param purchaseMacodeInfo 新购验收编号管理
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertPurchaseMacodeInfo(PurchaseMacodeInfo purchaseMacodeInfo);
|
||||
|
||||
/**
|
||||
* 修改新购验收编号管理
|
||||
*
|
||||
* @param purchaseMacodeInfo 新购验收编号管理
|
||||
* @return 结果
|
||||
*/
|
||||
public int updatePurchaseMacodeInfo(PurchaseMacodeInfo purchaseMacodeInfo);
|
||||
|
||||
/**
|
||||
* 批量删除新购验收编号管理
|
||||
*
|
||||
* @param ids 需要删除的新购验收编号管理主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deletePurchaseMacodeInfoByIds(Long[] ids);
|
||||
|
||||
/**
|
||||
* 删除新购验收编号管理信息
|
||||
*
|
||||
* @param id 新购验收编号管理主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deletePurchaseMacodeInfoById(Long id);
|
||||
}
|
||||
|
|
@ -0,0 +1,61 @@
|
|||
package com.bonus.material.purchase.service;
|
||||
|
||||
import java.util.List;
|
||||
import com.bonus.material.purchase.domain.PurchaseNoticePerson;
|
||||
|
||||
/**
|
||||
* 新购短信通知人员Service接口
|
||||
*
|
||||
* @author xsheng
|
||||
* @date 2024-09-27
|
||||
*/
|
||||
public interface IPurchaseNoticePersonService
|
||||
{
|
||||
/**
|
||||
* 查询新购短信通知人员
|
||||
*
|
||||
* @param id 新购短信通知人员主键
|
||||
* @return 新购短信通知人员
|
||||
*/
|
||||
public PurchaseNoticePerson selectPurchaseNoticePersonById(Long id);
|
||||
|
||||
/**
|
||||
* 查询新购短信通知人员列表
|
||||
*
|
||||
* @param purchaseNoticePerson 新购短信通知人员
|
||||
* @return 新购短信通知人员集合
|
||||
*/
|
||||
public List<PurchaseNoticePerson> selectPurchaseNoticePersonList(PurchaseNoticePerson purchaseNoticePerson);
|
||||
|
||||
/**
|
||||
* 新增新购短信通知人员
|
||||
*
|
||||
* @param purchaseNoticePerson 新购短信通知人员
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertPurchaseNoticePerson(PurchaseNoticePerson purchaseNoticePerson);
|
||||
|
||||
/**
|
||||
* 修改新购短信通知人员
|
||||
*
|
||||
* @param purchaseNoticePerson 新购短信通知人员
|
||||
* @return 结果
|
||||
*/
|
||||
public int updatePurchaseNoticePerson(PurchaseNoticePerson purchaseNoticePerson);
|
||||
|
||||
/**
|
||||
* 批量删除新购短信通知人员
|
||||
*
|
||||
* @param ids 需要删除的新购短信通知人员主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deletePurchaseNoticePersonByIds(Long[] ids);
|
||||
|
||||
/**
|
||||
* 删除新购短信通知人员信息
|
||||
*
|
||||
* @param id 新购短信通知人员主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deletePurchaseNoticePersonById(Long id);
|
||||
}
|
||||
|
|
@ -0,0 +1,61 @@
|
|||
package com.bonus.material.purchase.service;
|
||||
|
||||
import java.util.List;
|
||||
import com.bonus.material.purchase.domain.PurchasePartDetails;
|
||||
|
||||
/**
|
||||
* 新购配件验收任务详细Service接口
|
||||
*
|
||||
* @author xsheng
|
||||
* @date 2024-09-27
|
||||
*/
|
||||
public interface IPurchasePartDetailsService
|
||||
{
|
||||
/**
|
||||
* 查询新购配件验收任务详细
|
||||
*
|
||||
* @param id 新购配件验收任务详细主键
|
||||
* @return 新购配件验收任务详细
|
||||
*/
|
||||
public PurchasePartDetails selectPurchasePartDetailsById(Long id);
|
||||
|
||||
/**
|
||||
* 查询新购配件验收任务详细列表
|
||||
*
|
||||
* @param purchasePartDetails 新购配件验收任务详细
|
||||
* @return 新购配件验收任务详细集合
|
||||
*/
|
||||
public List<PurchasePartDetails> selectPurchasePartDetailsList(PurchasePartDetails purchasePartDetails);
|
||||
|
||||
/**
|
||||
* 新增新购配件验收任务详细
|
||||
*
|
||||
* @param purchasePartDetails 新购配件验收任务详细
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertPurchasePartDetails(PurchasePartDetails purchasePartDetails);
|
||||
|
||||
/**
|
||||
* 修改新购配件验收任务详细
|
||||
*
|
||||
* @param purchasePartDetails 新购配件验收任务详细
|
||||
* @return 结果
|
||||
*/
|
||||
public int updatePurchasePartDetails(PurchasePartDetails purchasePartDetails);
|
||||
|
||||
/**
|
||||
* 批量删除新购配件验收任务详细
|
||||
*
|
||||
* @param ids 需要删除的新购配件验收任务详细主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deletePurchasePartDetailsByIds(Long[] ids);
|
||||
|
||||
/**
|
||||
* 删除新购配件验收任务详细信息
|
||||
*
|
||||
* @param id 新购配件验收任务详细主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deletePurchasePartDetailsById(Long id);
|
||||
}
|
||||
|
|
@ -0,0 +1,61 @@
|
|||
package com.bonus.material.purchase.service;
|
||||
|
||||
import java.util.List;
|
||||
import com.bonus.material.purchase.domain.PurchasePartInfo;
|
||||
|
||||
/**
|
||||
* 新购配件验收任务Service接口
|
||||
*
|
||||
* @author xsheng
|
||||
* @date 2024-09-27
|
||||
*/
|
||||
public interface IPurchasePartInfoService
|
||||
{
|
||||
/**
|
||||
* 查询新购配件验收任务
|
||||
*
|
||||
* @param ID 新购配件验收任务主键
|
||||
* @return 新购配件验收任务
|
||||
*/
|
||||
public PurchasePartInfo selectPurchasePartInfoByID(Long ID);
|
||||
|
||||
/**
|
||||
* 查询新购配件验收任务列表
|
||||
*
|
||||
* @param purchasePartInfo 新购配件验收任务
|
||||
* @return 新购配件验收任务集合
|
||||
*/
|
||||
public List<PurchasePartInfo> selectPurchasePartInfoList(PurchasePartInfo purchasePartInfo);
|
||||
|
||||
/**
|
||||
* 新增新购配件验收任务
|
||||
*
|
||||
* @param purchasePartInfo 新购配件验收任务
|
||||
* @return 结果
|
||||
*/
|
||||
public int insertPurchasePartInfo(PurchasePartInfo purchasePartInfo);
|
||||
|
||||
/**
|
||||
* 修改新购配件验收任务
|
||||
*
|
||||
* @param purchasePartInfo 新购配件验收任务
|
||||
* @return 结果
|
||||
*/
|
||||
public int updatePurchasePartInfo(PurchasePartInfo purchasePartInfo);
|
||||
|
||||
/**
|
||||
* 批量删除新购配件验收任务
|
||||
*
|
||||
* @param IDs 需要删除的新购配件验收任务主键集合
|
||||
* @return 结果
|
||||
*/
|
||||
public int deletePurchasePartInfoByIDs(Long[] IDs);
|
||||
|
||||
/**
|
||||
* 删除新购配件验收任务信息
|
||||
*
|
||||
* @param ID 新购配件验收任务主键
|
||||
* @return 结果
|
||||
*/
|
||||
public int deletePurchasePartInfoByID(Long ID);
|
||||
}
|
||||
|
|
@ -0,0 +1,96 @@
|
|||
package com.bonus.material.purchase.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
import com.bonus.common.core.utils.DateUtils;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.bonus.material.purchase.mapper.PurchaseCheckDetailsMapper;
|
||||
import com.bonus.material.purchase.domain.PurchaseCheckDetails;
|
||||
import com.bonus.material.purchase.service.IPurchaseCheckDetailsService;
|
||||
|
||||
/**
|
||||
* 新购验收任务详细Service业务层处理
|
||||
*
|
||||
* @author xsheng
|
||||
* @date 2024-09-27
|
||||
*/
|
||||
@Service
|
||||
public class PurchaseCheckDetailsServiceImpl implements IPurchaseCheckDetailsService
|
||||
{
|
||||
@Autowired
|
||||
private PurchaseCheckDetailsMapper purchaseCheckDetailsMapper;
|
||||
|
||||
/**
|
||||
* 查询新购验收任务详细
|
||||
*
|
||||
* @param id 新购验收任务详细主键
|
||||
* @return 新购验收任务详细
|
||||
*/
|
||||
@Override
|
||||
public PurchaseCheckDetails selectPurchaseCheckDetailsById(Long id)
|
||||
{
|
||||
return purchaseCheckDetailsMapper.selectPurchaseCheckDetailsById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询新购验收任务详细列表
|
||||
*
|
||||
* @param purchaseCheckDetails 新购验收任务详细
|
||||
* @return 新购验收任务详细
|
||||
*/
|
||||
@Override
|
||||
public List<PurchaseCheckDetails> selectPurchaseCheckDetailsList(PurchaseCheckDetails purchaseCheckDetails)
|
||||
{
|
||||
return purchaseCheckDetailsMapper.selectPurchaseCheckDetailsList(purchaseCheckDetails);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增新购验收任务详细
|
||||
*
|
||||
* @param purchaseCheckDetails 新购验收任务详细
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertPurchaseCheckDetails(PurchaseCheckDetails purchaseCheckDetails)
|
||||
{
|
||||
purchaseCheckDetails.setCreateTime(DateUtils.getNowDate());
|
||||
return purchaseCheckDetailsMapper.insertPurchaseCheckDetails(purchaseCheckDetails);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改新购验收任务详细
|
||||
*
|
||||
* @param purchaseCheckDetails 新购验收任务详细
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updatePurchaseCheckDetails(PurchaseCheckDetails purchaseCheckDetails)
|
||||
{
|
||||
purchaseCheckDetails.setUpdateTime(DateUtils.getNowDate());
|
||||
return purchaseCheckDetailsMapper.updatePurchaseCheckDetails(purchaseCheckDetails);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除新购验收任务详细
|
||||
*
|
||||
* @param ids 需要删除的新购验收任务详细主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deletePurchaseCheckDetailsByIds(Long[] ids)
|
||||
{
|
||||
return purchaseCheckDetailsMapper.deletePurchaseCheckDetailsByIds(ids);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除新购验收任务详细信息
|
||||
*
|
||||
* @param id 新购验收任务详细主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deletePurchaseCheckDetailsById(Long id)
|
||||
{
|
||||
return purchaseCheckDetailsMapper.deletePurchaseCheckDetailsById(id);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,96 @@
|
|||
package com.bonus.material.purchase.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
import com.bonus.common.core.utils.DateUtils;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.bonus.material.purchase.mapper.PurchaseCheckInfoMapper;
|
||||
import com.bonus.material.purchase.domain.PurchaseCheckInfo;
|
||||
import com.bonus.material.purchase.service.IPurchaseCheckInfoService;
|
||||
|
||||
/**
|
||||
* 新购验收任务Service业务层处理
|
||||
*
|
||||
* @author xsheng
|
||||
* @date 2024-09-27
|
||||
*/
|
||||
@Service
|
||||
public class PurchaseCheckInfoServiceImpl implements IPurchaseCheckInfoService
|
||||
{
|
||||
@Autowired
|
||||
private PurchaseCheckInfoMapper purchaseCheckInfoMapper;
|
||||
|
||||
/**
|
||||
* 查询新购验收任务
|
||||
*
|
||||
* @param id 新购验收任务主键
|
||||
* @return 新购验收任务
|
||||
*/
|
||||
@Override
|
||||
public PurchaseCheckInfo selectPurchaseCheckInfoById(Long id)
|
||||
{
|
||||
return purchaseCheckInfoMapper.selectPurchaseCheckInfoById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询新购验收任务列表
|
||||
*
|
||||
* @param purchaseCheckInfo 新购验收任务
|
||||
* @return 新购验收任务
|
||||
*/
|
||||
@Override
|
||||
public List<PurchaseCheckInfo> selectPurchaseCheckInfoList(PurchaseCheckInfo purchaseCheckInfo)
|
||||
{
|
||||
return purchaseCheckInfoMapper.selectPurchaseCheckInfoList(purchaseCheckInfo);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增新购验收任务
|
||||
*
|
||||
* @param purchaseCheckInfo 新购验收任务
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertPurchaseCheckInfo(PurchaseCheckInfo purchaseCheckInfo)
|
||||
{
|
||||
purchaseCheckInfo.setCreateTime(DateUtils.getNowDate());
|
||||
return purchaseCheckInfoMapper.insertPurchaseCheckInfo(purchaseCheckInfo);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改新购验收任务
|
||||
*
|
||||
* @param purchaseCheckInfo 新购验收任务
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updatePurchaseCheckInfo(PurchaseCheckInfo purchaseCheckInfo)
|
||||
{
|
||||
purchaseCheckInfo.setUpdateTime(DateUtils.getNowDate());
|
||||
return purchaseCheckInfoMapper.updatePurchaseCheckInfo(purchaseCheckInfo);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除新购验收任务
|
||||
*
|
||||
* @param ids 需要删除的新购验收任务主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deletePurchaseCheckInfoByIds(Long[] ids)
|
||||
{
|
||||
return purchaseCheckInfoMapper.deletePurchaseCheckInfoByIds(ids);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除新购验收任务信息
|
||||
*
|
||||
* @param id 新购验收任务主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deletePurchaseCheckInfoById(Long id)
|
||||
{
|
||||
return purchaseCheckInfoMapper.deletePurchaseCheckInfoById(id);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,96 @@
|
|||
package com.bonus.material.purchase.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
import com.bonus.common.core.utils.DateUtils;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.bonus.material.purchase.mapper.PurchaseMacodeInfoMapper;
|
||||
import com.bonus.material.purchase.domain.PurchaseMacodeInfo;
|
||||
import com.bonus.material.purchase.service.IPurchaseMacodeInfoService;
|
||||
|
||||
/**
|
||||
* 新购验收编号管理Service业务层处理
|
||||
*
|
||||
* @author xsheng
|
||||
* @date 2024-09-27
|
||||
*/
|
||||
@Service
|
||||
public class PurchaseMacodeInfoServiceImpl implements IPurchaseMacodeInfoService
|
||||
{
|
||||
@Autowired
|
||||
private PurchaseMacodeInfoMapper purchaseMacodeInfoMapper;
|
||||
|
||||
/**
|
||||
* 查询新购验收编号管理
|
||||
*
|
||||
* @param id 新购验收编号管理主键
|
||||
* @return 新购验收编号管理
|
||||
*/
|
||||
@Override
|
||||
public PurchaseMacodeInfo selectPurchaseMacodeInfoById(Long id)
|
||||
{
|
||||
return purchaseMacodeInfoMapper.selectPurchaseMacodeInfoById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询新购验收编号管理列表
|
||||
*
|
||||
* @param purchaseMacodeInfo 新购验收编号管理
|
||||
* @return 新购验收编号管理
|
||||
*/
|
||||
@Override
|
||||
public List<PurchaseMacodeInfo> selectPurchaseMacodeInfoList(PurchaseMacodeInfo purchaseMacodeInfo)
|
||||
{
|
||||
return purchaseMacodeInfoMapper.selectPurchaseMacodeInfoList(purchaseMacodeInfo);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增新购验收编号管理
|
||||
*
|
||||
* @param purchaseMacodeInfo 新购验收编号管理
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertPurchaseMacodeInfo(PurchaseMacodeInfo purchaseMacodeInfo)
|
||||
{
|
||||
purchaseMacodeInfo.setCreateTime(DateUtils.getNowDate());
|
||||
return purchaseMacodeInfoMapper.insertPurchaseMacodeInfo(purchaseMacodeInfo);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改新购验收编号管理
|
||||
*
|
||||
* @param purchaseMacodeInfo 新购验收编号管理
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updatePurchaseMacodeInfo(PurchaseMacodeInfo purchaseMacodeInfo)
|
||||
{
|
||||
purchaseMacodeInfo.setUpdateTime(DateUtils.getNowDate());
|
||||
return purchaseMacodeInfoMapper.updatePurchaseMacodeInfo(purchaseMacodeInfo);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除新购验收编号管理
|
||||
*
|
||||
* @param ids 需要删除的新购验收编号管理主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deletePurchaseMacodeInfoByIds(Long[] ids)
|
||||
{
|
||||
return purchaseMacodeInfoMapper.deletePurchaseMacodeInfoByIds(ids);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除新购验收编号管理信息
|
||||
*
|
||||
* @param id 新购验收编号管理主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deletePurchaseMacodeInfoById(Long id)
|
||||
{
|
||||
return purchaseMacodeInfoMapper.deletePurchaseMacodeInfoById(id);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,96 @@
|
|||
package com.bonus.material.purchase.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
import com.bonus.common.core.utils.DateUtils;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.bonus.material.purchase.mapper.PurchaseNoticePersonMapper;
|
||||
import com.bonus.material.purchase.domain.PurchaseNoticePerson;
|
||||
import com.bonus.material.purchase.service.IPurchaseNoticePersonService;
|
||||
|
||||
/**
|
||||
* 新购短信通知人员Service业务层处理
|
||||
*
|
||||
* @author xsheng
|
||||
* @date 2024-09-27
|
||||
*/
|
||||
@Service
|
||||
public class PurchaseNoticePersonServiceImpl implements IPurchaseNoticePersonService
|
||||
{
|
||||
@Autowired
|
||||
private PurchaseNoticePersonMapper purchaseNoticePersonMapper;
|
||||
|
||||
/**
|
||||
* 查询新购短信通知人员
|
||||
*
|
||||
* @param id 新购短信通知人员主键
|
||||
* @return 新购短信通知人员
|
||||
*/
|
||||
@Override
|
||||
public PurchaseNoticePerson selectPurchaseNoticePersonById(Long id)
|
||||
{
|
||||
return purchaseNoticePersonMapper.selectPurchaseNoticePersonById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询新购短信通知人员列表
|
||||
*
|
||||
* @param purchaseNoticePerson 新购短信通知人员
|
||||
* @return 新购短信通知人员
|
||||
*/
|
||||
@Override
|
||||
public List<PurchaseNoticePerson> selectPurchaseNoticePersonList(PurchaseNoticePerson purchaseNoticePerson)
|
||||
{
|
||||
return purchaseNoticePersonMapper.selectPurchaseNoticePersonList(purchaseNoticePerson);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增新购短信通知人员
|
||||
*
|
||||
* @param purchaseNoticePerson 新购短信通知人员
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertPurchaseNoticePerson(PurchaseNoticePerson purchaseNoticePerson)
|
||||
{
|
||||
purchaseNoticePerson.setCreateTime(DateUtils.getNowDate());
|
||||
return purchaseNoticePersonMapper.insertPurchaseNoticePerson(purchaseNoticePerson);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改新购短信通知人员
|
||||
*
|
||||
* @param purchaseNoticePerson 新购短信通知人员
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updatePurchaseNoticePerson(PurchaseNoticePerson purchaseNoticePerson)
|
||||
{
|
||||
purchaseNoticePerson.setUpdateTime(DateUtils.getNowDate());
|
||||
return purchaseNoticePersonMapper.updatePurchaseNoticePerson(purchaseNoticePerson);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除新购短信通知人员
|
||||
*
|
||||
* @param ids 需要删除的新购短信通知人员主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deletePurchaseNoticePersonByIds(Long[] ids)
|
||||
{
|
||||
return purchaseNoticePersonMapper.deletePurchaseNoticePersonByIds(ids);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除新购短信通知人员信息
|
||||
*
|
||||
* @param id 新购短信通知人员主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deletePurchaseNoticePersonById(Long id)
|
||||
{
|
||||
return purchaseNoticePersonMapper.deletePurchaseNoticePersonById(id);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,96 @@
|
|||
package com.bonus.material.purchase.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
import com.bonus.common.core.utils.DateUtils;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.bonus.material.purchase.mapper.PurchasePartDetailsMapper;
|
||||
import com.bonus.material.purchase.domain.PurchasePartDetails;
|
||||
import com.bonus.material.purchase.service.IPurchasePartDetailsService;
|
||||
|
||||
/**
|
||||
* 新购配件验收任务详细Service业务层处理
|
||||
*
|
||||
* @author xsheng
|
||||
* @date 2024-09-27
|
||||
*/
|
||||
@Service
|
||||
public class PurchasePartDetailsServiceImpl implements IPurchasePartDetailsService
|
||||
{
|
||||
@Autowired
|
||||
private PurchasePartDetailsMapper purchasePartDetailsMapper;
|
||||
|
||||
/**
|
||||
* 查询新购配件验收任务详细
|
||||
*
|
||||
* @param id 新购配件验收任务详细主键
|
||||
* @return 新购配件验收任务详细
|
||||
*/
|
||||
@Override
|
||||
public PurchasePartDetails selectPurchasePartDetailsById(Long id)
|
||||
{
|
||||
return purchasePartDetailsMapper.selectPurchasePartDetailsById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询新购配件验收任务详细列表
|
||||
*
|
||||
* @param purchasePartDetails 新购配件验收任务详细
|
||||
* @return 新购配件验收任务详细
|
||||
*/
|
||||
@Override
|
||||
public List<PurchasePartDetails> selectPurchasePartDetailsList(PurchasePartDetails purchasePartDetails)
|
||||
{
|
||||
return purchasePartDetailsMapper.selectPurchasePartDetailsList(purchasePartDetails);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增新购配件验收任务详细
|
||||
*
|
||||
* @param purchasePartDetails 新购配件验收任务详细
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertPurchasePartDetails(PurchasePartDetails purchasePartDetails)
|
||||
{
|
||||
purchasePartDetails.setCreateTime(DateUtils.getNowDate());
|
||||
return purchasePartDetailsMapper.insertPurchasePartDetails(purchasePartDetails);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改新购配件验收任务详细
|
||||
*
|
||||
* @param purchasePartDetails 新购配件验收任务详细
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updatePurchasePartDetails(PurchasePartDetails purchasePartDetails)
|
||||
{
|
||||
purchasePartDetails.setUpdateTime(DateUtils.getNowDate());
|
||||
return purchasePartDetailsMapper.updatePurchasePartDetails(purchasePartDetails);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除新购配件验收任务详细
|
||||
*
|
||||
* @param ids 需要删除的新购配件验收任务详细主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deletePurchasePartDetailsByIds(Long[] ids)
|
||||
{
|
||||
return purchasePartDetailsMapper.deletePurchasePartDetailsByIds(ids);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除新购配件验收任务详细信息
|
||||
*
|
||||
* @param id 新购配件验收任务详细主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deletePurchasePartDetailsById(Long id)
|
||||
{
|
||||
return purchasePartDetailsMapper.deletePurchasePartDetailsById(id);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,96 @@
|
|||
package com.bonus.material.purchase.service.impl;
|
||||
|
||||
import java.util.List;
|
||||
import com.bonus.common.core.utils.DateUtils;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.bonus.material.purchase.mapper.PurchasePartInfoMapper;
|
||||
import com.bonus.material.purchase.domain.PurchasePartInfo;
|
||||
import com.bonus.material.purchase.service.IPurchasePartInfoService;
|
||||
|
||||
/**
|
||||
* 新购配件验收任务Service业务层处理
|
||||
*
|
||||
* @author xsheng
|
||||
* @date 2024-09-27
|
||||
*/
|
||||
@Service
|
||||
public class PurchasePartInfoServiceImpl implements IPurchasePartInfoService
|
||||
{
|
||||
@Autowired
|
||||
private PurchasePartInfoMapper purchasePartInfoMapper;
|
||||
|
||||
/**
|
||||
* 查询新购配件验收任务
|
||||
*
|
||||
* @param ID 新购配件验收任务主键
|
||||
* @return 新购配件验收任务
|
||||
*/
|
||||
@Override
|
||||
public PurchasePartInfo selectPurchasePartInfoByID(Long ID)
|
||||
{
|
||||
return purchasePartInfoMapper.selectPurchasePartInfoByID(ID);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询新购配件验收任务列表
|
||||
*
|
||||
* @param purchasePartInfo 新购配件验收任务
|
||||
* @return 新购配件验收任务
|
||||
*/
|
||||
@Override
|
||||
public List<PurchasePartInfo> selectPurchasePartInfoList(PurchasePartInfo purchasePartInfo)
|
||||
{
|
||||
return purchasePartInfoMapper.selectPurchasePartInfoList(purchasePartInfo);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增新购配件验收任务
|
||||
*
|
||||
* @param purchasePartInfo 新购配件验收任务
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int insertPurchasePartInfo(PurchasePartInfo purchasePartInfo)
|
||||
{
|
||||
purchasePartInfo.setCreateTime(DateUtils.getNowDate());
|
||||
return purchasePartInfoMapper.insertPurchasePartInfo(purchasePartInfo);
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改新购配件验收任务
|
||||
*
|
||||
* @param purchasePartInfo 新购配件验收任务
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int updatePurchasePartInfo(PurchasePartInfo purchasePartInfo)
|
||||
{
|
||||
purchasePartInfo.setUpdateTime(DateUtils.getNowDate());
|
||||
return purchasePartInfoMapper.updatePurchasePartInfo(purchasePartInfo);
|
||||
}
|
||||
|
||||
/**
|
||||
* 批量删除新购配件验收任务
|
||||
*
|
||||
* @param IDs 需要删除的新购配件验收任务主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deletePurchasePartInfoByIDs(Long[] IDs)
|
||||
{
|
||||
return purchasePartInfoMapper.deletePurchasePartInfoByIDs(IDs);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除新购配件验收任务信息
|
||||
*
|
||||
* @param ID 新购配件验收任务主键
|
||||
* @return 结果
|
||||
*/
|
||||
@Override
|
||||
public int deletePurchasePartInfoByID(Long ID)
|
||||
{
|
||||
return purchasePartInfoMapper.deletePurchasePartInfoByID(ID);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,160 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.bonus.material.purchase.mapper.PurchaseCheckDetailsMapper">
|
||||
<resultMap type="com.bonus.material.purchase.domain.PurchaseCheckDetails" id="PurchaseCheckDetailsResult">
|
||||
<result property="id" column="id" />
|
||||
<result property="taskId" column="task_id" />
|
||||
<result property="typeId" column="type_id" />
|
||||
<result property="purchasePrice" column="purchase_price" />
|
||||
<result property="purchaseNum" column="purchase_num" />
|
||||
<result property="checkNum" column="check_num" />
|
||||
<result property="bindNum" column="bind_num" />
|
||||
<result property="checkResult" column="check_result" />
|
||||
<result property="supplierId" column="supplier_id" />
|
||||
<result property="status" column="status" />
|
||||
<result property="createBy" column="create_by" />
|
||||
<result property="productionTime" column="production_time" />
|
||||
<result property="createTime" column="create_time" />
|
||||
<result property="updateBy" column="update_by" />
|
||||
<result property="updateTime" column="update_time" />
|
||||
<result property="remark" column="remark" />
|
||||
<result property="checkUrlName" column="check_url_name" />
|
||||
<result property="checkUrl" column="check_url" />
|
||||
<result property="inputNum" column="input_num" />
|
||||
<result property="inputStatus" column="input_status" />
|
||||
<result property="inputTime" column="input_time" />
|
||||
<result property="fileName" column="file_name" />
|
||||
<result property="fileUrl" column="file_url" />
|
||||
<result property="companyId" column="company_id" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectPurchaseCheckDetailsVo">
|
||||
select id, task_id, type_id, purchase_price, purchase_num, check_num, bind_num, check_result, supplier_id, status, create_by, production_time, create_time, update_by, update_time, remark, check_url_name, check_url, input_num, input_status, input_time, file_name, file_url, company_id from purchase_check_details
|
||||
</sql>
|
||||
|
||||
<select id="selectPurchaseCheckDetailsList" parameterType="com.bonus.material.purchase.domain.PurchaseCheckDetails" resultMap="PurchaseCheckDetailsResult">
|
||||
<include refid="selectPurchaseCheckDetailsVo"/>
|
||||
<where>
|
||||
<if test="taskId != null "> and task_id = #{taskId}</if>
|
||||
<if test="typeId != null "> and type_id = #{typeId}</if>
|
||||
<if test="purchasePrice != null "> and purchase_price = #{purchasePrice}</if>
|
||||
<if test="purchaseNum != null "> and purchase_num = #{purchaseNum}</if>
|
||||
<if test="checkNum != null "> and check_num = #{checkNum}</if>
|
||||
<if test="bindNum != null "> and bind_num = #{bindNum}</if>
|
||||
<if test="checkResult != null and checkResult != ''"> and check_result = #{checkResult}</if>
|
||||
<if test="supplierId != null "> and supplier_id = #{supplierId}</if>
|
||||
<if test="status != null "> and status = #{status}</if>
|
||||
<if test="productionTime != null "> and production_time = #{productionTime}</if>
|
||||
<if test="checkUrlName != null and checkUrlName != ''"> and check_url_name like concat('%', #{checkUrlName}, '%')</if>
|
||||
<if test="checkUrl != null and checkUrl != ''"> and check_url = #{checkUrl}</if>
|
||||
<if test="inputNum != null "> and input_num = #{inputNum}</if>
|
||||
<if test="inputStatus != null and inputStatus != ''"> and input_status = #{inputStatus}</if>
|
||||
<if test="inputTime != null "> and input_time = #{inputTime}</if>
|
||||
<if test="fileName != null and fileName != ''"> and file_name like concat('%', #{fileName}, '%')</if>
|
||||
<if test="fileUrl != null and fileUrl != ''"> and file_url = #{fileUrl}</if>
|
||||
<if test="companyId != null "> and company_id = #{companyId}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectPurchaseCheckDetailsById" parameterType="Long" resultMap="PurchaseCheckDetailsResult">
|
||||
<include refid="selectPurchaseCheckDetailsVo"/>
|
||||
where id = #{id}
|
||||
</select>
|
||||
|
||||
<insert id="insertPurchaseCheckDetails" parameterType="com.bonus.material.purchase.domain.PurchaseCheckDetails" useGeneratedKeys="true" keyProperty="id">
|
||||
insert into purchase_check_details
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="taskId != null">task_id,</if>
|
||||
<if test="typeId != null">type_id,</if>
|
||||
<if test="purchasePrice != null">purchase_price,</if>
|
||||
<if test="purchaseNum != null">purchase_num,</if>
|
||||
<if test="checkNum != null">check_num,</if>
|
||||
<if test="bindNum != null">bind_num,</if>
|
||||
<if test="checkResult != null">check_result,</if>
|
||||
<if test="supplierId != null">supplier_id,</if>
|
||||
<if test="status != null">status,</if>
|
||||
<if test="createBy != null">create_by,</if>
|
||||
<if test="productionTime != null">production_time,</if>
|
||||
<if test="createTime != null">create_time,</if>
|
||||
<if test="updateBy != null">update_by,</if>
|
||||
<if test="updateTime != null">update_time,</if>
|
||||
<if test="remark != null">remark,</if>
|
||||
<if test="checkUrlName != null">check_url_name,</if>
|
||||
<if test="checkUrl != null">check_url,</if>
|
||||
<if test="inputNum != null">input_num,</if>
|
||||
<if test="inputStatus != null">input_status,</if>
|
||||
<if test="inputTime != null">input_time,</if>
|
||||
<if test="fileName != null">file_name,</if>
|
||||
<if test="fileUrl != null">file_url,</if>
|
||||
<if test="companyId != null">company_id,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="taskId != null">#{taskId},</if>
|
||||
<if test="typeId != null">#{typeId},</if>
|
||||
<if test="purchasePrice != null">#{purchasePrice},</if>
|
||||
<if test="purchaseNum != null">#{purchaseNum},</if>
|
||||
<if test="checkNum != null">#{checkNum},</if>
|
||||
<if test="bindNum != null">#{bindNum},</if>
|
||||
<if test="checkResult != null">#{checkResult},</if>
|
||||
<if test="supplierId != null">#{supplierId},</if>
|
||||
<if test="status != null">#{status},</if>
|
||||
<if test="createBy != null">#{createBy},</if>
|
||||
<if test="productionTime != null">#{productionTime},</if>
|
||||
<if test="createTime != null">#{createTime},</if>
|
||||
<if test="updateBy != null">#{updateBy},</if>
|
||||
<if test="updateTime != null">#{updateTime},</if>
|
||||
<if test="remark != null">#{remark},</if>
|
||||
<if test="checkUrlName != null">#{checkUrlName},</if>
|
||||
<if test="checkUrl != null">#{checkUrl},</if>
|
||||
<if test="inputNum != null">#{inputNum},</if>
|
||||
<if test="inputStatus != null">#{inputStatus},</if>
|
||||
<if test="inputTime != null">#{inputTime},</if>
|
||||
<if test="fileName != null">#{fileName},</if>
|
||||
<if test="fileUrl != null">#{fileUrl},</if>
|
||||
<if test="companyId != null">#{companyId},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updatePurchaseCheckDetails" parameterType="com.bonus.material.purchase.domain.PurchaseCheckDetails">
|
||||
update purchase_check_details
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="taskId != null">task_id = #{taskId},</if>
|
||||
<if test="typeId != null">type_id = #{typeId},</if>
|
||||
<if test="purchasePrice != null">purchase_price = #{purchasePrice},</if>
|
||||
<if test="purchaseNum != null">purchase_num = #{purchaseNum},</if>
|
||||
<if test="checkNum != null">check_num = #{checkNum},</if>
|
||||
<if test="bindNum != null">bind_num = #{bindNum},</if>
|
||||
<if test="checkResult != null">check_result = #{checkResult},</if>
|
||||
<if test="supplierId != null">supplier_id = #{supplierId},</if>
|
||||
<if test="status != null">status = #{status},</if>
|
||||
<if test="createBy != null">create_by = #{createBy},</if>
|
||||
<if test="productionTime != null">production_time = #{productionTime},</if>
|
||||
<if test="createTime != null">create_time = #{createTime},</if>
|
||||
<if test="updateBy != null">update_by = #{updateBy},</if>
|
||||
<if test="updateTime != null">update_time = #{updateTime},</if>
|
||||
<if test="remark != null">remark = #{remark},</if>
|
||||
<if test="checkUrlName != null">check_url_name = #{checkUrlName},</if>
|
||||
<if test="checkUrl != null">check_url = #{checkUrl},</if>
|
||||
<if test="inputNum != null">input_num = #{inputNum},</if>
|
||||
<if test="inputStatus != null">input_status = #{inputStatus},</if>
|
||||
<if test="inputTime != null">input_time = #{inputTime},</if>
|
||||
<if test="fileName != null">file_name = #{fileName},</if>
|
||||
<if test="fileUrl != null">file_url = #{fileUrl},</if>
|
||||
<if test="companyId != null">company_id = #{companyId},</if>
|
||||
</trim>
|
||||
where id = #{id}
|
||||
</update>
|
||||
|
||||
<delete id="deletePurchaseCheckDetailsById" parameterType="Long">
|
||||
delete from purchase_check_details where id = #{id}
|
||||
</delete>
|
||||
|
||||
<delete id="deletePurchaseCheckDetailsByIds" parameterType="String">
|
||||
delete from purchase_check_details where id in
|
||||
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
||||
|
|
@ -0,0 +1,95 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.bonus.material.purchase.mapper.PurchaseCheckInfoMapper">
|
||||
<resultMap type="com.bonus.material.purchase.domain.PurchaseCheckInfo" id="PurchaseCheckInfoResult">
|
||||
<result property="id" column="id" />
|
||||
<result property="taskId" column="task_id" />
|
||||
<result property="purchaseTime" column="purchase_time" />
|
||||
<result property="arrivalTime" column="arrival_time" />
|
||||
<result property="purchaser" column="purchaser" />
|
||||
<result property="createBy" column="create_by" />
|
||||
<result property="createTime" column="create_time" />
|
||||
<result property="updateBy" column="update_by" />
|
||||
<result property="updateTime" column="update_time" />
|
||||
<result property="remark" column="remark" />
|
||||
<result property="companyId" column="company_id" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectPurchaseCheckInfoVo">
|
||||
select id, task_id, purchase_time, arrival_time, purchaser, create_by, create_time, update_by, update_time, remark, company_id from purchase_check_info
|
||||
</sql>
|
||||
|
||||
<select id="selectPurchaseCheckInfoList" parameterType="com.bonus.material.purchase.domain.PurchaseCheckInfo" resultMap="PurchaseCheckInfoResult">
|
||||
<include refid="selectPurchaseCheckInfoVo"/>
|
||||
<where>
|
||||
<if test="taskId != null "> and task_id = #{taskId}</if>
|
||||
<if test="purchaseTime != null "> and purchase_time = #{purchaseTime}</if>
|
||||
<if test="arrivalTime != null "> and arrival_time = #{arrivalTime}</if>
|
||||
<if test="purchaser != null "> and purchaser = #{purchaser}</if>
|
||||
<if test="companyId != null "> and company_id = #{companyId}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectPurchaseCheckInfoById" parameterType="Long" resultMap="PurchaseCheckInfoResult">
|
||||
<include refid="selectPurchaseCheckInfoVo"/>
|
||||
where id = #{id}
|
||||
</select>
|
||||
|
||||
<insert id="insertPurchaseCheckInfo" parameterType="com.bonus.material.purchase.domain.PurchaseCheckInfo" useGeneratedKeys="true" keyProperty="id">
|
||||
insert into purchase_check_info
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="taskId != null">task_id,</if>
|
||||
<if test="purchaseTime != null">purchase_time,</if>
|
||||
<if test="arrivalTime != null">arrival_time,</if>
|
||||
<if test="purchaser != null">purchaser,</if>
|
||||
<if test="createBy != null">create_by,</if>
|
||||
<if test="createTime != null">create_time,</if>
|
||||
<if test="updateBy != null">update_by,</if>
|
||||
<if test="updateTime != null">update_time,</if>
|
||||
<if test="remark != null">remark,</if>
|
||||
<if test="companyId != null">company_id,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="taskId != null">#{taskId},</if>
|
||||
<if test="purchaseTime != null">#{purchaseTime},</if>
|
||||
<if test="arrivalTime != null">#{arrivalTime},</if>
|
||||
<if test="purchaser != null">#{purchaser},</if>
|
||||
<if test="createBy != null">#{createBy},</if>
|
||||
<if test="createTime != null">#{createTime},</if>
|
||||
<if test="updateBy != null">#{updateBy},</if>
|
||||
<if test="updateTime != null">#{updateTime},</if>
|
||||
<if test="remark != null">#{remark},</if>
|
||||
<if test="companyId != null">#{companyId},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updatePurchaseCheckInfo" parameterType="com.bonus.material.purchase.domain.PurchaseCheckInfo">
|
||||
update purchase_check_info
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="taskId != null">task_id = #{taskId},</if>
|
||||
<if test="purchaseTime != null">purchase_time = #{purchaseTime},</if>
|
||||
<if test="arrivalTime != null">arrival_time = #{arrivalTime},</if>
|
||||
<if test="purchaser != null">purchaser = #{purchaser},</if>
|
||||
<if test="createBy != null">create_by = #{createBy},</if>
|
||||
<if test="createTime != null">create_time = #{createTime},</if>
|
||||
<if test="updateBy != null">update_by = #{updateBy},</if>
|
||||
<if test="updateTime != null">update_time = #{updateTime},</if>
|
||||
<if test="remark != null">remark = #{remark},</if>
|
||||
<if test="companyId != null">company_id = #{companyId},</if>
|
||||
</trim>
|
||||
where id = #{id}
|
||||
</update>
|
||||
|
||||
<delete id="deletePurchaseCheckInfoById" parameterType="Long">
|
||||
delete from purchase_check_info where id = #{id}
|
||||
</delete>
|
||||
|
||||
<delete id="deletePurchaseCheckInfoByIds" parameterType="String">
|
||||
delete from purchase_check_info where id in
|
||||
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
||||
|
|
@ -0,0 +1,110 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.bonus.material.purchase.mapper.PurchaseMacodeInfoMapper">
|
||||
<resultMap type="com.bonus.material.purchase.domain.PurchaseMacodeInfo" id="PurchaseMacodeInfoResult">
|
||||
<result property="id" column="id" />
|
||||
<result property="taskId" column="task_id" />
|
||||
<result property="typeId" column="type_id" />
|
||||
<result property="maCode" column="ma_code" />
|
||||
<result property="qrCode" column="qr_code" />
|
||||
<result property="fixCode" column="fix_code" />
|
||||
<result property="codeType" column="code_type" />
|
||||
<result property="status" column="status" />
|
||||
<result property="createBy" column="create_by" />
|
||||
<result property="createTime" column="create_time" />
|
||||
<result property="updateBy" column="update_by" />
|
||||
<result property="updateTime" column="update_time" />
|
||||
<result property="remark" column="remark" />
|
||||
<result property="companyId" column="company_id" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectPurchaseMacodeInfoVo">
|
||||
select id, task_id, type_id, ma_code, qr_code, fix_code, code_type, status, create_by, create_time, update_by, update_time, remark, company_id from purchase_macode_info
|
||||
</sql>
|
||||
|
||||
<select id="selectPurchaseMacodeInfoList" parameterType="com.bonus.material.purchase.domain.PurchaseMacodeInfo" resultMap="PurchaseMacodeInfoResult">
|
||||
<include refid="selectPurchaseMacodeInfoVo"/>
|
||||
<where>
|
||||
<if test="taskId != null "> and task_id = #{taskId}</if>
|
||||
<if test="typeId != null "> and type_id = #{typeId}</if>
|
||||
<if test="maCode != null and maCode != ''"> and ma_code = #{maCode}</if>
|
||||
<if test="qrCode != null and qrCode != ''"> and qr_code = #{qrCode}</if>
|
||||
<if test="fixCode != null and fixCode != ''"> and fix_code = #{fixCode}</if>
|
||||
<if test="codeType != null and codeType != ''"> and code_type = #{codeType}</if>
|
||||
<if test="status != null and status != ''"> and status = #{status}</if>
|
||||
<if test="companyId != null "> and company_id = #{companyId}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectPurchaseMacodeInfoById" parameterType="Long" resultMap="PurchaseMacodeInfoResult">
|
||||
<include refid="selectPurchaseMacodeInfoVo"/>
|
||||
where id = #{id}
|
||||
</select>
|
||||
|
||||
<insert id="insertPurchaseMacodeInfo" parameterType="com.bonus.material.purchase.domain.PurchaseMacodeInfo" useGeneratedKeys="true" keyProperty="id">
|
||||
insert into purchase_macode_info
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="taskId != null">task_id,</if>
|
||||
<if test="typeId != null">type_id,</if>
|
||||
<if test="maCode != null">ma_code,</if>
|
||||
<if test="qrCode != null">qr_code,</if>
|
||||
<if test="fixCode != null">fix_code,</if>
|
||||
<if test="codeType != null">code_type,</if>
|
||||
<if test="status != null">status,</if>
|
||||
<if test="createBy != null">create_by,</if>
|
||||
<if test="createTime != null">create_time,</if>
|
||||
<if test="updateBy != null">update_by,</if>
|
||||
<if test="updateTime != null">update_time,</if>
|
||||
<if test="remark != null">remark,</if>
|
||||
<if test="companyId != null">company_id,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="taskId != null">#{taskId},</if>
|
||||
<if test="typeId != null">#{typeId},</if>
|
||||
<if test="maCode != null">#{maCode},</if>
|
||||
<if test="qrCode != null">#{qrCode},</if>
|
||||
<if test="fixCode != null">#{fixCode},</if>
|
||||
<if test="codeType != null">#{codeType},</if>
|
||||
<if test="status != null">#{status},</if>
|
||||
<if test="createBy != null">#{createBy},</if>
|
||||
<if test="createTime != null">#{createTime},</if>
|
||||
<if test="updateBy != null">#{updateBy},</if>
|
||||
<if test="updateTime != null">#{updateTime},</if>
|
||||
<if test="remark != null">#{remark},</if>
|
||||
<if test="companyId != null">#{companyId},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updatePurchaseMacodeInfo" parameterType="com.bonus.material.purchase.domain.PurchaseMacodeInfo">
|
||||
update purchase_macode_info
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="taskId != null">task_id = #{taskId},</if>
|
||||
<if test="typeId != null">type_id = #{typeId},</if>
|
||||
<if test="maCode != null">ma_code = #{maCode},</if>
|
||||
<if test="qrCode != null">qr_code = #{qrCode},</if>
|
||||
<if test="fixCode != null">fix_code = #{fixCode},</if>
|
||||
<if test="codeType != null">code_type = #{codeType},</if>
|
||||
<if test="status != null">status = #{status},</if>
|
||||
<if test="createBy != null">create_by = #{createBy},</if>
|
||||
<if test="createTime != null">create_time = #{createTime},</if>
|
||||
<if test="updateBy != null">update_by = #{updateBy},</if>
|
||||
<if test="updateTime != null">update_time = #{updateTime},</if>
|
||||
<if test="remark != null">remark = #{remark},</if>
|
||||
<if test="companyId != null">company_id = #{companyId},</if>
|
||||
</trim>
|
||||
where id = #{id}
|
||||
</update>
|
||||
|
||||
<delete id="deletePurchaseMacodeInfoById" parameterType="Long">
|
||||
delete from purchase_macode_info where id = #{id}
|
||||
</delete>
|
||||
|
||||
<delete id="deletePurchaseMacodeInfoByIds" parameterType="String">
|
||||
delete from purchase_macode_info where id in
|
||||
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
||||
|
|
@ -0,0 +1,73 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.bonus.material.purchase.mapper.PurchaseNoticePersonMapper">
|
||||
<resultMap type="com.bonus.material.purchase.domain.PurchaseNoticePerson" id="PurchaseNoticePersonResult">
|
||||
<result property="id" column="id" />
|
||||
<result property="userId" column="user_id" />
|
||||
<result property="userName" column="user_name" />
|
||||
<result property="telphone" column="telphone" />
|
||||
<result property="createTime" column="create_time" />
|
||||
<result property="updateTime" column="update_time" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectPurchaseNoticePersonVo">
|
||||
select id, user_id, user_name, telphone, create_time, update_time from purchase_notice_person
|
||||
</sql>
|
||||
|
||||
<select id="selectPurchaseNoticePersonList" parameterType="com.bonus.material.purchase.domain.PurchaseNoticePerson" resultMap="PurchaseNoticePersonResult">
|
||||
<include refid="selectPurchaseNoticePersonVo"/>
|
||||
<where>
|
||||
<if test="userId != null "> and user_id = #{userId}</if>
|
||||
<if test="userName != null and userName != ''"> and user_name like concat('%', #{userName}, '%')</if>
|
||||
<if test="telphone != null and telphone != ''"> and telphone = #{telphone}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectPurchaseNoticePersonById" parameterType="Long" resultMap="PurchaseNoticePersonResult">
|
||||
<include refid="selectPurchaseNoticePersonVo"/>
|
||||
where id = #{id}
|
||||
</select>
|
||||
|
||||
<insert id="insertPurchaseNoticePerson" parameterType="com.bonus.material.purchase.domain.PurchaseNoticePerson" useGeneratedKeys="true" keyProperty="id">
|
||||
insert into purchase_notice_person
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="userId != null">user_id,</if>
|
||||
<if test="userName != null">user_name,</if>
|
||||
<if test="telphone != null">telphone,</if>
|
||||
<if test="createTime != null">create_time,</if>
|
||||
<if test="updateTime != null">update_time,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="userId != null">#{userId},</if>
|
||||
<if test="userName != null">#{userName},</if>
|
||||
<if test="telphone != null">#{telphone},</if>
|
||||
<if test="createTime != null">#{createTime},</if>
|
||||
<if test="updateTime != null">#{updateTime},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updatePurchaseNoticePerson" parameterType="com.bonus.material.purchase.domain.PurchaseNoticePerson">
|
||||
update purchase_notice_person
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="userId != null">user_id = #{userId},</if>
|
||||
<if test="userName != null">user_name = #{userName},</if>
|
||||
<if test="telphone != null">telphone = #{telphone},</if>
|
||||
<if test="createTime != null">create_time = #{createTime},</if>
|
||||
<if test="updateTime != null">update_time = #{updateTime},</if>
|
||||
</trim>
|
||||
where id = #{id}
|
||||
</update>
|
||||
|
||||
<delete id="deletePurchaseNoticePersonById" parameterType="Long">
|
||||
delete from purchase_notice_person where id = #{id}
|
||||
</delete>
|
||||
|
||||
<delete id="deletePurchaseNoticePersonByIds" parameterType="String">
|
||||
delete from purchase_notice_person where id in
|
||||
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
||||
|
|
@ -0,0 +1,140 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.bonus.material.purchase.mapper.PurchasePartDetailsMapper">
|
||||
<resultMap type="com.bonus.material.purchase.domain.PurchasePartDetails" id="PurchasePartDetailsResult">
|
||||
<result property="id" column="id" />
|
||||
<result property="taskId" column="task_id" />
|
||||
<result property="partId" column="part_id" />
|
||||
<result property="purchasePrice" column="purchase_price" />
|
||||
<result property="purchaseNum" column="purchase_num" />
|
||||
<result property="supplierId" column="supplier_id" />
|
||||
<result property="createBy" column="create_by" />
|
||||
<result property="productionTime" column="production_time" />
|
||||
<result property="checkNum" column="check_num" />
|
||||
<result property="checkResult" column="check_result" />
|
||||
<result property="inputNum" column="input_num" />
|
||||
<result property="inputTime" column="input_time" />
|
||||
<result property="fileName" column="file_name" />
|
||||
<result property="fileUrl" column="file_url" />
|
||||
<result property="createTime" column="create_time" />
|
||||
<result property="updateBy" column="update_by" />
|
||||
<result property="updateTime" column="update_time" />
|
||||
<result property="remark" column="remark" />
|
||||
<result property="companyId" column="company_id" />
|
||||
<result property="status" column="status" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectPurchasePartDetailsVo">
|
||||
select id, task_id, part_id, purchase_price, purchase_num, supplier_id, create_by, production_time, check_num, check_result, input_num, input_time, file_name, file_url, create_time, update_by, update_time, remark, company_id, status from purchase_part_details
|
||||
</sql>
|
||||
|
||||
<select id="selectPurchasePartDetailsList" parameterType="com.bonus.material.purchase.domain.PurchasePartDetails" resultMap="PurchasePartDetailsResult">
|
||||
<include refid="selectPurchasePartDetailsVo"/>
|
||||
<where>
|
||||
<if test="taskId != null "> and task_id = #{taskId}</if>
|
||||
<if test="partId != null "> and part_id = #{partId}</if>
|
||||
<if test="purchasePrice != null "> and purchase_price = #{purchasePrice}</if>
|
||||
<if test="purchaseNum != null "> and purchase_num = #{purchaseNum}</if>
|
||||
<if test="supplierId != null "> and supplier_id = #{supplierId}</if>
|
||||
<if test="productionTime != null "> and production_time = #{productionTime}</if>
|
||||
<if test="checkNum != null "> and check_num = #{checkNum}</if>
|
||||
<if test="checkResult != null and checkResult != ''"> and check_result = #{checkResult}</if>
|
||||
<if test="inputNum != null "> and input_num = #{inputNum}</if>
|
||||
<if test="inputTime != null "> and input_time = #{inputTime}</if>
|
||||
<if test="fileName != null and fileName != ''"> and file_name like concat('%', #{fileName}, '%')</if>
|
||||
<if test="fileUrl != null and fileUrl != ''"> and file_url = #{fileUrl}</if>
|
||||
<if test="companyId != null "> and company_id = #{companyId}</if>
|
||||
<if test="status != null "> and status = #{status}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectPurchasePartDetailsById" parameterType="Long" resultMap="PurchasePartDetailsResult">
|
||||
<include refid="selectPurchasePartDetailsVo"/>
|
||||
where id = #{id}
|
||||
</select>
|
||||
|
||||
<insert id="insertPurchasePartDetails" parameterType="com.bonus.material.purchase.domain.PurchasePartDetails" useGeneratedKeys="true" keyProperty="id">
|
||||
insert into purchase_part_details
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="taskId != null">task_id,</if>
|
||||
<if test="partId != null">part_id,</if>
|
||||
<if test="purchasePrice != null">purchase_price,</if>
|
||||
<if test="purchaseNum != null">purchase_num,</if>
|
||||
<if test="supplierId != null">supplier_id,</if>
|
||||
<if test="createBy != null">create_by,</if>
|
||||
<if test="productionTime != null">production_time,</if>
|
||||
<if test="checkNum != null">check_num,</if>
|
||||
<if test="checkResult != null">check_result,</if>
|
||||
<if test="inputNum != null">input_num,</if>
|
||||
<if test="inputTime != null">input_time,</if>
|
||||
<if test="fileName != null">file_name,</if>
|
||||
<if test="fileUrl != null">file_url,</if>
|
||||
<if test="createTime != null">create_time,</if>
|
||||
<if test="updateBy != null">update_by,</if>
|
||||
<if test="updateTime != null">update_time,</if>
|
||||
<if test="remark != null">remark,</if>
|
||||
<if test="companyId != null">company_id,</if>
|
||||
<if test="status != null">status,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="taskId != null">#{taskId},</if>
|
||||
<if test="partId != null">#{partId},</if>
|
||||
<if test="purchasePrice != null">#{purchasePrice},</if>
|
||||
<if test="purchaseNum != null">#{purchaseNum},</if>
|
||||
<if test="supplierId != null">#{supplierId},</if>
|
||||
<if test="createBy != null">#{createBy},</if>
|
||||
<if test="productionTime != null">#{productionTime},</if>
|
||||
<if test="checkNum != null">#{checkNum},</if>
|
||||
<if test="checkResult != null">#{checkResult},</if>
|
||||
<if test="inputNum != null">#{inputNum},</if>
|
||||
<if test="inputTime != null">#{inputTime},</if>
|
||||
<if test="fileName != null">#{fileName},</if>
|
||||
<if test="fileUrl != null">#{fileUrl},</if>
|
||||
<if test="createTime != null">#{createTime},</if>
|
||||
<if test="updateBy != null">#{updateBy},</if>
|
||||
<if test="updateTime != null">#{updateTime},</if>
|
||||
<if test="remark != null">#{remark},</if>
|
||||
<if test="companyId != null">#{companyId},</if>
|
||||
<if test="status != null">#{status},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updatePurchasePartDetails" parameterType="com.bonus.material.purchase.domain.PurchasePartDetails">
|
||||
update purchase_part_details
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="taskId != null">task_id = #{taskId},</if>
|
||||
<if test="partId != null">part_id = #{partId},</if>
|
||||
<if test="purchasePrice != null">purchase_price = #{purchasePrice},</if>
|
||||
<if test="purchaseNum != null">purchase_num = #{purchaseNum},</if>
|
||||
<if test="supplierId != null">supplier_id = #{supplierId},</if>
|
||||
<if test="createBy != null">create_by = #{createBy},</if>
|
||||
<if test="productionTime != null">production_time = #{productionTime},</if>
|
||||
<if test="checkNum != null">check_num = #{checkNum},</if>
|
||||
<if test="checkResult != null">check_result = #{checkResult},</if>
|
||||
<if test="inputNum != null">input_num = #{inputNum},</if>
|
||||
<if test="inputTime != null">input_time = #{inputTime},</if>
|
||||
<if test="fileName != null">file_name = #{fileName},</if>
|
||||
<if test="fileUrl != null">file_url = #{fileUrl},</if>
|
||||
<if test="createTime != null">create_time = #{createTime},</if>
|
||||
<if test="updateBy != null">update_by = #{updateBy},</if>
|
||||
<if test="updateTime != null">update_time = #{updateTime},</if>
|
||||
<if test="remark != null">remark = #{remark},</if>
|
||||
<if test="companyId != null">company_id = #{companyId},</if>
|
||||
<if test="status != null">status = #{status},</if>
|
||||
</trim>
|
||||
where id = #{id}
|
||||
</update>
|
||||
|
||||
<delete id="deletePurchasePartDetailsById" parameterType="Long">
|
||||
delete from purchase_part_details where id = #{id}
|
||||
</delete>
|
||||
|
||||
<delete id="deletePurchasePartDetailsByIds" parameterType="String">
|
||||
delete from purchase_part_details where id in
|
||||
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||
#{id}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
||||
|
|
@ -0,0 +1,95 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<!DOCTYPE mapper
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.bonus.material.purchase.mapper.PurchasePartInfoMapper">
|
||||
<resultMap type="com.bonus.material.purchase.domain.PurchasePartInfo" id="PurchasePartInfoResult">
|
||||
<result property="ID" column="ID" />
|
||||
<result property="taskId" column="task_id" />
|
||||
<result property="purchaseTime" column="purchase_time" />
|
||||
<result property="arrivalTime" column="arrival_time" />
|
||||
<result property="purchaser" column="purchaser" />
|
||||
<result property="createBy" column="create_by" />
|
||||
<result property="createTime" column="create_time" />
|
||||
<result property="updateBy" column="update_by" />
|
||||
<result property="updateTime" column="update_time" />
|
||||
<result property="remark" column="remark" />
|
||||
<result property="companyId" column="company_id" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectPurchasePartInfoVo">
|
||||
select ID, task_id, purchase_time, arrival_time, purchaser, create_by, create_time, update_by, update_time, remark, company_id from purchase_part_info
|
||||
</sql>
|
||||
|
||||
<select id="selectPurchasePartInfoList" parameterType="com.bonus.material.purchase.domain.PurchasePartInfo" resultMap="PurchasePartInfoResult">
|
||||
<include refid="selectPurchasePartInfoVo"/>
|
||||
<where>
|
||||
<if test="taskId != null "> and task_id = #{taskId}</if>
|
||||
<if test="purchaseTime != null "> and purchase_time = #{purchaseTime}</if>
|
||||
<if test="arrivalTime != null "> and arrival_time = #{arrivalTime}</if>
|
||||
<if test="purchaser != null "> and purchaser = #{purchaser}</if>
|
||||
<if test="companyId != null "> and company_id = #{companyId}</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectPurchasePartInfoByID" parameterType="Long" resultMap="PurchasePartInfoResult">
|
||||
<include refid="selectPurchasePartInfoVo"/>
|
||||
where ID = #{ID}
|
||||
</select>
|
||||
|
||||
<insert id="insertPurchasePartInfo" parameterType="com.bonus.material.purchase.domain.PurchasePartInfo" useGeneratedKeys="true" keyProperty="ID">
|
||||
insert into purchase_part_info
|
||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||
<if test="taskId != null">task_id,</if>
|
||||
<if test="purchaseTime != null">purchase_time,</if>
|
||||
<if test="arrivalTime != null">arrival_time,</if>
|
||||
<if test="purchaser != null">purchaser,</if>
|
||||
<if test="createBy != null">create_by,</if>
|
||||
<if test="createTime != null">create_time,</if>
|
||||
<if test="updateBy != null">update_by,</if>
|
||||
<if test="updateTime != null">update_time,</if>
|
||||
<if test="remark != null">remark,</if>
|
||||
<if test="companyId != null">company_id,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="taskId != null">#{taskId},</if>
|
||||
<if test="purchaseTime != null">#{purchaseTime},</if>
|
||||
<if test="arrivalTime != null">#{arrivalTime},</if>
|
||||
<if test="purchaser != null">#{purchaser},</if>
|
||||
<if test="createBy != null">#{createBy},</if>
|
||||
<if test="createTime != null">#{createTime},</if>
|
||||
<if test="updateBy != null">#{updateBy},</if>
|
||||
<if test="updateTime != null">#{updateTime},</if>
|
||||
<if test="remark != null">#{remark},</if>
|
||||
<if test="companyId != null">#{companyId},</if>
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
<update id="updatePurchasePartInfo" parameterType="com.bonus.material.purchase.domain.PurchasePartInfo">
|
||||
update purchase_part_info
|
||||
<trim prefix="SET" suffixOverrides=",">
|
||||
<if test="taskId != null">task_id = #{taskId},</if>
|
||||
<if test="purchaseTime != null">purchase_time = #{purchaseTime},</if>
|
||||
<if test="arrivalTime != null">arrival_time = #{arrivalTime},</if>
|
||||
<if test="purchaser != null">purchaser = #{purchaser},</if>
|
||||
<if test="createBy != null">create_by = #{createBy},</if>
|
||||
<if test="createTime != null">create_time = #{createTime},</if>
|
||||
<if test="updateBy != null">update_by = #{updateBy},</if>
|
||||
<if test="updateTime != null">update_time = #{updateTime},</if>
|
||||
<if test="remark != null">remark = #{remark},</if>
|
||||
<if test="companyId != null">company_id = #{companyId},</if>
|
||||
</trim>
|
||||
where ID = #{ID}
|
||||
</update>
|
||||
|
||||
<delete id="deletePurchasePartInfoByID" parameterType="Long">
|
||||
delete from purchase_part_info where ID = #{ID}
|
||||
</delete>
|
||||
|
||||
<delete id="deletePurchasePartInfoByIDs" parameterType="String">
|
||||
delete from purchase_part_info where ID in
|
||||
<foreach item="ID" collection="array" open="(" separator="," close=")">
|
||||
#{ID}
|
||||
</foreach>
|
||||
</delete>
|
||||
</mapper>
|
||||
Loading…
Reference in New Issue