Browse Source

2023-12-6 处理生产专业代码不同补问题

develop
zhousq 11 months ago
parent
commit
b5fe8cab39
  1. 8
      lzbi-module/src/main/java/com/lzbi/special/controller/DcBaseWorkSpecialController.java

8
lzbi-module/src/main/java/com/lzbi/special/controller/DcBaseWorkSpecialController.java

@ -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);
}

Loading…
Cancel
Save