Przeglądaj źródła

添加请假管理头像

liu 2 lat temu
rodzic
commit
9b6a78797a

+ 1 - 1
src/main/java/com/template/controller/SmartAttendanceController.java

@@ -370,7 +370,7 @@ public class SmartAttendanceController implements SmartAttendanceControllerAPI {
     }
     }
 
 
     @Override
     @Override
-    @DESRespondSecret(validated = false)
+    @DESRespondSecret(validated = true)
     public CommonResult queryPage(int currentPage, int pageCount, Integer gradeId, Integer classId, Integer status, String studentNo, String name, String startTime, String endTime) {
     public CommonResult queryPage(int currentPage, int pageCount, Integer gradeId, Integer classId, Integer status, String studentNo, String name, String startTime, String endTime) {
         PageUtils<SmartAttendanceVo> result= smartAttendanceService.queryPage(currentPage,pageCount,gradeId,classId,status,studentNo,name,startTime,endTime);
         PageUtils<SmartAttendanceVo> result= smartAttendanceService.queryPage(currentPage,pageCount,gradeId,classId,status,studentNo,name,startTime,endTime);
         return CommonResult.ok(result);
         return CommonResult.ok(result);

+ 1 - 1
src/main/resources/mapper/template/SmartAttendanceMapper.xml

@@ -14,7 +14,7 @@
     <select id="askForLeavePage" resultType="com.template.model.vo.AskForLeaveVo">
     <select id="askForLeavePage" resultType="com.template.model.vo.AskForLeaveVo">
         SELECT
         SELECT
             sa.id,
             sa.id,
-            su.head_image,
+            su.head_image as image,
             sa.xw_user_name,
             sa.xw_user_name,
             su.card_no,
             su.card_no,
             sa.start_time,
             sa.start_time,