修改获取审核状态的接口
This commit is contained in:
parent
5212bf1287
commit
e573f5e418
|
|
@ -306,6 +306,9 @@ public class AnnotationTaskServiceImpl implements AnnotationTaskService {
|
|||
if (StringUtils.isEmpty(subTask.getAuditFailedReason())){
|
||||
subTask.setAuditFailedReason("");
|
||||
}
|
||||
else {
|
||||
subTask.setAnnotationStatus("2");
|
||||
}
|
||||
return annotationTaskMapper.updateAnnotationInfo(subTask);
|
||||
}catch(Exception e){
|
||||
e.printStackTrace();
|
||||
|
|
|
|||
|
|
@ -293,7 +293,7 @@
|
|||
annotation_time = sysdate(),
|
||||
annotation_status = '1',
|
||||
</when>
|
||||
<when test="auditFailedReason != null and auditFailedReason == ''">
|
||||
<when test="auditFailedReason != null and auditFailedReason != ''">
|
||||
audit_failed_reason = #{auditFailedReason},
|
||||
review_time = sysdate(),
|
||||
annotation_status = '3',
|
||||
|
|
|
|||
Loading…
Reference in New Issue