Commit fec04ccf authored by Quxl's avatar Quxl

x

parent 71da17c3
......@@ -393,7 +393,7 @@ public class MemberFilmServiceImpl implements MemberFilmService {
@Override
public List<Map<String, Object>> queryChuShenList(String keyword, Integer state, Integer apply_state, String film_type, String enroll_type, String film_country, Page page) {
SqlWhere where = new SqlWhere().lk(new String[]{"mf.en_name", "mf.cn_name"}, keyword).eq("mf.state", state).eq("mf.apply_state", apply_state).eq("mf.film_type_name", film_type).eq("mf.enroll_type_name", enroll_type).eq("mf.film_country", film_country);
String sql = "select mf.*, (select GROUP_CONCAT(mfd.director_name) from fc_member_film_director mfd where mfd.film_id = mf.id) director_name from fc_member_film mf" + StringUtil.join(" and ", " where ", "", "", where.getStringList());
String sql = "select mf.*, (select GROUP_CONCAT(mfd.playector_name) from fc_member_film_playector mfd where mfd.film_id = mf.id and mfd.playector_type = 'director') director_name from fc_member_film mf" + StringUtil.join(" and ", " where ", "", "", where.getStringList());
Object[] objs = where.getObjectList();
return jdbcTemplate.limit(sql, page, objs);
}
......
......@@ -158,7 +158,7 @@ public class AdminAuthController {
@PostMapping("saveOrUpdateMenu")
@ApiOperation("保存菜单")
@ApiImplicitParams({
@ApiImplicitParam(paramType="query", dataType="int", required=true, name="menu_id", value="菜单ID"),
@ApiImplicitParam(paramType="query", dataType="int", required=false,name="menu_id", value="菜单ID"),
@ApiImplicitParam(paramType="query", dataType="int", required=true, name="menu_type", value="菜单类型 [0 目录, 1 菜单, 2 按钮或其他功能或页面元素]"),
@ApiImplicitParam(paramType="query", dataType="int", required=true, name="parent_id", value="上级菜单ID"),
@ApiImplicitParam(paramType="query", dataType="int", required=false,name="order_num", value="排序顺序"),
......
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