|
|
@ -49,7 +49,7 @@ public class DcBaseWorkSpecialController extends BaseController |
|
|
|
public TableDataInfo list(DcBaseWorkSpecial dcBaseWorkSpecial) |
|
|
|
{ |
|
|
|
startPage(); |
|
|
|
List<DcBaseWorkSpecial> list = dcBaseWorkSpecialService.selectDcBaseWorkSpecialDaoList(dcBaseWorkSpecial); |
|
|
|
List<DcBaseWorkSpecial> list = dcBaseWorkSpecialService.selectDcBaseWorkSpecialList(dcBaseWorkSpecial); |
|
|
|
return getDataTable(list); |
|
|
|
} |
|
|
|
|
|
|
@ -61,7 +61,7 @@ public class DcBaseWorkSpecialController extends BaseController |
|
|
|
@PostMapping("/export") |
|
|
|
public void export(HttpServletResponse response, DcBaseWorkSpecial dcBaseWorkSpecial) |
|
|
|
{ |
|
|
|
List<DcBaseWorkSpecial> list = dcBaseWorkSpecialService.selectDcBaseWorkSpecialDaoList(dcBaseWorkSpecial); |
|
|
|
List<DcBaseWorkSpecial> list = dcBaseWorkSpecialService.selectDcBaseWorkSpecialList(dcBaseWorkSpecial); |
|
|
|
ExcelUtil<DcBaseWorkSpecial> util = new ExcelUtil<DcBaseWorkSpecial>(DcBaseWorkSpecial.class); |
|
|
|
util.exportExcel(response, list, "生产专业管理数据"); |
|
|
|
} |
|
|
@ -95,7 +95,7 @@ public class DcBaseWorkSpecialController extends BaseController |
|
|
|
@PutMapping |
|
|
|
public AjaxResult edit(@RequestBody DcBaseWorkSpecial dcBaseWorkSpecial) |
|
|
|
{ |
|
|
|
return toAjax(dcBaseWorkSpecialService.updateDcBaseWorkSpecialDao(dcBaseWorkSpecial)); |
|
|
|
return toAjax(dcBaseWorkSpecialService.updateDcBaseWorkSpecial(dcBaseWorkSpecial)); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
@ -117,7 +117,7 @@ public class DcBaseWorkSpecialController extends BaseController |
|
|
|
@GetMapping("/listNoPage") |
|
|
|
public AjaxResult listNoPage(DcBaseWorkSpecial dcBaseWorkSpecial) |
|
|
|
{ |
|
|
|
List<DcBaseWorkSpecial> list = dcBaseWorkSpecialService.selectDcBaseWorkSpecialDaoList(dcBaseWorkSpecial); |
|
|
|
List<DcBaseWorkSpecial> list = dcBaseWorkSpecialService.selectDcBaseWorkSpecialList(dcBaseWorkSpecial); |
|
|
|
return AjaxResult.success(list); |
|
|
|
} |
|
|
|
|
|
|
|