ssm社区医院儿童预防接种管理系统源码709
开发技术:后端 ssm 后台管理 vue 用户端 vue.js+html
一、课题研究目的和意义
为了方便家长用户更全面的掌握孩子的疫苗接种情况,系统提供便利的疫苗接种服务,同时也旨在推广疫苗接种知识,提高人们对疫苗的认知和接种意愿。具体来说,少儿疫苗接种平台的意义体现在几个方面:提供便捷的服务。少儿疫苗接种小程序可以帮助家长轻松查询和预约疫苗接种服务,避免了传统方式中需要排队等待的繁琐流程,节省了时间和精力。提高接种率。少儿疫苗接种小程序不仅能够提供接种服务,还能为用户提供详细的疫苗接种知识和建议,让家长了解疫苗的作用和重要性,从而更加愿意让孩子接种疫苗,提高接种率。促进疫苗接种管理。少儿疫苗接种小程序可以记录孩子的接种记录和接种计划,让家长随时了解孩子的接种情况,保障孩子的健康安全。增强疾病防控能力。可以及时发布疫苗知识信息和防控措施,让用户了解最新疾病动态,做好少儿防控措施,从而增强少儿免疫能力。综上所述,少儿疫苗接种平台的目的和意义在于为家长提供便捷的疫苗接种服务,促进疫苗接种管理,增强少儿疾病防控能力,提高人们对少儿疫苗的认知和接种意愿,从而保障孩子的健康和社区的健康安全。
演示视频:
ssm社区医院儿童预防接种管理系统源码
二、主要参考文献资料
[1]苏强,晏任斯,孙淑慧.政府激励措施下民众疫苗接种的演化博弈分析[J/OL].工业工程与管理:1-24[2023-03-06].
[2]吕雪灵,徐筱倩,孙良,丁振涛,李欣.3~17岁未成年人家长对子女新冠疫苗接种意愿及影响因素的调查[J].中国国境卫生检疫杂志,2023,46(01):67-73.
[3]魏孔鹏, 谷洪彬, 李啸龙. 基于Android的儿童疫苗接种系统的设计与实现[J]. 数字技术与应用, 2019, 37(6):5.
[4]顾济海. 一种疫苗安全智能管理系统:, CN213040860U[P]. 2021..
[5]吴小芳. 浅谈健康教育在儿童预防接种中的作用[J]. 母婴世界 2021年10期, 264页, 2021.
[6]任乐文, 谢玲, 丁月,等. 微信小程序应用于5岁儿童龋病预防的临床研究[J]. 中国学校卫生, 2022, 43(11):4.
[7]王培花, 王芳, 宣靓. 互联网+线上预约平台在HPV疫苗预防接种服务中的作用[J]. 中文科技期刊数据库(引文版)医药卫生, 2022(5):4.
package com.controller;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Calendar;
import java.util.Map;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Date;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import java.io.IOException;
import com.utils.ValidatorUtils;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.annotation.IgnoreAuth;
import com.entity.JiezhongyichangEntity;
import com.entity.view.JiezhongyichangView;
import com.service.JiezhongyichangService;
import com.service.TokenService;
import com.utils.PageUtils;
import com.utils.R;
import com.utils.MD5Util;
import com.utils.MPUtil;
import com.utils.CommonUtil;
/**
* 接种异常
* 后端接口
* @author
* @email
* @date 2022-04-25 18:34:15
*/
@RestController
@RequestMapping("/jiezhongyichang")
public class JiezhongyichangController {
@Autowired
private JiezhongyichangService jiezhongyichangService;
/**
* 后端列表
*/
@RequestMapping("/page")
public R page(@RequestParam Map<String, Object> params,JiezhongyichangEntity jiezhongyichang,
HttpServletRequest request){
String tableName = request.getSession().getAttribute("tableName").toString();
if(tableName.equals("jiazhang")) {
jiezhongyichang.setJiazhangzhanghao((String)request.getSession().getAttribute("username"));
}
if(tableName.equals("hushi")) {
jiezhongyichang.setHushizhanghao((String)request.getSession().getAttribute("username"));
}
EntityWrapper<JiezhongyichangEntity> ew = new EntityWrapper<JiezhongyichangEntity>();
PageUtils page = jiezhongyichangService.queryPage(params, MPUtil.sort(MPUtil.between(MPUtil.likeOrEq(ew, jiezhongyichang), params), params));
return R.ok().put("data", page);
}
/**
* 前端列表
*/
@IgnoreAuth
@RequestMapping("/list")
public R list(@RequestParam Map<String, Object> params,JiezhongyichangEntity jiezhongyichang,
HttpServletRequest request){
EntityWrapper<JiezhongyichangEntity> ew = new EntityWrapper<JiezhongyichangEntity>();
PageUtils page = jiezhongyichangService.queryPage(params, MPUtil.sort(MPUtil.between(MPUtil.likeOrEq(ew, jiezhongyichang), params), params));
return R.ok().put("data", page);
}
/**
* 列表
*/
@RequestMapping("/lists")
public R list( JiezhongyichangEntity jiezhongyichang){
EntityWrapper<JiezhongyichangEntity> ew = new EntityWrapper<JiezhongyichangEntity>();
ew.allEq(MPUtil.allEQMapPre( jiezhongyichang, "jiezhongyichang"));
return R.ok().put("data", jiezhongyichangService.selectListView(ew));
}
/**
* 查询
*/
@RequestMapping("/query")
public R query(JiezhongyichangEntity jiezhongyichang){
EntityWrapper< JiezhongyichangEntity> ew = new EntityWrapper< JiezhongyichangEntity>();
ew.allEq(MPUtil.allEQMapPre( jiezhongyichang, "jiezhongyichang"));
JiezhongyichangView jiezhongyichangView = jiezhongyichangService.selectView(ew);
return R.ok("查询接种异常成功").put("data", jiezhongyichangView);
}
/**
* 后端详情
*/
@RequestMapping("/info/{id}")
public R info(@PathVariable("id") Long id){
JiezhongyichangEntity jiezhongyichang = jiezhongyichangService.selectById(id);
return R.ok().put("data", jiezhongyichang);
}
/**
* 前端详情
*/
@IgnoreAuth
@RequestMapping("/detail/{id}")
public R detail(@PathVariable("id") Long id){
JiezhongyichangEntity jiezhongyichang = jiezhongyichangService.selectById(id);
return R.ok().put("data", jiezhongyichang);
}
/**
* 后端保存
*/
@RequestMapping("/save")
public R save(@RequestBody JiezhongyichangEntity jiezhongyichang, HttpServletRequest request){
jiezhongyichang.setId(new Date().getTime()+new Double(Math.floor(Math.random()*1000)).longValue());
//ValidatorUtils.validateEntity(jiezhongyichang);
jiezhongyichangService.insert(jiezhongyichang);
return R.ok();
}
/**
* 前端保存
*/
@RequestMapping("/add")
public R add(@RequestBody JiezhongyichangEntity jiezhongyichang, HttpServletRequest request){
jiezhongyichang.setId(new Date().getTime()+new Double(Math.floor(Math.random()*1000)).longValue());
//ValidatorUtils.validateEntity(jiezhongyichang);
jiezhongyichangService.insert(jiezhongyichang);
return R.ok();
}
/**
* 修改
*/
@RequestMapping("/update")
@Transactional
public R update(@RequestBody JiezhongyichangEntity jiezhongyichang, HttpServletRequest request){
//ValidatorUtils.validateEntity(jiezhongyichang);
jiezhongyichangService.updateById(jiezhongyichang);//全部更新
return R.ok();
}
/**
* 删除
*/
@RequestMapping("/delete")
public R delete(@RequestBody Long[] ids){
jiezhongyichangService.deleteBatchIds(Arrays.asList(ids));
return R.ok();
}
/**
* 提醒接口
*/
@RequestMapping("/remind/{columnName}/{type}")
public R remindCount(@PathVariable("columnName") String columnName, HttpServletRequest request,
@PathVariable("type") String type,@RequestParam Map<String, Object> map) {
map.put("column", columnName);
map.put("type", type);
if(type.equals("2")) {
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
Calendar c = Calendar.getInstance();
Date remindStartDate = null;
Date remindEndDate = null;
if(map.get("remindstart")!=null) {
Integer remindStart = Integer.parseInt(map.get("remindstart").toString());
c.setTime(new Date());
c.add(Calendar.DAY_OF_MONTH,remindStart);
remindStartDate = c.getTime();
map.put("remindstart", sdf.format(remindStartDate));
}
if(map.get("remindend")!=null) {
Integer remindEnd = Integer.parseInt(map.get("remindend").toString());
c.setTime(new Date());
c.add(Calendar.DAY_OF_MONTH,remindEnd);
remindEndDate = c.getTime();
map.put("remindend", sdf.format(remindEndDate));
}
}
Wrapper<JiezhongyichangEntity> wrapper = new EntityWrapper<JiezhongyichangEntity>();
if(map.get("remindstart")!=null) {
wrapper.ge(columnName, map.get("remindstart"));
}
if(map.get("remindend")!=null) {
wrapper.le(columnName, map.get("remindend"));
}
String tableName = request.getSession().getAttribute("tableName").toString();
if(tableName.equals("jiazhang")) {
wrapper.eq("jiazhangzhanghao", (String)request.getSession().getAttribute("username"));
}
if(tableName.equals("hushi")) {
wrapper.eq("hushizhanghao", (String)request.getSession().getAttribute("username"));
}
int count = jiezhongyichangService.selectCount(wrapper);
return R.ok().put("count", count);
}
/**
* (按值统计)
*/
@RequestMapping("/value/{xColumnName}/{yColumnName}")
public R value(@PathVariable("yColumnName") String yColumnName, @PathVariable("xColumnName") String xColumnName,HttpServletRequest request) {
Map<String, Object> params = new HashMap<String, Object>();
params.put("xColumn", xColumnName);
params.put("yColumn", yColumnName);
EntityWrapper<JiezhongyichangEntity> ew = new EntityWrapper<JiezhongyichangEntity>();
String tableName = request.getSession().getAttribute("tableName").toString();
if(tableName.equals("jiazhang")) {
ew.eq("jiazhangzhanghao", (String)request.getSession().getAttribute("username"));
}
if(tableName.equals("hushi")) {
ew.eq("hushizhanghao", (String)request.getSession().getAttribute("username"));
}
List<Map<String, Object>> result = jiezhongyichangService.selectValue(params, ew);
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
for(Map<String, Object> m : result) {
for(String k : m.keySet()) {
if(m.get(k) instanceof Date) {
m.put(k, sdf.format((Date)m.get(k)));
}
}
}
return R.ok().put("data", result);
}
/**
* (按值统计)时间统计类型
*/
@RequestMapping("/value/{xColumnName}/{yColumnName}/{timeStatType}")
public R valueDay(@PathVariable("yColumnName") String yColumnName, @PathVariable("xColumnName") String xColumnName, @PathVariable("timeStatType") String timeStatType,HttpServletRequest request) {
Map<String, Object> params = new HashMap<String, Object>();
params.put("xColumn", xColumnName);
params.put("yColumn", yColumnName);
params.put("timeStatType", timeStatType);
EntityWrapper<JiezhongyichangEntity> ew = new EntityWrapper<JiezhongyichangEntity>();
String tableName = request.getSession().getAttribute("tableName").toString();
if(tableName.equals("jiazhang")) {
ew.eq("jiazhangzhanghao", (String)request.getSession().getAttribute("username"));
}
if(tableName.equals("hushi")) {
ew.eq("hushizhanghao", (String)request.getSession().getAttribute("username"));
}
List<Map<String, Object>> result = jiezhongyichangService.selectTimeStatValue(params, ew);
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
for(Map<String, Object> m : result) {
for(String k : m.keySet()) {
if(m.get(k) instanceof Date) {
m.put(k, sdf.format((Date)m.get(k)));
}
}
}
return R.ok().put("data", result);
}
/**
* 分组统计
*/
@RequestMapping("/group/{columnName}")
public R group(@PathVariable("columnName") String columnName,HttpServletRequest request) {
Map<String, Object> params = new HashMap<String, Object>();
params.put("column", columnName);
EntityWrapper<JiezhongyichangEntity> ew = new EntityWrapper<JiezhongyichangEntity>();
String tableName = request.getSession().getAttribute("tableName").toString();
if(tableName.equals("jiazhang")) {
ew.eq("jiazhangzhanghao", (String)request.getSession().getAttribute("username"));
}
if(tableName.equals("hushi")) {
ew.eq("hushizhanghao", (String)request.getSession().getAttribute("username"));
}
List<Map<String, Object>> result = jiezhongyichangService.selectGroup(params, ew);
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
for(Map<String, Object> m : result) {
for(String k : m.keySet()) {
if(m.get(k) instanceof Date) {
m.put(k, sdf.format((Date)m.get(k)));
}
}
}
return R.ok().put("data", result);
}
}
package com.controller;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Calendar;
import java.util.Map;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Date;
import java.util.List;
import javax.servlet.http.HttpServletRequest;
import java.io.IOException;
import com.utils.ValidatorUtils;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.annotation.IgnoreAuth;
import com.entity.JiezhongxinxiEntity;
import com.entity.view.JiezhongxinxiView;
import com.service.JiezhongxinxiService;
import com.service.TokenService;
import com.utils.PageUtils;
import com.utils.R;
import com.utils.MD5Util;
import com.utils.MPUtil;
import com.utils.CommonUtil;
/**
* 接种信息
* 后端接口
* @author
* @email
* @date 2022-04-25 18:34:14
*/
@RestController
@RequestMapping("/jiezhongxinxi")
public class JiezhongxinxiController {
@Autowired
private JiezhongxinxiService jiezhongxinxiService;
/**
* 后端列表
*/
@RequestMapping("/page")
public R page(@RequestParam Map<String, Object> params,JiezhongxinxiEntity jiezhongxinxi,
HttpServletRequest request){
String tableName = request.getSession().getAttribute("tableName").toString();
if(tableName.equals("jiazhang")) {
jiezhongxinxi.setJiazhangzhanghao((String)request.getSession().getAttribute("username"));
}
if(tableName.equals("hushi")) {
jiezhongxinxi.setHushizhanghao((String)request.getSession().getAttribute("username"));
}
EntityWrapper<JiezhongxinxiEntity> ew = new EntityWrapper<JiezhongxinxiEntity>();
PageUtils page = jiezhongxinxiService.queryPage(params, MPUtil.sort(MPUtil.between(MPUtil.likeOrEq(ew, jiezhongxinxi), params), params));
return R.ok().put("data", page);
}
/**
* 前端列表
*/
@IgnoreAuth
@RequestMapping("/list")
public R list(@RequestParam Map<String, Object> params,JiezhongxinxiEntity jiezhongxinxi,
HttpServletRequest request){
EntityWrapper<JiezhongxinxiEntity> ew = new EntityWrapper<JiezhongxinxiEntity>();
PageUtils page = jiezhongxinxiService.queryPage(params, MPUtil.sort(MPUtil.between(MPUtil.likeOrEq(ew, jiezhongxinxi), params), params));
return R.ok().put("data", page);
}
/**
* 列表
*/
@RequestMapping("/lists")
public R list( JiezhongxinxiEntity jiezhongxinxi){
EntityWrapper<JiezhongxinxiEntity> ew = new EntityWrapper<JiezhongxinxiEntity>();
ew.allEq(MPUtil.allEQMapPre( jiezhongxinxi, "jiezhongxinxi"));
return R.ok().put("data", jiezhongxinxiService.selectListView(ew));
}
/**
* 查询
*/
@RequestMapping("/query")
public R query(JiezhongxinxiEntity jiezhongxinxi){
EntityWrapper< JiezhongxinxiEntity> ew = new EntityWrapper< JiezhongxinxiEntity>();
ew.allEq(MPUtil.allEQMapPre( jiezhongxinxi, "jiezhongxinxi"));
JiezhongxinxiView jiezhongxinxiView = jiezhongxinxiService.selectView(ew);
return R.ok("查询接种信息成功").put("data", jiezhongxinxiView);
}
/**
* 后端详情
*/
@RequestMapping("/info/{id}")
public R info(@PathVariable("id") Long id){
JiezhongxinxiEntity jiezhongxinxi = jiezhongxinxiService.selectById(id);
return R.ok().put("data", jiezhongxinxi);
}
/**
* 前端详情
*/
@IgnoreAuth
@RequestMapping("/detail/{id}")
public R detail(@PathVariable("id") Long id){
JiezhongxinxiEntity jiezhongxinxi = jiezhongxinxiService.selectById(id);
return R.ok().put("data", jiezhongxinxi);
}
/**
* 后端保存
*/
@RequestMapping("/save")
public R save(@RequestBody JiezhongxinxiEntity jiezhongxinxi, HttpServletRequest request){
jiezhongxinxi.setId(new Date().getTime()+new Double(Math.floor(Math.random()*1000)).longValue());
//ValidatorUtils.validateEntity(jiezhongxinxi);
jiezhongxinxiService.insert(jiezhongxinxi);
return R.ok();
}
/**
* 前端保存
*/
@RequestMapping("/add")
public R add(@RequestBody JiezhongxinxiEntity jiezhongxinxi, HttpServletRequest request){
jiezhongxinxi.setId(new Date().getTime()+new Double(Math.floor(Math.random()*1000)).longValue());
//ValidatorUtils.validateEntity(jiezhongxinxi);
jiezhongxinxiService.insert(jiezhongxinxi);
return R.ok();
}
/**
* 修改
*/
@RequestMapping("/update")
@Transactional
public R update(@RequestBody JiezhongxinxiEntity jiezhongxinxi, HttpServletRequest request){
//ValidatorUtils.validateEntity(jiezhongxinxi);
jiezhongxinxiService.updateById(jiezhongxinxi);//全部更新
return R.ok();
}
/**
* 删除
*/
@RequestMapping("/delete")
public R delete(@RequestBody Long[] ids){
jiezhongxinxiService.deleteBatchIds(Arrays.asList(ids));
return R.ok();
}
/**
* 提醒接口
*/
@RequestMapping("/remind/{columnName}/{type}")
public R remindCount(@PathVariable("columnName") String columnName, HttpServletRequest request,
@PathVariable("type") String type,@RequestParam Map<String, Object> map) {
map.put("column", columnName);
map.put("type", type);
if(type.equals("2")) {
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
Calendar c = Calendar.getInstance();
Date remindStartDate = null;
Date remindEndDate = null;
if(map.get("remindstart")!=null) {
Integer remindStart = Integer.parseInt(map.get("remindstart").toString());
c.setTime(new Date());
c.add(Calendar.DAY_OF_MONTH,remindStart);
remindStartDate = c.getTime();
map.put("remindstart", sdf.format(remindStartDate));
}
if(map.get("remindend")!=null) {
Integer remindEnd = Integer.parseInt(map.get("remindend").toString());
c.setTime(new Date());
c.add(Calendar.DAY_OF_MONTH,remindEnd);
remindEndDate = c.getTime();
map.put("remindend", sdf.format(remindEndDate));
}
}
Wrapper<JiezhongxinxiEntity> wrapper = new EntityWrapper<JiezhongxinxiEntity>();
if(map.get("remindstart")!=null) {
wrapper.ge(columnName, map.get("remindstart"));
}
if(map.get("remindend")!=null) {
wrapper.le(columnName, map.get("remindend"));
}
String tableName = request.getSession().getAttribute("tableName").toString();
if(tableName.equals("jiazhang")) {
wrapper.eq("jiazhangzhanghao", (String)request.getSession().getAttribute("username"));
}
if(tableName.equals("hushi")) {
wrapper.eq("hushizhanghao", (String)request.getSession().getAttribute("username"));
}
int count = jiezhongxinxiService.selectCount(wrapper);
return R.ok().put("count", count);
}
/**
* (按值统计)
*/
@RequestMapping("/value/{xColumnName}/{yColumnName}")
public R value(@PathVariable("yColumnName") String yColumnName, @PathVariable("xColumnName") String xColumnName,HttpServletRequest request) {
Map<String, Object> params = new HashMap<String, Object>();
params.put("xColumn", xColumnName);
params.put("yColumn", yColumnName);
EntityWrapper<JiezhongxinxiEntity> ew = new EntityWrapper<JiezhongxinxiEntity>();
String tableName = request.getSession().getAttribute("tableName").toString();
if(tableName.equals("jiazhang")) {
ew.eq("jiazhangzhanghao", (String)request.getSession().getAttribute("username"));
}
if(tableName.equals("hushi")) {
ew.eq("hushizhanghao", (String)request.getSession().getAttribute("username"));
}
List<Map<String, Object>> result = jiezhongxinxiService.selectValue(params, ew);
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
for(Map<String, Object> m : result) {
for(String k : m.keySet()) {
if(m.get(k) instanceof Date) {
m.put(k, sdf.format((Date)m.get(k)));
}
}
}
return R.ok().put("data", result);
}
/**
* (按值统计)时间统计类型
*/
@RequestMapping("/value/{xColumnName}/{yColumnName}/{timeStatType}")
public R valueDay(@PathVariable("yColumnName") String yColumnName, @PathVariable("xColumnName") String xColumnName, @PathVariable("timeStatType") String timeStatType,HttpServletRequest request) {
Map<String, Object> params = new HashMap<String, Object>();
params.put("xColumn", xColumnName);
params.put("yColumn", yColumnName);
params.put("timeStatType", timeStatType);
EntityWrapper<JiezhongxinxiEntity> ew = new EntityWrapper<JiezhongxinxiEntity>();
String tableName = request.getSession().getAttribute("tableName").toString();
if(tableName.equals("jiazhang")) {
ew.eq("jiazhangzhanghao", (String)request.getSession().getAttribute("username"));
}
if(tableName.equals("hushi")) {
ew.eq("hushizhanghao", (String)request.getSession().getAttribute("username"));
}
List<Map<String, Object>> result = jiezhongxinxiService.selectTimeStatValue(params, ew);
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
for(Map<String, Object> m : result) {
for(String k : m.keySet()) {
if(m.get(k) instanceof Date) {
m.put(k, sdf.format((Date)m.get(k)));
}
}
}
return R.ok().put("data", result);
}
/**
* 分组统计
*/
@RequestMapping("/group/{columnName}")
public R group(@PathVariable("columnName") String columnName,HttpServletRequest request) {
Map<String, Object> params = new HashMap<String, Object>();
params.put("column", columnName);
EntityWrapper<JiezhongxinxiEntity> ew = new EntityWrapper<JiezhongxinxiEntity>();
String tableName = request.getSession().getAttribute("tableName").toString();
if(tableName.equals("jiazhang")) {
ew.eq("jiazhangzhanghao", (String)request.getSession().getAttribute("username"));
}
if(tableName.equals("hushi")) {
ew.eq("hushizhanghao", (String)request.getSession().getAttribute("username"));
}
List<Map<String, Object>> result = jiezhongxinxiService.selectGroup(params, ew);
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
for(Map<String, Object> m : result) {
for(String k : m.keySet()) {
if(m.get(k) instanceof Date) {
m.put(k, sdf.format((Date)m.get(k)));
}
}
}
return R.ok().put("data", result);
}
}