|
@@ -209,7 +209,7 @@ public class OrderInvoiceServiceImpl extends BaseMybatisDao<TOrderInvoiceMapper>
|
|
|
params.put("type", 1);
|
|
params.put("type", 1);
|
|
|
params.put("special", 1);
|
|
params.put("special", 1);
|
|
|
}
|
|
}
|
|
|
- if (type ==1) {
|
|
|
|
|
|
|
+ if (type ==1&&!TokenManager.hasRole(AFTConstants.SUPERADMIN)) {
|
|
|
//如果是省外则直接查本部门
|
|
//如果是省外则直接查本部门
|
|
|
Admin a=adminMapper.selectByPrimaryKey(TokenManager.getAdminId());
|
|
Admin a=adminMapper.selectByPrimaryKey(TokenManager.getAdminId());
|
|
|
params.put("aDep", a.getDepartmentId());
|
|
params.put("aDep", a.getDepartmentId());
|