Commit 83eb1f45 authored by Quxl's avatar Quxl

x

parent 90927ae0
...@@ -8,9 +8,10 @@ import java.util.Map; ...@@ -8,9 +8,10 @@ import java.util.Map;
import javax.annotation.Resource; import javax.annotation.Resource;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody; import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;
import com.egolm.common.StringUtil; import com.egolm.common.StringUtil;
import com.egolm.common.Util; import com.egolm.common.Util;
...@@ -19,7 +20,14 @@ import com.egolm.common.jdbc.JdbcTemplate; ...@@ -19,7 +20,14 @@ import com.egolm.common.jdbc.JdbcTemplate;
import com.egolm.common.jdbc.Page; import com.egolm.common.jdbc.Page;
import com.egolm.film.api.service.CountryService; import com.egolm.film.api.service.CountryService;
@RestController("webapi") import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
@Api
@Controller
@RequestMapping("webapi")
public class WebApiController { public class WebApiController {
@Autowired @Autowired
...@@ -34,6 +42,10 @@ public class WebApiController { ...@@ -34,6 +42,10 @@ public class WebApiController {
@ResponseBody @ResponseBody
@PostMapping("getFilmList") @PostMapping("getFilmList")
@ApiOperation("查询参与评审环节的评委组")
@ApiImplicitParams({
@ApiImplicitParam(paramType="query", dataType="string", name="timestamp"),
})
public Object getFilmList() { public Object getFilmList() {
String sql0 = "select mf.id, mf.film_no, mf.cn_name, mf.en_name, mf.film_country, r.enroll_type_id, r.review_state, mf.film_type_name_short from fc_member_film mf left join fc_review r on r.film_id = mf.id, fc_film_group fg where mf.film_group_id = fg.id"; String sql0 = "select mf.id, mf.film_no, mf.cn_name, mf.en_name, mf.film_country, r.enroll_type_id, r.review_state, mf.film_type_name_short from fc_member_film mf left join fc_review r on r.film_id = mf.id, fc_film_group fg where mf.film_group_id = fg.id";
String sql1 = "select * from fc_member_film_ext"; String sql1 = "select * from fc_member_film_ext";
......
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