Showing
10 changed files
with
9 additions
and
10 deletions
xingyun-sc/src/main/java/com/lframework/xingyun/sc/controller/customer/CustomerCreditController.java
| ... | ... | @@ -316,7 +316,6 @@ public class CustomerCreditController extends DefaultBaseController { |
| 316 | 316 | * @return |
| 317 | 317 | */ |
| 318 | 318 | @ApiOperation("导出") |
| 319 | - @HasPermission({"customer-dev-manage:customer-dev-plan:export"}) | |
| 320 | 319 | @GetMapping("/export") |
| 321 | 320 | public void export(@NotBlank(message = "ID不能为空") String id, HttpServletResponse response) { |
| 322 | 321 | try { | ... | ... |
xingyun-sc/src/main/java/com/lframework/xingyun/sc/controller/order/PurchaseOrderInfoController.java
| ... | ... | @@ -153,7 +153,7 @@ public class PurchaseOrderInfoController extends DefaultBaseController { |
| 153 | 153 | if (CollectionUtil.isNotEmpty(purchaseOrderLineList)) { |
| 154 | 154 | //生产人员不展示价格,根据部门判断(生产管理科、精轧一车间、精轧车间、品质管理科),需要生产的控制价格 |
| 155 | 155 | List<SysUserDept> userDeptList = sysUserDeptService.getByUserId(SecurityUtil.getCurrentUser().getId()); |
| 156 | - if (CollectionUtils.isNotEmpty(userDeptList) && "PRODUCTION".equals(result.getType())) { | |
| 156 | + if (CollectionUtils.isNotEmpty(userDeptList)) { | |
| 157 | 157 | boolean b = false; |
| 158 | 158 | for (SysUserDept sysUserDept : userDeptList) { |
| 159 | 159 | String deptId = sysUserDept.getDeptId(); | ... | ... |