新购绑定

This commit is contained in:
mashuai 2024-10-23 16:32:02 +08:00
parent be0d514e89
commit 0b5f0bea3f
2 changed files with 4 additions and 0 deletions

View File

@ -293,6 +293,7 @@ public class PurchaseBindServiceImpl implements IPurchaseBindService {
* @return
*/
@Override
@Transactional(rollbackFor = Exception.class)
public AjaxResult reject(PurchaseDto dto) {
//一级页面驳回
int result = 0;

View File

@ -11,6 +11,7 @@ import com.bonus.material.purchase.service.IPurchaseStorageService;
import com.bonus.material.purchase.vo.PurchaseVo;
import com.bonus.material.task.mapper.TmTaskMapper;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import javax.annotation.Resource;
import java.util.Arrays;
@ -75,6 +76,7 @@ public class PurchaseStorageServiceImpl implements IPurchaseStorageService {
* @return
*/
@Override
@Transactional(rollbackFor = Exception.class)
public AjaxResult warehouse(PurchaseDto dto) {
if (dto.getTaskId() != null) {
//外层入库
@ -92,6 +94,7 @@ public class PurchaseStorageServiceImpl implements IPurchaseStorageService {
* @return
*/
@Override
@Transactional(rollbackFor = Exception.class)
public AjaxResult reject(PurchaseDto dto) {
if (dto.getTaskId() != null) {
//外层驳回