|
|
|
@ -179,8 +179,8 @@ public interface AssesmentMapper { |
|
|
|
|
*/ |
|
|
|
|
@Update({"<script>", |
|
|
|
|
"update assessment set assesmentState=#{assesmentState} " + |
|
|
|
|
"<if test='releaseType==0 and assesmentState==1'>,creationTime=#{creationTime},endTime=#{endTime}</if>", |
|
|
|
|
"<if test='assesmentState==2'>,endTime=#{endTime} </if>", |
|
|
|
|
"<if test='releaseType==0 and assesmentState==1'>,creationTime=#{creationTime},endTime=#{endTime}</if>", |
|
|
|
|
"<if test='assesmentState==2 and timesum!=null'>,endTime=#{endTime},timesum=#{timesum} </if>", |
|
|
|
|
"where id=#{id}", |
|
|
|
|
"</script>"}) |
|
|
|
|
void updateAssesmentState(Assesment assesment); |
|
|
|
|