|
|
@ -2,7 +2,9 @@ package com.ruoyi.system.service; |
|
|
|
|
|
|
|
import com.ruoyi.system.domain.SysSupplier; |
|
|
|
import com.ruoyi.system.domain.Vo.SysSupplierVo; |
|
|
|
import org.activiti.engine.runtime.ProcessInstance; |
|
|
|
import org.springframework.stereotype.Service; |
|
|
|
import org.springframework.transaction.annotation.Transactional; |
|
|
|
|
|
|
|
import java.util.List; |
|
|
|
|
|
|
@ -17,11 +19,11 @@ public interface ISysSupplierService |
|
|
|
{ |
|
|
|
/** |
|
|
|
* 查询供应商资料 |
|
|
|
* |
|
|
|
* |
|
|
|
* @param supplierId 供应商资料ID |
|
|
|
* @return 供应商资料 |
|
|
|
*/ |
|
|
|
public SysSupplier selectSysSupplierById(Long supplierId); |
|
|
|
public SysSupplierVo selectSysSupplierById(Long supplierId); |
|
|
|
|
|
|
|
/** |
|
|
|
* 查询供应商资料列表 |
|
|
@ -85,4 +87,14 @@ public interface ISysSupplierService |
|
|
|
* */ |
|
|
|
List<SysSupplier> getSupplierCodes(); |
|
|
|
|
|
|
|
@Transactional(rollbackFor = Exception.class) |
|
|
|
ProcessInstance updateSysSupplierById(SysSupplierVo sysSupplier); |
|
|
|
|
|
|
|
@Transactional(rollbackFor = Exception.class) |
|
|
|
ProcessInstance cancelSysSupplierById(Long id); |
|
|
|
|
|
|
|
@Transactional(rollbackFor = Exception.class) |
|
|
|
ProcessInstance restoreSysSupplierById(Long id); |
|
|
|
|
|
|
|
ProcessInstance submitApply(SysSupplier sysSupplier); |
|
|
|
} |
|
|
|