|
|
@ -699,6 +699,11 @@ public class VtbVerificationServiceImpl extends ServiceImpl<VtbVerificationMappe |
|
|
|
TbsCostApply costApply = costApplyService.getById(activity.getCostApplyId()); |
|
|
|
SysUser sysUser = sysUserService.getById(AuthContextUtils.getSysUserId()); |
|
|
|
BmsSupplier supplier = bmsSupplierService.getById(activity.getSupplierId()); |
|
|
|
if(!costApply.getCreateBy().equals(sysUser.getId()) |
|
|
|
&&costApply.getExtUserId()!=null |
|
|
|
&&!costApply.getExtUserId().equals(sysUser.getId())){ |
|
|
|
Assert.throwEx("越权提交被拦截了"); |
|
|
|
} |
|
|
|
sysUser.checkSyAccount(); |
|
|
|
redisService.throwResLock(VtbVerification.class.getSimpleName(),activity.getId()+""); |
|
|
|
//自定义成本中心核销
|
|
|
|