抢晒镜修改
This commit is contained in:
commit
dbd4f38e50
@ -669,7 +669,7 @@ public class ResultRecordController extends AbstractController {
|
|||||||
resultScoreService.updateBatchById(updateScores);
|
resultScoreService.updateBatchById(updateScores);
|
||||||
}
|
}
|
||||||
|
|
||||||
resultRecordService.updateCoverResultRecordById(resultRecord);
|
resultRecordService.updateResultRecordById(resultRecord);
|
||||||
|
|
||||||
return R.ok();
|
return R.ok();
|
||||||
|
|
||||||
|
|||||||
@ -49,4 +49,6 @@ public interface EvaluationStartStaffMapper extends BaseMapper<EvaluationStartSt
|
|||||||
List<Long> selectStaffIdsByStart(@Param("startId") Long startId);
|
List<Long> selectStaffIdsByStart(@Param("startId") Long startId);
|
||||||
|
|
||||||
List<Long> selectStaffIdsByStartAndStaffId(@Param("startId") Long id, @Param("list") List<StaffSimpleInfo> staffIds);
|
List<Long> selectStaffIdsByStartAndStaffId(@Param("startId") Long id, @Param("list") List<StaffSimpleInfo> staffIds);
|
||||||
|
|
||||||
|
int deleteByStartId(@Param("startId") Long startId);
|
||||||
}
|
}
|
||||||
@ -153,6 +153,7 @@ public class AssessManagerServiceImpl implements AssessManagerService {
|
|||||||
public void accessDelete(FlowStart flowStart) {
|
public void accessDelete(FlowStart flowStart) {
|
||||||
flowStart.setIsDelete(1);
|
flowStart.setIsDelete(1);
|
||||||
flowStartMapper.updateFlowStartById(flowStart);
|
flowStartMapper.updateFlowStartById(flowStart);
|
||||||
|
evaluationStartStaffMapper.deleteByStartId(flowStart.getId());
|
||||||
String groupIds = flowStart.getGroupIds();
|
String groupIds = flowStart.getGroupIds();
|
||||||
if(StringUtil.isNotBlank(groupIds)){
|
if(StringUtil.isNotBlank(groupIds)){
|
||||||
String[] split = groupIds.split(",");
|
String[] split = groupIds.split(",");
|
||||||
|
|||||||
@ -177,5 +177,11 @@
|
|||||||
)
|
)
|
||||||
group by staff_id
|
group by staff_id
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
<update id="deleteByStartId">
|
||||||
|
UPDATE lz_evaluation_start_staff
|
||||||
|
SET is_delete = 1
|
||||||
|
where is_delete = 0 and start_id = #{startId}
|
||||||
|
</update>
|
||||||
</mapper>
|
</mapper>
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user