|
@@ -37,9 +37,9 @@ public class AccountingProductController {
|
|
|
*/
|
|
|
@ApiOperation("会计科目成本对照列表")
|
|
|
@GetMapping("/list")
|
|
|
- public Result list() {
|
|
|
+ public Result list(Integer accountType) {
|
|
|
User user = (User) SecurityUtils.getSubject().getPrincipal();
|
|
|
- List<AccountProductVO> list = accountingProductService.selectList(user);
|
|
|
+ List<AccountProductVO> list = accountingProductService.selectList(user,accountType);
|
|
|
PageUtils pageUtils = new PageUtils(list, 0, 0, 0);
|
|
|
return Result.ok(pageUtils);
|
|
|
}
|