Commit 1dc3a217 by Your Name

更新部门下不能新增岗位员工

parent 74d5229a
......@@ -997,7 +997,7 @@ public class SpmkController {
*/
@PostMapping(value = "/approved_addDetail")
@ApiOperation(value = "A审核详情数据转换", httpMethod = "POST", notes = "")
public String addApproveDetail(String status){
public String addApproveDetail(@RequestBody String status){
return spmkService.addApproveDetail(status);
}
}
......@@ -192,7 +192,7 @@ public class SpmkServiceImpl implements SpmkService{
} catch (Exception e) {
e.printStackTrace();
} finally {
spmkApproveDetailSummary.insert();
spmkApproveDetailSummary.insertOrUpdate();
}
}
......
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