<> be based on Java Epidemic management system

The following is the renderings

Other functions

system management
System tools : Email SMS sending , QR code generation
Component management
Log management
Epidemic management
wait …

code snippet
package com.ssgl.controller; import com.alibaba.fastjson.JSON; import com.ssgl.
entity.Area; import com.ssgl.entity.Building; import com.ssgl.service.
AreaService; import com.ssgl.service.BuildingService; import com.ssgl.vo.
JsonBody; import com.ssgl.vo.Page; import lombok.extern.slf4j.Slf4j; import org.
springframework.beans.factory.annotation.Autowired; import org.springframework.
stereotype.Controller; import org.springframework.web.bind.annotation.
RequestMapping; import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam; import org.
springframework.web.bind.annotation.ResponseBody; import java.util.HashMap;
import java.util.List; import java.util.Map; import java.util.logging.Handler;
/** * @Author YangZhi * @Date 2021/4/23 23:30 * @Version 1.0 */ @Controller
@Slf4j @RequestMapping("/area") public class AreaController extends
BaseController{ @Autowired private AreaService areaService; /** * Enter the area management page *
@return */ @RequestMapping(value = "/jsp",method = {RequestMethod.GET}) public
StringtoJsp(){ return backView( "rygl/area"," Enter the area management page " ); } /** * Region management paging query *
@param page * @param area * @return */ @RequestMapping(value = "/findAllByPage",
method= {RequestMethod.GET,RequestMethod.POST}) @ResponseBody public Page<Area>
findAllByPage(Page<Area> page, Area area){ page = areaService.findAllByPage(
page,area ); log.info( " Region management paging query :{}", JSON.toJSONString(page) ); return page; }
/** * Add or modify * @param area * @return */ @RequestMapping("/addOrUpdate")
@ResponseBody public JsonBody addOrUpdate(Area area){ if(area.getId()!=null){
// Modify operation areaService.update( area ); }else { // Add operation areaService.add( area ); }
return success(); } /** * according to id delete * @param id * @return */ @RequestMapping(
"/deleteById") @ResponseBody public JsonBody deleteById(@RequestParam("id")
Long id){ areaService.deleteById( id ); log.info( " according to id:{} delete ",id ); return
success(); } /** * according to id Batch delete list * @param ids * @return */ @RequestMapping(
"/deleteByIds") @ResponseBody public JsonBody deleteByIds(@RequestParam("ids")
List<Long> ids){ areaService.deleteByIds( ids ); log.info( " according to id list :{} Batch delete ",ids )
; return success(); } /** * Regional management echerts query * @param areaname * @param areatype *
@return */ @RequestMapping(value = "/findAllToEcherts",method = {RequestMethod.
GET,RequestMethod.POST}) @ResponseBody public List<Area> findAllToEcherts(
String areaname,String areatype){ Map map = new HashMap<>(); map.put("areaname",
areaname); map.put("areatype",areatype); List<Area> lists = areaService.
findAllEcherts(map); log.info( " Regional management echerts query :{}", JSON.toJSONString(lists) );
return lists; } }
Source code +V:ttff227
QQ:1319018129
Difficult to make , Don't reach out to the white whoring party

Technology