This commit is contained in:
parent
4c57636a8f
commit
8cb0ac9b09
|
|
@ -6,7 +6,7 @@ import com.bonus.common.core.web.domain.AjaxResult;
|
|||
import com.bonus.common.core.web.page.TableDataInfo;
|
||||
import com.bonus.common.security.annotation.RequiresPermissions;
|
||||
import com.bonus.purchase.dto.PurchaseDto;
|
||||
import com.bonus.purchase.service.PurchaseAcceptService;
|
||||
import com.bonus.purchase.service.BpmPurchaseAcceptService;
|
||||
import com.bonus.purchase.vo.PurchaseVo;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
|
@ -22,10 +22,10 @@ import java.util.List;
|
|||
*/
|
||||
@RestController
|
||||
@RequestMapping("/acceptance")
|
||||
public class PurchaseAcceptController extends BaseController {
|
||||
public class BpmPurchaseAcceptController extends BaseController {
|
||||
|
||||
@Resource
|
||||
private PurchaseAcceptService purchaseAcceptService;
|
||||
private BpmPurchaseAcceptService purchaseAcceptService;
|
||||
|
||||
/**
|
||||
* 分页查询数据
|
||||
|
|
@ -10,7 +10,7 @@ import java.util.List;
|
|||
* @Author ma_sh
|
||||
* @create 2024/8/19 16:13
|
||||
*/
|
||||
public interface PurchaseAcceptMapper {
|
||||
public interface BpmPurchaseAcceptMapper {
|
||||
|
||||
/**
|
||||
* 查询
|
||||
|
|
@ -10,7 +10,7 @@ import java.util.List;
|
|||
* @Author ma_sh
|
||||
* @create 2024/8/19 16:13
|
||||
*/
|
||||
public interface PurchaseAcceptService {
|
||||
public interface BpmPurchaseAcceptService {
|
||||
|
||||
/**
|
||||
* 查询所有
|
||||
|
|
@ -3,8 +3,8 @@ package com.bonus.purchase.service.impl;
|
|||
import com.alibaba.nacos.common.utils.CollectionUtils;
|
||||
import com.bonus.common.core.web.domain.AjaxResult;
|
||||
import com.bonus.purchase.dto.PurchaseDto;
|
||||
import com.bonus.purchase.mapper.PurchaseAcceptMapper;
|
||||
import com.bonus.purchase.service.PurchaseAcceptService;
|
||||
import com.bonus.purchase.mapper.BpmPurchaseAcceptMapper;
|
||||
import com.bonus.purchase.service.BpmPurchaseAcceptService;
|
||||
import com.bonus.purchase.utils.Constants;
|
||||
import com.bonus.purchase.vo.PurchaseVo;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
|
@ -21,10 +21,10 @@ import java.util.stream.Collectors;
|
|||
* @create 2024/8/19 16:48
|
||||
*/
|
||||
@Service
|
||||
public class PurchaseAcceptServiceImpl implements PurchaseAcceptService {
|
||||
public class BpmPurchaseAcceptServiceImpl implements BpmPurchaseAcceptService {
|
||||
|
||||
@Resource
|
||||
private PurchaseAcceptMapper mapper;
|
||||
private BpmPurchaseAcceptMapper mapper;
|
||||
|
||||
/**
|
||||
* 查询采购单
|
||||
|
|
@ -6,7 +6,7 @@ server:
|
|||
spring:
|
||||
application:
|
||||
# 应用名称
|
||||
name: bonus-purchase
|
||||
name: bonus-task
|
||||
profiles:
|
||||
# 环境配置
|
||||
active: dev
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
<!DOCTYPE mapper
|
||||
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||
<mapper namespace="com.bonus.purchase.mapper.PurchaseAcceptMapper">
|
||||
<mapper namespace="com.bonus.purchase.mapper.BpmPurchaseAcceptMapper">
|
||||
<update id="updateTask">
|
||||
UPDATE bpm_task bt
|
||||
SET bt.`status` = #{purchaseDto.status}
|
||||
Loading…
Reference in New Issue