上传代码

hehai
zhiyong.ning 4 years ago
parent fa3ccd26be
commit c9c3d1f14b
  1. 1
      src/main/java/com/msdw/tms/controller/AchievementManagementController.java
  2. 2
      src/main/resources/mapper/tms/StudentDao.xml

@ -20,6 +20,7 @@ import java.util.List;
/** /**
* 成绩管理 * 成绩管理
*/ */
@CrossOrigin
@RestController @RestController
@RequestMapping("/Achievement") @RequestMapping("/Achievement")
public class AchievementManagementController implements AchievementManagementApi { public class AchievementManagementController implements AchievementManagementApi {

@ -43,7 +43,7 @@
AND u.isdel = 0 AND u.isdel = 0
AND l.isdel = 0 AND l.isdel = 0
AND s.isdel = 0 AND s.isdel = 0
<if test="searchContent!=null">AND (l.schoolName LIKE CONCAT('%',#{searchContent},'%') OR u.userName LIKE CONCAT('%',#{searchContent},'%'))</if> <if test="searchContent!=null">AND (l.schoolName LIKE CONCAT('%',#{searchContent},'%') OR u.userName LIKE CONCAT('%',#{searchContent},'%') OR u.account LIKE CONCAT('%',#{searchContent},'%') )</if>
ORDER BY studentId DESC ORDER BY studentId DESC
</select> </select>

Loading…
Cancel
Save