Commit 633a3265 authored by hongguangwu's avatar hongguangwu

projectStatus

parent 965753df
...@@ -68,7 +68,7 @@ public class TEmployeeProjectController { ...@@ -68,7 +68,7 @@ public class TEmployeeProjectController {
**/ **/
@Operation(summary = "根据人员档案id获取项目list,projectStatus:1或不传,则查全部;0,查在项。", description = "根据人员档案id获取项目list") @Operation(summary = "根据人员档案id获取项目list,projectStatus:1或不传,则查全部;0,查在项。", description = "根据人员档案id获取项目list")
@GetMapping("/getListByEmpId" ) @GetMapping("/getListByEmpId" )
public R<List<TEmployeeProject>> getListByEmpId(@RequestParam String empId, Integer projectStatus) { public R<List<TEmployeeProject>> getListByEmpId(@RequestParam String empId, @RequestParam(required = false) Integer projectStatus) {
if (projectStatus == null) { if (projectStatus == null) {
projectStatus = CommonConstants.ONE_INT; projectStatus = CommonConstants.ONE_INT;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment