|
|
@@ -285,12 +285,12 @@ public class InsOrdersServiceImpl extends ServiceImpl<InsOrdersMapper, InsOrders
|
|
|
daikeFlag = true;
|
|
|
}
|
|
|
}
|
|
|
- if(quoteInfoVo.getIsExternal() == null) {
|
|
|
- //添加后线人员不能报价的验证
|
|
|
- if (!"admin".equals(realUserId) && !realUserId.contains("M")) {
|
|
|
- throw new SystemException("后线人员不允许报价!!");
|
|
|
- }
|
|
|
+
|
|
|
+ //添加后线人员不能报价的验证
|
|
|
+ if (!"admin".equals(realUserId) && !realUserId.contains("M")) {
|
|
|
+ throw new SystemException("后线人员不允许报价!!");
|
|
|
}
|
|
|
+
|
|
|
// 1. 验证订单参数
|
|
|
orderComponents.checkEmpty(quoteInfoVo);
|
|
|
SysUser user = sysUserService.getById(realUserId);
|