|
@@ -1,6 +1,8 @@
|
|
|
package com.ym.mec.web.controller;
|
|
|
|
|
|
import com.ym.mec.biz.dal.entity.PracticeGroupSellPrice;
|
|
|
+import com.ym.mec.biz.dal.page.BaseOrganQueryInfo;
|
|
|
+import com.ym.mec.biz.service.OrganizationService;
|
|
|
import com.ym.mec.biz.service.PracticeGroupSellPriceService;
|
|
|
import com.ym.mec.common.controller.BaseController;
|
|
|
import com.ym.mec.common.exception.BizException;
|
|
@@ -25,11 +27,14 @@ public class PracticeGroupSellPriceController extends BaseController {
|
|
|
|
|
|
@Autowired
|
|
|
private PracticeGroupSellPriceService practiceGroupSellPriceService;
|
|
|
+ @Autowired
|
|
|
+ private OrganizationService organizationService;
|
|
|
|
|
|
@ApiOperation("分页查询")
|
|
|
@GetMapping(value = "/list")
|
|
|
@PreAuthorize("@pcs.hasPermissions('practiceGroupSellPrice/list')")
|
|
|
- public Object getList(QueryInfo queryInfo) {
|
|
|
+ public Object getList(BaseOrganQueryInfo queryInfo) {
|
|
|
+ queryInfo.setOrganId(organizationService.getEmployeeOrgan(queryInfo.getOrganId()));
|
|
|
return succeed(practiceGroupSellPriceService.queryPage(queryInfo));
|
|
|
}
|
|
|
|