出入库数据修改, 追加出入库导入功能
This commit is contained in:
parent
0e8b4696f3
commit
f8196e3a44
@ -215,7 +215,9 @@ public class UserController {
|
|||||||
|
|
||||||
// 输出 Excel
|
// 输出 Excel
|
||||||
ExcelUtils.write(response, "用户数据.xls", "数据", UserRespVO.class,
|
ExcelUtils.write(response, "用户数据.xls", "数据", UserRespVO.class,
|
||||||
UserConvert.INSTANCE.convertList(list, deptMap, postMap), getDeptNameFun(deptDO), getPostNameFun(postDO));
|
UserConvert.INSTANCE.convertList(list, deptMap, postMap),
|
||||||
|
1, getDeptNameFun(deptDO),
|
||||||
|
2, getPostNameFun(postDO));
|
||||||
}
|
}
|
||||||
|
|
||||||
@GetMapping("/get-import-template")
|
@GetMapping("/get-import-template")
|
||||||
@ -237,7 +239,10 @@ public class UserController {
|
|||||||
postDO.sort(Comparator.comparing(PostDO::getSort));
|
postDO.sort(Comparator.comparing(PostDO::getSort));
|
||||||
|
|
||||||
// 输出
|
// 输出
|
||||||
ExcelUtils.write(response, "用户导入模板.xlsx", "用户列表", UserImportExcelVO.class, null, getDeptNameFun(deptDO), getPostNameFun(postDO));
|
ExcelUtils.write(response, "用户导入模板.xlsx", "用户列表",
|
||||||
|
UserImportExcelVO.class, null,
|
||||||
|
1, getDeptNameFun(deptDO),
|
||||||
|
2, getPostNameFun(postDO));
|
||||||
}
|
}
|
||||||
|
|
||||||
@PostMapping("/import")
|
@PostMapping("/import")
|
||||||
|
Loading…
Reference in New Issue
Block a user