Commit 8f727f43 authored by zhangqingle's avatar zhangqingle

修改sql

parent d76067f6
...@@ -318,7 +318,7 @@ public interface BLessonPersonRepository extends BaseMapper<BLessonPerson> { ...@@ -318,7 +318,7 @@ public interface BLessonPersonRepository extends BaseMapper<BLessonPerson> {
// "and su.del_flag = 0 and su.flag = 1 " + // "and su.del_flag = 0 and su.flag = 1 " +
"<if test= \" param.isApply != null and param.isApply != ''\">and is_apply = #{param.isApply} </if> " + "<if test= \" param.isApply != null and param.isApply != ''\">and is_apply = #{param.isApply} </if> " +
"<if test= \" param.trainIsSign != null and param.trainIsSign != ''\">and train_is_sign = #{param.trainIsSign} </if> " + "<if test= \" param.trainIsSign != null and param.trainIsSign != ''\">and train_is_sign = #{param.trainIsSign} </if> " +
"and lesson_id = #{param.lessonId}" + "and lesson_id = #{param.lessonId} " +
"order by is_appoint desc</script>") "order by is_appoint desc</script>")
@ResultMap(value = "BaseResultMap") @ResultMap(value = "BaseResultMap")
List<BLessonPerson> trainPersons(@Param("param") FindTrainPersonDTO param); List<BLessonPerson> trainPersons(@Param("param") FindTrainPersonDTO param);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment