|  | @@ -1,21 +1,13 @@
 | 
	
		
			
				|  |  |  package com.ym.mec.web.controller.student;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -import io.swagger.annotations.Api;
 | 
	
		
			
				|  |  | -import io.swagger.annotations.ApiOperation;
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -import java.util.List;
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -import org.springframework.beans.factory.annotation.Autowired;
 | 
	
		
			
				|  |  | -import org.springframework.web.bind.annotation.GetMapping;
 | 
	
		
			
				|  |  | -import org.springframework.web.bind.annotation.PostMapping;
 | 
	
		
			
				|  |  | -import org.springframework.web.bind.annotation.RequestBody;
 | 
	
		
			
				|  |  | -import org.springframework.web.bind.annotation.RequestMapping;
 | 
	
		
			
				|  |  | -import org.springframework.web.bind.annotation.RestController;
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -import com.ym.mec.biz.dal.entity.StudentAttendance;
 | 
	
		
			
				|  |  | +import com.ym.mec.biz.dal.dto.StudentAttendanceDto;
 | 
	
		
			
				|  |  |  import com.ym.mec.biz.dal.page.StudentAttendanceQueryInfo;
 | 
	
		
			
				|  |  |  import com.ym.mec.biz.service.StudentAttendanceService;
 | 
	
		
			
				|  |  |  import com.ym.mec.common.controller.BaseController;
 | 
	
		
			
				|  |  | +import io.swagger.annotations.Api;
 | 
	
		
			
				|  |  | +import io.swagger.annotations.ApiOperation;
 | 
	
		
			
				|  |  | +import org.springframework.beans.factory.annotation.Autowired;
 | 
	
		
			
				|  |  | +import org.springframework.web.bind.annotation.*;
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  @RequestMapping("studentAttendance")
 | 
	
		
			
				|  |  |  @Api(tags = "学生考勤服务")
 | 
	
	
		
			
				|  | @@ -27,8 +19,8 @@ public class StudentAttendanceController extends BaseController {
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      @ApiOperation(value = "点名完成")
 | 
	
		
			
				|  |  |      @PostMapping("/addStudentAttendances")
 | 
	
		
			
				|  |  | -    public Object addStudentAttendances(@RequestBody List<StudentAttendance> studentAttendances){
 | 
	
		
			
				|  |  | -        studentAttendanceService.addStudentAttendances(studentAttendances);
 | 
	
		
			
				|  |  | +    public Object addStudentAttendances(@RequestBody StudentAttendanceDto studentAttendanceDto){
 | 
	
		
			
				|  |  | +        studentAttendanceService.addStudentAttendances(studentAttendanceDto);
 | 
	
		
			
				|  |  |          return succeed();
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  
 |