commit
This commit is contained in:
+2
-2
@@ -847,7 +847,7 @@ public class TheRapyRecuperationUnionQueryController {
|
||||
@At
|
||||
@Ok("void")
|
||||
@RequiresAuthentication
|
||||
public void exportTravelers(HttpServletResponse response) {
|
||||
public void exportTravelers(Integer year, HttpServletResponse response) {
|
||||
Map<String, Object> map = new HashMap<>();
|
||||
Sql sql = Sqls.create("""
|
||||
SELECT
|
||||
@@ -870,7 +870,7 @@ public class TheRapyRecuperationUnionQueryController {
|
||||
String unionid = ((Sys_union) ShiroUtil.getPrincipalProperty("union")).getId();
|
||||
sql.setParam("unionid", unionid);
|
||||
sql.setParam("stateId", TheRapyRecuperationState.PASS);
|
||||
sql.setParam("year", DateUtil.thisYear());
|
||||
sql.setParam("year", year == null ? DateUtil.thisYear() : year);
|
||||
List<NutMap> list = baseService.listMap(sql);
|
||||
for (int i = 0; i < list.size(); i++) {
|
||||
list.get(i).put("index", i + 1);
|
||||
|
||||
Reference in New Issue
Block a user