客户管理-附件保存与查询
This commit is contained in:
@ -85,7 +85,7 @@ public class CustomerController {
|
||||
@ApiOperation(value="根据id查询LngCustomer信息")
|
||||
@SaCheckPermission("customer:detail")
|
||||
public R info(@RequestParam Long id){
|
||||
LngCustomer lngCustomer = customerService.getByIdDeep(id);
|
||||
LngCustomer lngCustomer = customerService.getCustomerById(id);
|
||||
if (lngCustomer == null) {
|
||||
return R.error("找不到此数据!");
|
||||
}
|
||||
@ -147,7 +147,7 @@ public class CustomerController {
|
||||
@ApiOperation(value = "删除")
|
||||
@SaCheckPermission("customer:delete")
|
||||
public R delete(@Valid @RequestBody List<Long> ids){
|
||||
return R.ok(customerService.delete(ids));
|
||||
return R.ok(dataService.delete(ids));
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user