新增了审核时间
This commit is contained in:
parent
f881c06e6a
commit
7364df4950
@ -72,7 +72,6 @@ public class CaseplatformCaseController {
|
|||||||
@PreAuthorize("@saAuth.checkPermission('case-system:case:settlement')")
|
@PreAuthorize("@saAuth.checkPermission('case-system:case:settlement')")
|
||||||
public ResponseDTO<String> settlement(@PathVariable("caseId") Long caseId) {
|
public ResponseDTO<String> settlement(@PathVariable("caseId") Long caseId) {
|
||||||
return caseplatformCaseService.settlement(caseId);
|
return caseplatformCaseService.settlement(caseId);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@ApiOperation("审核拒绝 @author HMM")
|
@ApiOperation("审核拒绝 @author HMM")
|
||||||
|
|||||||
@ -54,6 +54,9 @@ public class CaseplatformCaseEntity {
|
|||||||
*/
|
*/
|
||||||
private Integer status;
|
private Integer status;
|
||||||
|
|
||||||
|
// 审核通过时间
|
||||||
|
private LocalDateTime examineTime;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 创建时间
|
* 创建时间
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -409,6 +409,9 @@ public class CaseplatformCaseService {
|
|||||||
return ResponseDTO.userErrorParam("该用户未签署协议");
|
return ResponseDTO.userErrorParam("该用户未签署协议");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
CaseplatformCaseEntity caseplatformCaseData = new CaseplatformCaseEntity();
|
||||||
|
caseplatformCaseData.setStatus(status);
|
||||||
|
caseplatformCaseData.setExamineTime(LocalDateTime.now());
|
||||||
caseplatformCaseDao.examine(case_id, status);
|
caseplatformCaseDao.examine(case_id, status);
|
||||||
|
|
||||||
return ResponseDTO.ok();
|
return ResponseDTO.ok();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user