|
@@ -418,7 +418,7 @@ public class OrderController : BaseController
|
|
|
var hasProvince = await _orderRepository.Queryable().AnyAsync(x => dto.Ids.Contains(x.Id) && x.Source == ESource.ProvinceStraight);
|
|
|
//if (hasProvince)
|
|
|
// throw UserFriendlyException.SameMessage("选择的工单中含有省工单, 不能批量发布. 请排除省工单.");
|
|
|
- if (_appOptions.Value.IsYiBin)
|
|
|
+ if (_appOptions.Value.IsYiBin || _appOptions.Value.IsZiGong)
|
|
|
{
|
|
|
hasProvince = await _orderRepository.Queryable().AnyAsync(x => dto.Ids.Contains(x.Id) && x.IsProvince);
|
|
|
}
|