新购绑定
This commit is contained in:
parent
be0d514e89
commit
0b5f0bea3f
|
|
@ -293,6 +293,7 @@ public class PurchaseBindServiceImpl implements IPurchaseBindService {
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
|
@Transactional(rollbackFor = Exception.class)
|
||||||
public AjaxResult reject(PurchaseDto dto) {
|
public AjaxResult reject(PurchaseDto dto) {
|
||||||
//一级页面驳回
|
//一级页面驳回
|
||||||
int result = 0;
|
int result = 0;
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,7 @@ import com.bonus.material.purchase.service.IPurchaseStorageService;
|
||||||
import com.bonus.material.purchase.vo.PurchaseVo;
|
import com.bonus.material.purchase.vo.PurchaseVo;
|
||||||
import com.bonus.material.task.mapper.TmTaskMapper;
|
import com.bonus.material.task.mapper.TmTaskMapper;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
|
import org.springframework.transaction.annotation.Transactional;
|
||||||
|
|
||||||
import javax.annotation.Resource;
|
import javax.annotation.Resource;
|
||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
||||||
|
|
@ -75,6 +76,7 @@ public class PurchaseStorageServiceImpl implements IPurchaseStorageService {
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
|
@Transactional(rollbackFor = Exception.class)
|
||||||
public AjaxResult warehouse(PurchaseDto dto) {
|
public AjaxResult warehouse(PurchaseDto dto) {
|
||||||
if (dto.getTaskId() != null) {
|
if (dto.getTaskId() != null) {
|
||||||
//外层入库
|
//外层入库
|
||||||
|
|
@ -92,6 +94,7 @@ public class PurchaseStorageServiceImpl implements IPurchaseStorageService {
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
|
@Transactional(rollbackFor = Exception.class)
|
||||||
public AjaxResult reject(PurchaseDto dto) {
|
public AjaxResult reject(PurchaseDto dto) {
|
||||||
if (dto.getTaskId() != null) {
|
if (dto.getTaskId() != null) {
|
||||||
//外层驳回
|
//外层驳回
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue