Commit f278cc1c authored by 赵啸非's avatar 赵啸非

修改假期重复提交的问题

parent 55338204
......@@ -455,9 +455,10 @@ public class TestController {
@GetMapping("double")
@UnAuth
public Rest<Void> doubleRecords(@RequestParam(name = "processInstanceId", required = true) String processInstanceId) {
log.info("test double");
AttendanceLeaveRecordEntity leaveRecordEntity = new AttendanceLeaveRecordEntity();
leaveRecordEntity.initAttrValue();
leaveRecordEntity.setRemark(processInstanceId);
try {
attendanceLeaveRecordService.doUpdateRecord(processInstanceId, leaveRecordEntity);
} catch (Exception e) {
......
......@@ -48,6 +48,12 @@ GET {{baseUrl}}/test/idGens
Accept: application/json
###double
GET {{baseUrl}}/test/double?processInstanceId=test1
Accept: application/json
###短信设置删除
GET {{baseUrl}}/att/set/delete?id={{SmsSet_id}}
Accept: application/json
......
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