Commit 3097b935 by Your Name Committed by chenzg

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

parent dfbdb7de
......@@ -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