抢晒镜修改

This commit is contained in:
quyixiao 2020-11-10 10:38:17 +08:00
commit dbd4f38e50
4 changed files with 10 additions and 1 deletions

View File

@ -669,7 +669,7 @@ public class ResultRecordController extends AbstractController {
resultScoreService.updateBatchById(updateScores);
}
resultRecordService.updateCoverResultRecordById(resultRecord);
resultRecordService.updateResultRecordById(resultRecord);
return R.ok();

View File

@ -49,4 +49,6 @@ public interface EvaluationStartStaffMapper extends BaseMapper<EvaluationStartSt
List<Long> selectStaffIdsByStart(@Param("startId") Long startId);
List<Long> selectStaffIdsByStartAndStaffId(@Param("startId") Long id, @Param("list") List<StaffSimpleInfo> staffIds);
int deleteByStartId(@Param("startId") Long startId);
}

View File

@ -153,6 +153,7 @@ public class AssessManagerServiceImpl implements AssessManagerService {
public void accessDelete(FlowStart flowStart) {
flowStart.setIsDelete(1);
flowStartMapper.updateFlowStartById(flowStart);
evaluationStartStaffMapper.deleteByStartId(flowStart.getId());
String groupIds = flowStart.getGroupIds();
if(StringUtil.isNotBlank(groupIds)){
String[] split = groupIds.split(",");

View File

@ -177,5 +177,11 @@
)
group by staff_id
</select>
<update id="deleteByStartId">
UPDATE lz_evaluation_start_staff
SET is_delete = 1
where is_delete = 0 and start_id = #{startId}
</update>
</mapper>