16 changed files with 942 additions and 0 deletions
@ -0,0 +1,189 @@ |
|||
package com.kms.yg.df.controller; |
|||
|
|||
import java.io.File; |
|||
import java.io.FileInputStream; |
|||
import java.io.IOException; |
|||
import java.util.*; |
|||
|
|||
import com.kms.yg.sz.domain.BsSgcSzBzh; |
|||
import com.shuili.common.core.controller.BaseController; |
|||
import com.shuili.common.core.domain.SearchParam; |
|||
import com.shuili.common.utils.poi.ExcelUtil; |
|||
import com.kms.common.utils.BaseEntityUtils; |
|||
|
|||
|
|||
import io.swagger.annotations.Api; |
|||
import io.swagger.annotations.ApiOperation; |
|||
import org.apache.poi.ss.usermodel.Row; |
|||
import org.apache.poi.ss.usermodel.Sheet; |
|||
import org.apache.poi.ss.usermodel.Workbook; |
|||
import org.apache.poi.xssf.usermodel.XSSFWorkbook; |
|||
import org.springframework.beans.factory.annotation.Autowired; |
|||
import org.springframework.web.bind.annotation.GetMapping; |
|||
import org.springframework.web.bind.annotation.PostMapping; |
|||
import org.springframework.web.bind.annotation.PutMapping; |
|||
import org.springframework.web.bind.annotation.DeleteMapping; |
|||
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.RestController; |
|||
|
|||
import com.baomidou.mybatisplus.core.metadata.IPage; |
|||
import com.shuili.common.mybaitsplus.BeanToWrapper; |
|||
|
|||
import com.shuili.common.annotation.Log; |
|||
import com.shuili.common.core.domain.AjaxResult; |
|||
import com.shuili.common.enums.BusinessType; |
|||
import com.kms.yg.df.domain.BsSgcDfBzh; |
|||
import com.kms.yg.df.service.BsSgcDfBzhService; |
|||
|
|||
|
|||
/** |
|||
* 堤防标准化Controller |
|||
* |
|||
* @author kms |
|||
* @date 2024-03-06 |
|||
*/ |
|||
@RestController |
|||
@RequestMapping("/df/bzh") |
|||
@Api(tags = "堤防标准化") |
|||
public class BsSgcDfBzhController extends BaseController |
|||
{ |
|||
@Autowired |
|||
private BsSgcDfBzhService bsSgcDfBzhService; |
|||
|
|||
|
|||
|
|||
@GetMapping("/1") |
|||
public AjaxResult a() throws IOException { |
|||
List<BsSgcDfBzh> data = new ArrayList<>(); |
|||
FileInputStream file = new FileInputStream(new File("C:\\Users\\zhuyulei\\Desktop\\副本附件5:广东省3级以上堤防标准化管理评价标准.xlsx")); |
|||
|
|||
Workbook workbook = new XSSFWorkbook(file); |
|||
|
|||
Sheet sheet = workbook.getSheetAt(0); |
|||
|
|||
Iterator<Row> iterator = sheet.iterator(); |
|||
|
|||
while (iterator.hasNext()) { |
|||
Row row = iterator.next(); |
|||
String id = String.valueOf(UUID.randomUUID()); |
|||
|
|||
|
|||
String category = row.getCell(0).getStringCellValue(); |
|||
category=getStr(category); |
|||
String project = row.getCell(1).getStringCellValue(); |
|||
project=getStr(project); |
|||
String basicRequirements = row.getCell(2).getStringCellValue(); |
|||
basicRequirements=getStr(basicRequirements); |
|||
String evaluationContent = row.getCell(3).getStringCellValue(); |
|||
evaluationContent=getStr(evaluationContent); |
|||
String score = String.valueOf(row.getCell(4).getNumericCellValue()); |
|||
score=getStr(score); |
|||
String evaluationIndicators = row.getCell(5).getStringCellValue(); |
|||
evaluationIndicators=getStr(evaluationIndicators); |
|||
String scoringInterpretation = row.getCell(6).getStringCellValue(); |
|||
scoringInterpretation=getStr(scoringInterpretation); |
|||
String reviewMethod = row.getCell(7).getStringCellValue(); |
|||
reviewMethod=getStr(reviewMethod); |
|||
String order = row.getCell(8).getStringCellValue(); |
|||
|
|||
BsSgcDfBzh bsSgcSzBzh = new BsSgcDfBzh(); |
|||
bsSgcSzBzh.setId(id); |
|||
bsSgcSzBzh.setCategory(category); |
|||
bsSgcSzBzh.setProject(project); |
|||
bsSgcSzBzh.setBasicRequirements(basicRequirements); |
|||
bsSgcSzBzh.setEvaluationContent(evaluationContent); |
|||
bsSgcSzBzh.setScore(score); |
|||
bsSgcSzBzh.setEvaluationIndicators(evaluationIndicators); |
|||
bsSgcSzBzh.setScoringInterpretation(scoringInterpretation); |
|||
bsSgcSzBzh.setReviewMethod(reviewMethod); |
|||
bsSgcSzBzh.setOrderBy(order); |
|||
bsSgcSzBzh.setCreateTime(new Date()); |
|||
bsSgcSzBzh.setType("1"); |
|||
|
|||
data.add(bsSgcSzBzh); |
|||
|
|||
} |
|||
|
|||
bsSgcDfBzhService.saveBatch(data); |
|||
|
|||
return AjaxResult.success(data); |
|||
|
|||
|
|||
} |
|||
|
|||
|
|||
public String getStr(String s) { |
|||
s = s.trim().replace("\n", "").replace("\r", "").replace(" ",""); |
|||
return s; |
|||
} |
|||
|
|||
|
|||
/** |
|||
* 查询堤防标准化列表 |
|||
*/ |
|||
@PostMapping("/list") |
|||
@ApiOperation("堤防标准化列表") |
|||
public IPage list(@RequestBody SearchParam<BsSgcDfBzh> sp) |
|||
{ |
|||
return bsSgcDfBzhService.selectPage(sp); |
|||
} |
|||
|
|||
/** |
|||
* 导出堤防标准化列表 |
|||
*/ |
|||
@Log(title = "堤防标准化导出", businessType = BusinessType.EXPORT) |
|||
@PostMapping("/export") |
|||
@ApiOperation("堤防标准化导出") |
|||
public AjaxResult export(@RequestBody BsSgcDfBzh bsSgcDfBzh) |
|||
{ |
|||
List<BsSgcDfBzh> list = bsSgcDfBzhService.listByIds(bsSgcDfBzh.getIds()); |
|||
ExcelUtil<BsSgcDfBzh> util = new ExcelUtil<>(BsSgcDfBzh.class); |
|||
return util.exportExcel(list, "bzh"); |
|||
} |
|||
|
|||
/** |
|||
* 获取堤防标准化详细信息 |
|||
*/ |
|||
@ApiOperation(" 堤防标准化详情") |
|||
@GetMapping(value = "/{id}") |
|||
public AjaxResult getInfo(@PathVariable("id") String id) |
|||
{ |
|||
return AjaxResult.success(bsSgcDfBzhService.getById(id)); |
|||
} |
|||
|
|||
/** |
|||
* 新增堤防标准化 |
|||
*/ |
|||
@Log(title = "堤防标准化新增", businessType = BusinessType.INSERT) |
|||
@PostMapping |
|||
@ApiOperation("堤防标准化新增") |
|||
public AjaxResult add(@RequestBody BsSgcDfBzh bsSgcDfBzh) |
|||
{ |
|||
BaseEntityUtils.preInsert(bsSgcDfBzh); |
|||
return toAjax(bsSgcDfBzhService.save(bsSgcDfBzh)); |
|||
} |
|||
|
|||
/** |
|||
* 修改堤防标准化 |
|||
*/ |
|||
@ApiOperation("堤防标准化修改") |
|||
@Log(title = "堤防标准化修改", businessType = BusinessType.UPDATE) |
|||
@PutMapping |
|||
public AjaxResult edit(@RequestBody BsSgcDfBzh bsSgcDfBzh) |
|||
{ |
|||
return toAjax(bsSgcDfBzhService.updateById(bsSgcDfBzh)); |
|||
} |
|||
|
|||
/** |
|||
* 删除堤防标准化 |
|||
*/ |
|||
@ApiOperation("堤防标准化删除") |
|||
@Log(title = "堤防标准化删除", businessType = BusinessType.DELETE) |
|||
@DeleteMapping("/{ids}") |
|||
public AjaxResult remove(@PathVariable String[] ids) |
|||
{ |
|||
return toAjax(bsSgcDfBzhService.removeByIds(Arrays.asList(ids))); |
|||
} |
|||
} |
@ -0,0 +1,115 @@ |
|||
package com.kms.yg.df.controller; |
|||
|
|||
import java.util.Arrays; |
|||
import java.util.List; |
|||
|
|||
import com.shuili.common.core.controller.BaseController; |
|||
import com.shuili.common.core.domain.SearchParam; |
|||
import com.shuili.common.utils.poi.ExcelUtil; |
|||
import com.kms.common.utils.BaseEntityUtils; |
|||
|
|||
|
|||
import io.swagger.annotations.Api; |
|||
import io.swagger.annotations.ApiOperation; |
|||
import org.springframework.beans.factory.annotation.Autowired; |
|||
import org.springframework.web.bind.annotation.GetMapping; |
|||
import org.springframework.web.bind.annotation.PostMapping; |
|||
import org.springframework.web.bind.annotation.PutMapping; |
|||
import org.springframework.web.bind.annotation.DeleteMapping; |
|||
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.RestController; |
|||
|
|||
import com.baomidou.mybatisplus.core.metadata.IPage; |
|||
import com.shuili.common.mybaitsplus.BeanToWrapper; |
|||
|
|||
import com.shuili.common.annotation.Log; |
|||
import com.shuili.common.core.domain.AjaxResult; |
|||
import com.shuili.common.enums.BusinessType; |
|||
import com.kms.yg.df.domain.BsSgcDfBzhjs; |
|||
import com.kms.yg.df.service.BsSgcDfBzhjsService; |
|||
|
|||
|
|||
/** |
|||
* 堤防标准化建设Controller |
|||
* |
|||
* @author kms |
|||
* @date 2024-03-06 |
|||
*/ |
|||
@RestController |
|||
@RequestMapping("/df/bzhjs") |
|||
@Api(tags = "堤防标准化建设") |
|||
public class BsSgcDfBzhjsController extends BaseController |
|||
{ |
|||
@Autowired |
|||
private BsSgcDfBzhjsService bsSgcDfBzhjsService; |
|||
|
|||
|
|||
/** |
|||
* 查询堤防标准化建设列表 |
|||
*/ |
|||
@PostMapping("/list") |
|||
@ApiOperation("堤防标准化建设列表") |
|||
public IPage list(@RequestBody SearchParam<BsSgcDfBzhjs> sp) |
|||
{ |
|||
return bsSgcDfBzhjsService.selectPage(sp); |
|||
} |
|||
|
|||
/** |
|||
* 导出堤防标准化建设列表 |
|||
*/ |
|||
@Log(title = "堤防标准化建设导出", businessType = BusinessType.EXPORT) |
|||
@PostMapping("/export") |
|||
@ApiOperation("堤防标准化建设导出") |
|||
public AjaxResult export(@RequestBody BsSgcDfBzhjs bsSgcDfBzhjs) |
|||
{ |
|||
List<BsSgcDfBzhjs> list = bsSgcDfBzhjsService.listByIds(bsSgcDfBzhjs.getIds()); |
|||
ExcelUtil<BsSgcDfBzhjs> util = new ExcelUtil<>(BsSgcDfBzhjs.class); |
|||
return util.exportExcel(list, "bzhjs"); |
|||
} |
|||
|
|||
/** |
|||
* 获取堤防标准化建设详细信息 |
|||
*/ |
|||
@ApiOperation(" 堤防标准化建设详情") |
|||
@GetMapping(value = "/{id}") |
|||
public AjaxResult getInfo(@PathVariable("id") String id) |
|||
{ |
|||
return AjaxResult.success(bsSgcDfBzhjsService.getById(id)); |
|||
} |
|||
|
|||
/** |
|||
* 新增堤防标准化建设 |
|||
*/ |
|||
@Log(title = "堤防标准化建设新增", businessType = BusinessType.INSERT) |
|||
@PostMapping |
|||
@ApiOperation("堤防标准化建设新增") |
|||
public AjaxResult add(@RequestBody BsSgcDfBzhjs bsSgcDfBzhjs) |
|||
{ |
|||
BaseEntityUtils.preInsert(bsSgcDfBzhjs); |
|||
return toAjax(bsSgcDfBzhjsService.save(bsSgcDfBzhjs)); |
|||
} |
|||
|
|||
/** |
|||
* 修改堤防标准化建设 |
|||
*/ |
|||
@ApiOperation("堤防标准化建设修改") |
|||
@Log(title = "堤防标准化建设修改", businessType = BusinessType.UPDATE) |
|||
@PutMapping |
|||
public AjaxResult edit(@RequestBody BsSgcDfBzhjs bsSgcDfBzhjs) |
|||
{ |
|||
return toAjax(bsSgcDfBzhjsService.updateById(bsSgcDfBzhjs)); |
|||
} |
|||
|
|||
/** |
|||
* 删除堤防标准化建设 |
|||
*/ |
|||
@ApiOperation("堤防标准化建设删除") |
|||
@Log(title = "堤防标准化建设删除", businessType = BusinessType.DELETE) |
|||
@DeleteMapping("/{ids}") |
|||
public AjaxResult remove(@PathVariable String[] ids) |
|||
{ |
|||
return toAjax(bsSgcDfBzhjsService.removeByIds(Arrays.asList(ids))); |
|||
} |
|||
} |
@ -0,0 +1,115 @@ |
|||
package com.kms.yg.df.controller; |
|||
|
|||
import java.util.Arrays; |
|||
import java.util.List; |
|||
|
|||
import com.shuili.common.core.controller.BaseController; |
|||
import com.shuili.common.core.domain.SearchParam; |
|||
import com.shuili.common.utils.poi.ExcelUtil; |
|||
import com.kms.common.utils.BaseEntityUtils; |
|||
|
|||
|
|||
import io.swagger.annotations.Api; |
|||
import io.swagger.annotations.ApiOperation; |
|||
import org.springframework.beans.factory.annotation.Autowired; |
|||
import org.springframework.web.bind.annotation.GetMapping; |
|||
import org.springframework.web.bind.annotation.PostMapping; |
|||
import org.springframework.web.bind.annotation.PutMapping; |
|||
import org.springframework.web.bind.annotation.DeleteMapping; |
|||
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.RestController; |
|||
|
|||
import com.baomidou.mybatisplus.core.metadata.IPage; |
|||
import com.shuili.common.mybaitsplus.BeanToWrapper; |
|||
|
|||
import com.shuili.common.annotation.Log; |
|||
import com.shuili.common.core.domain.AjaxResult; |
|||
import com.shuili.common.enums.BusinessType; |
|||
import com.kms.yg.df.domain.BsSgcDfDagl; |
|||
import com.kms.yg.df.service.BsSgcDfDaglService; |
|||
|
|||
|
|||
/** |
|||
* 堤防档案管理Controller |
|||
* |
|||
* @author kms |
|||
* @date 2024-03-06 |
|||
*/ |
|||
@RestController |
|||
@RequestMapping("/df/dagl") |
|||
@Api(tags = "堤防档案管理") |
|||
public class BsSgcDfDaglController extends BaseController |
|||
{ |
|||
@Autowired |
|||
private BsSgcDfDaglService bsSgcDfDaglService; |
|||
|
|||
|
|||
/** |
|||
* 查询堤防档案管理列表 |
|||
*/ |
|||
@PostMapping("/list") |
|||
@ApiOperation("堤防档案管理列表") |
|||
public IPage list(@RequestBody SearchParam<BsSgcDfDagl> sp) |
|||
{ |
|||
return bsSgcDfDaglService.selectPage(sp); |
|||
} |
|||
|
|||
/** |
|||
* 导出堤防档案管理列表 |
|||
*/ |
|||
@Log(title = "堤防档案管理导出", businessType = BusinessType.EXPORT) |
|||
@PostMapping("/export") |
|||
@ApiOperation("堤防档案管理导出") |
|||
public AjaxResult export(@RequestBody BsSgcDfDagl bsSgcDfDagl) |
|||
{ |
|||
List<BsSgcDfDagl> list = bsSgcDfDaglService.listByIds(bsSgcDfDagl.getIds()); |
|||
ExcelUtil<BsSgcDfDagl> util = new ExcelUtil<>(BsSgcDfDagl.class); |
|||
return util.exportExcel(list, "dagl"); |
|||
} |
|||
|
|||
/** |
|||
* 获取堤防档案管理详细信息 |
|||
*/ |
|||
@ApiOperation(" 堤防档案管理详情") |
|||
@GetMapping(value = "/{id}") |
|||
public AjaxResult getInfo(@PathVariable("id") String id) |
|||
{ |
|||
return AjaxResult.success(bsSgcDfDaglService.getById(id)); |
|||
} |
|||
|
|||
/** |
|||
* 新增堤防档案管理 |
|||
*/ |
|||
@Log(title = "堤防档案管理新增", businessType = BusinessType.INSERT) |
|||
@PostMapping |
|||
@ApiOperation("堤防档案管理新增") |
|||
public AjaxResult add(@RequestBody BsSgcDfDagl bsSgcDfDagl) |
|||
{ |
|||
BaseEntityUtils.preInsert(bsSgcDfDagl); |
|||
return toAjax(bsSgcDfDaglService.save(bsSgcDfDagl)); |
|||
} |
|||
|
|||
/** |
|||
* 修改堤防档案管理 |
|||
*/ |
|||
@ApiOperation("堤防档案管理修改") |
|||
@Log(title = "堤防档案管理修改", businessType = BusinessType.UPDATE) |
|||
@PutMapping |
|||
public AjaxResult edit(@RequestBody BsSgcDfDagl bsSgcDfDagl) |
|||
{ |
|||
return toAjax(bsSgcDfDaglService.updateById(bsSgcDfDagl)); |
|||
} |
|||
|
|||
/** |
|||
* 删除堤防档案管理 |
|||
*/ |
|||
@ApiOperation("堤防档案管理删除") |
|||
@Log(title = "堤防档案管理删除", businessType = BusinessType.DELETE) |
|||
@DeleteMapping("/{ids}") |
|||
public AjaxResult remove(@PathVariable String[] ids) |
|||
{ |
|||
return toAjax(bsSgcDfDaglService.removeByIds(Arrays.asList(ids))); |
|||
} |
|||
} |
@ -0,0 +1,115 @@ |
|||
package com.kms.yg.df.controller; |
|||
|
|||
import java.util.Arrays; |
|||
import java.util.List; |
|||
|
|||
import com.shuili.common.core.controller.BaseController; |
|||
import com.shuili.common.core.domain.SearchParam; |
|||
import com.shuili.common.utils.poi.ExcelUtil; |
|||
import com.kms.common.utils.BaseEntityUtils; |
|||
|
|||
|
|||
import io.swagger.annotations.Api; |
|||
import io.swagger.annotations.ApiOperation; |
|||
import org.springframework.beans.factory.annotation.Autowired; |
|||
import org.springframework.web.bind.annotation.GetMapping; |
|||
import org.springframework.web.bind.annotation.PostMapping; |
|||
import org.springframework.web.bind.annotation.PutMapping; |
|||
import org.springframework.web.bind.annotation.DeleteMapping; |
|||
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.RestController; |
|||
|
|||
import com.baomidou.mybatisplus.core.metadata.IPage; |
|||
import com.shuili.common.mybaitsplus.BeanToWrapper; |
|||
|
|||
import com.shuili.common.annotation.Log; |
|||
import com.shuili.common.core.domain.AjaxResult; |
|||
import com.shuili.common.enums.BusinessType; |
|||
import com.kms.yg.df.domain.BsSgcDfJfgl; |
|||
import com.kms.yg.df.service.BsSgcDfJfglService; |
|||
|
|||
|
|||
/** |
|||
* 经费管理Controller |
|||
* |
|||
* @author kms |
|||
* @date 2024-03-06 |
|||
*/ |
|||
@RestController |
|||
@RequestMapping("/df/jfgl") |
|||
@Api(tags = "经费管理") |
|||
public class BsSgcDfJfglController extends BaseController |
|||
{ |
|||
@Autowired |
|||
private BsSgcDfJfglService bsSgcDfJfglService; |
|||
|
|||
|
|||
/** |
|||
* 查询经费管理列表 |
|||
*/ |
|||
@PostMapping("/list") |
|||
@ApiOperation("经费管理列表") |
|||
public IPage list(@RequestBody SearchParam<BsSgcDfJfgl> sp) |
|||
{ |
|||
return bsSgcDfJfglService.selectPage(sp); |
|||
} |
|||
|
|||
/** |
|||
* 导出经费管理列表 |
|||
*/ |
|||
@Log(title = "经费管理导出", businessType = BusinessType.EXPORT) |
|||
@PostMapping("/export") |
|||
@ApiOperation("经费管理导出") |
|||
public AjaxResult export(@RequestBody BsSgcDfJfgl bsSgcDfJfgl) |
|||
{ |
|||
List<BsSgcDfJfgl> list = bsSgcDfJfglService.listByIds(bsSgcDfJfgl.getIds()); |
|||
ExcelUtil<BsSgcDfJfgl> util = new ExcelUtil<>(BsSgcDfJfgl.class); |
|||
return util.exportExcel(list, "jfgl"); |
|||
} |
|||
|
|||
/** |
|||
* 获取经费管理详细信息 |
|||
*/ |
|||
@ApiOperation(" 经费管理详情") |
|||
@GetMapping(value = "/{id}") |
|||
public AjaxResult getInfo(@PathVariable("id") String id) |
|||
{ |
|||
return AjaxResult.success(bsSgcDfJfglService.getById(id)); |
|||
} |
|||
|
|||
/** |
|||
* 新增经费管理 |
|||
*/ |
|||
@Log(title = "经费管理新增", businessType = BusinessType.INSERT) |
|||
@PostMapping |
|||
@ApiOperation("经费管理新增") |
|||
public AjaxResult add(@RequestBody BsSgcDfJfgl bsSgcDfJfgl) |
|||
{ |
|||
BaseEntityUtils.preInsert(bsSgcDfJfgl); |
|||
return toAjax(bsSgcDfJfglService.save(bsSgcDfJfgl)); |
|||
} |
|||
|
|||
/** |
|||
* 修改经费管理 |
|||
*/ |
|||
@ApiOperation("经费管理修改") |
|||
@Log(title = "经费管理修改", businessType = BusinessType.UPDATE) |
|||
@PutMapping |
|||
public AjaxResult edit(@RequestBody BsSgcDfJfgl bsSgcDfJfgl) |
|||
{ |
|||
return toAjax(bsSgcDfJfglService.updateById(bsSgcDfJfgl)); |
|||
} |
|||
|
|||
/** |
|||
* 删除经费管理 |
|||
*/ |
|||
@ApiOperation("经费管理删除") |
|||
@Log(title = "经费管理删除", businessType = BusinessType.DELETE) |
|||
@DeleteMapping("/{ids}") |
|||
public AjaxResult remove(@PathVariable String[] ids) |
|||
{ |
|||
return toAjax(bsSgcDfJfglService.removeByIds(Arrays.asList(ids))); |
|||
} |
|||
} |
@ -0,0 +1,90 @@ |
|||
package com.kms.yg.df.domain; |
|||
|
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
import com.shuili.common.annotation.Excel; |
|||
import com.shuili.common.core.domain.BaseEntity; |
|||
import com.baomidou.mybatisplus.annotation.TableName; |
|||
|
|||
|
|||
|
|||
/** |
|||
* 堤防标准化对象 bs_sgc_df_bzh |
|||
* |
|||
* @author kms |
|||
* @date 2024-03-06 |
|||
*/ |
|||
@TableName("bs_sgc_df_bzh") |
|||
@Data |
|||
@ApiModel("堤防标准化") |
|||
public class BsSgcDfBzh extends BaseEntity |
|||
{ |
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** 类别 */ |
|||
@Excel(name = "类别") |
|||
@ApiModelProperty("类别") |
|||
private String category; |
|||
|
|||
/** 项目 */ |
|||
@Excel(name = "项目") |
|||
@ApiModelProperty("项目") |
|||
private String project; |
|||
|
|||
/** 标准化基本要求 */ |
|||
@Excel(name = "标准化基本要求") |
|||
@ApiModelProperty("标准化基本要求") |
|||
private String basicRequirements; |
|||
|
|||
/** 评价内容及要求 */ |
|||
@Excel(name = "评价内容及要求") |
|||
@ApiModelProperty("评价内容及要求") |
|||
private String evaluationContent; |
|||
|
|||
/** 标准分 */ |
|||
@Excel(name = "标准分") |
|||
@ApiModelProperty("标准分") |
|||
private String score; |
|||
|
|||
/** 评价指标及赋分 */ |
|||
@Excel(name = "评价指标及赋分") |
|||
@ApiModelProperty("评价指标及赋分") |
|||
private String evaluationIndicators; |
|||
|
|||
/** 赋分解释 */ |
|||
@Excel(name = "赋分解释") |
|||
@ApiModelProperty("赋分解释") |
|||
private String scoringInterpretation; |
|||
|
|||
/** 评审方式 */ |
|||
@Excel(name = "评审方式") |
|||
@ApiModelProperty("评审方式") |
|||
private String reviewMethod; |
|||
|
|||
/** 排序 */ |
|||
@Excel(name = "排序") |
|||
@ApiModelProperty("排序") |
|||
private String orderBy; |
|||
|
|||
/** 类型 */ |
|||
@Excel(name = "类型") |
|||
@ApiModelProperty("类型") |
|||
private String type; |
|||
|
|||
/** $column.columnComment */ |
|||
@Excel(name = "类型") |
|||
@ApiModelProperty("类型") |
|||
private String createUid; |
|||
|
|||
/** $column.columnComment */ |
|||
@Excel(name = "类型") |
|||
@ApiModelProperty("类型") |
|||
private String updateUid; |
|||
|
|||
/** $column.columnComment */ |
|||
@Excel(name = "类型") |
|||
@ApiModelProperty("类型") |
|||
private String parentId; |
|||
|
|||
} |
@ -0,0 +1,55 @@ |
|||
package com.kms.yg.df.domain; |
|||
|
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
import com.shuili.common.annotation.Excel; |
|||
import com.shuili.common.core.domain.BaseEntity; |
|||
import com.baomidou.mybatisplus.annotation.TableName; |
|||
|
|||
|
|||
|
|||
/** |
|||
* 堤防标准化建设对象 bs_sgc_df_bzhjs |
|||
* |
|||
* @author kms |
|||
* @date 2024-03-06 |
|||
*/ |
|||
@TableName("bs_sgc_df_bzhjs") |
|||
@Data |
|||
@ApiModel("堤防标准化建设") |
|||
public class BsSgcDfBzhjs extends BaseEntity |
|||
{ |
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** 堤防编码 */ |
|||
@Excel(name = "堤防编码") |
|||
@ApiModelProperty("堤防编码") |
|||
private String dikeCode; |
|||
|
|||
/** 状态 */ |
|||
@Excel(name = "状态") |
|||
@ApiModelProperty("状态") |
|||
private String stauts; |
|||
|
|||
/** 验收申请 */ |
|||
@Excel(name = "验收申请") |
|||
@ApiModelProperty("验收申请") |
|||
private String acceptanceAttachment; |
|||
|
|||
/** 分数 */ |
|||
@Excel(name = "分数") |
|||
@ApiModelProperty("分数") |
|||
private String score; |
|||
|
|||
/** $column.columnComment */ |
|||
@Excel(name = "分数") |
|||
@ApiModelProperty("分数") |
|||
private String createUid; |
|||
|
|||
/** $column.columnComment */ |
|||
@Excel(name = "分数") |
|||
@ApiModelProperty("分数") |
|||
private String updateUid; |
|||
|
|||
} |
@ -0,0 +1,60 @@ |
|||
package com.kms.yg.df.domain; |
|||
|
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
import com.shuili.common.annotation.Excel; |
|||
import com.shuili.common.core.domain.BaseEntity; |
|||
import com.baomidou.mybatisplus.annotation.TableName; |
|||
|
|||
|
|||
|
|||
/** |
|||
* 堤防档案管理对象 bs_sgc_df_dagl |
|||
* |
|||
* @author kms |
|||
* @date 2024-03-06 |
|||
*/ |
|||
@TableName("bs_sgc_df_dagl") |
|||
@Data |
|||
@ApiModel("堤防档案管理") |
|||
public class BsSgcDfDagl extends BaseEntity |
|||
{ |
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** 堤防编码 */ |
|||
@Excel(name = "堤防编码") |
|||
@ApiModelProperty("堤防编码") |
|||
private String dikeCode; |
|||
|
|||
/** 堤防调度规程 */ |
|||
@Excel(name = "堤防调度规程") |
|||
@ApiModelProperty("堤防调度规程") |
|||
private String regulationsAttachment; |
|||
|
|||
/** 年度调度运用计划 */ |
|||
@Excel(name = "年度调度运用计划") |
|||
@ApiModelProperty("年度调度运用计划") |
|||
private String planAttachment; |
|||
|
|||
/** $column.columnComment */ |
|||
@Excel(name = "年度调度运用计划") |
|||
@ApiModelProperty("年度调度运用计划") |
|||
private String createUid; |
|||
|
|||
/** $column.columnComment */ |
|||
@Excel(name = "年度调度运用计划") |
|||
@ApiModelProperty("年度调度运用计划") |
|||
private String updateUid; |
|||
|
|||
/** $column.columnComment */ |
|||
@Excel(name = "年度调度运用计划") |
|||
@ApiModelProperty("年度调度运用计划") |
|||
private String owerDept; |
|||
|
|||
/** $column.columnComment */ |
|||
@Excel(name = "年度调度运用计划") |
|||
@ApiModelProperty("年度调度运用计划") |
|||
private String relation; |
|||
|
|||
} |
@ -0,0 +1,75 @@ |
|||
package com.kms.yg.df.domain; |
|||
|
|||
import io.swagger.annotations.ApiModel; |
|||
import io.swagger.annotations.ApiModelProperty; |
|||
import lombok.Data; |
|||
import com.shuili.common.annotation.Excel; |
|||
import com.shuili.common.core.domain.BaseEntity; |
|||
import com.baomidou.mybatisplus.annotation.TableName; |
|||
|
|||
|
|||
|
|||
/** |
|||
* 经费管理对象 bs_sgc_df_jfgl |
|||
* |
|||
* @author kms |
|||
* @date 2024-03-06 |
|||
*/ |
|||
@TableName("bs_sgc_df_jfgl") |
|||
@Data |
|||
@ApiModel("经费管理") |
|||
public class BsSgcDfJfgl extends BaseEntity |
|||
{ |
|||
private static final long serialVersionUID = 1L; |
|||
|
|||
/** 堤防编码 */ |
|||
@Excel(name = "堤防编码") |
|||
@ApiModelProperty("堤防编码") |
|||
private String dikeCode; |
|||
|
|||
/** 单位名称 */ |
|||
@Excel(name = "单位名称") |
|||
@ApiModelProperty("单位名称") |
|||
private String unitName; |
|||
|
|||
/** 人员数量 */ |
|||
@Excel(name = "人员数量") |
|||
@ApiModelProperty("人员数量") |
|||
private Long peopleNum; |
|||
|
|||
/** 经费 */ |
|||
@Excel(name = "经费") |
|||
@ApiModelProperty("经费") |
|||
private String funds; |
|||
|
|||
/** 经费用途 */ |
|||
@Excel(name = "经费用途") |
|||
@ApiModelProperty("经费用途") |
|||
private String fundsPurpose; |
|||
|
|||
/** $column.columnComment */ |
|||
@Excel(name = "经费用途") |
|||
@ApiModelProperty("经费用途") |
|||
private String createUid; |
|||
|
|||
/** $column.columnComment */ |
|||
@Excel(name = "经费用途") |
|||
@ApiModelProperty("经费用途") |
|||
private String updateUid; |
|||
|
|||
/** $column.columnComment */ |
|||
@Excel(name = "经费用途") |
|||
@ApiModelProperty("经费用途") |
|||
private String owerDept; |
|||
|
|||
/** $column.columnComment */ |
|||
@Excel(name = "经费用途") |
|||
@ApiModelProperty("经费用途") |
|||
private String relation; |
|||
|
|||
/** $column.columnComment */ |
|||
@Excel(name = "经费用途") |
|||
@ApiModelProperty("经费用途") |
|||
private String type; |
|||
|
|||
} |
@ -0,0 +1,16 @@ |
|||
package com.kms.yg.df.mapper; |
|||
|
|||
import org.springframework.stereotype.Repository; |
|||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
|||
import com.kms.yg.df.domain.BsSgcDfBzh; |
|||
|
|||
/** |
|||
* 堤防标准化Mapper接口 |
|||
* |
|||
* @author kms |
|||
* @date 2024-03-06 |
|||
*/ |
|||
@Repository |
|||
public interface BsSgcDfBzhMapper extends BaseMapper<BsSgcDfBzh> { |
|||
|
|||
} |
@ -0,0 +1,16 @@ |
|||
package com.kms.yg.df.mapper; |
|||
|
|||
import org.springframework.stereotype.Repository; |
|||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
|||
import com.kms.yg.df.domain.BsSgcDfBzhjs; |
|||
|
|||
/** |
|||
* 堤防标准化建设Mapper接口 |
|||
* |
|||
* @author kms |
|||
* @date 2024-03-06 |
|||
*/ |
|||
@Repository |
|||
public interface BsSgcDfBzhjsMapper extends BaseMapper<BsSgcDfBzhjs> { |
|||
|
|||
} |
@ -0,0 +1,16 @@ |
|||
package com.kms.yg.df.mapper; |
|||
|
|||
import org.springframework.stereotype.Repository; |
|||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
|||
import com.kms.yg.df.domain.BsSgcDfDagl; |
|||
|
|||
/** |
|||
* 堤防档案管理Mapper接口 |
|||
* |
|||
* @author kms |
|||
* @date 2024-03-06 |
|||
*/ |
|||
@Repository |
|||
public interface BsSgcDfDaglMapper extends BaseMapper<BsSgcDfDagl> { |
|||
|
|||
} |
@ -0,0 +1,16 @@ |
|||
package com.kms.yg.df.mapper; |
|||
|
|||
import org.springframework.stereotype.Repository; |
|||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
|||
import com.kms.yg.df.domain.BsSgcDfJfgl; |
|||
|
|||
/** |
|||
* 经费管理Mapper接口 |
|||
* |
|||
* @author kms |
|||
* @date 2024-03-06 |
|||
*/ |
|||
@Repository |
|||
public interface BsSgcDfJfglMapper extends BaseMapper<BsSgcDfJfgl> { |
|||
|
|||
} |
@ -0,0 +1,16 @@ |
|||
package com.kms.yg.df.service; |
|||
|
|||
import com.shuili.common.core.service.BaseService; |
|||
import com.kms.yg.df.mapper.BsSgcDfBzhMapper; |
|||
import com.kms.yg.df.domain.BsSgcDfBzh; |
|||
import org.springframework.stereotype.Service; |
|||
/** |
|||
* 堤防标准化Service接口 |
|||
* |
|||
* @author kms |
|||
* @date 2024-03-06 |
|||
*/ |
|||
@Service |
|||
public class BsSgcDfBzhService extends BaseService<BsSgcDfBzhMapper, BsSgcDfBzh>{ |
|||
|
|||
} |
@ -0,0 +1,16 @@ |
|||
package com.kms.yg.df.service; |
|||
|
|||
import com.shuili.common.core.service.BaseService; |
|||
import com.kms.yg.df.mapper.BsSgcDfBzhjsMapper; |
|||
import com.kms.yg.df.domain.BsSgcDfBzhjs; |
|||
import org.springframework.stereotype.Service; |
|||
/** |
|||
* 堤防标准化建设Service接口 |
|||
* |
|||
* @author kms |
|||
* @date 2024-03-06 |
|||
*/ |
|||
@Service |
|||
public class BsSgcDfBzhjsService extends BaseService<BsSgcDfBzhjsMapper, BsSgcDfBzhjs>{ |
|||
|
|||
} |
@ -0,0 +1,16 @@ |
|||
package com.kms.yg.df.service; |
|||
|
|||
import com.shuili.common.core.service.BaseService; |
|||
import com.kms.yg.df.mapper.BsSgcDfDaglMapper; |
|||
import com.kms.yg.df.domain.BsSgcDfDagl; |
|||
import org.springframework.stereotype.Service; |
|||
/** |
|||
* 堤防档案管理Service接口 |
|||
* |
|||
* @author kms |
|||
* @date 2024-03-06 |
|||
*/ |
|||
@Service |
|||
public class BsSgcDfDaglService extends BaseService<BsSgcDfDaglMapper, BsSgcDfDagl>{ |
|||
|
|||
} |
@ -0,0 +1,16 @@ |
|||
package com.kms.yg.df.service; |
|||
|
|||
import com.shuili.common.core.service.BaseService; |
|||
import com.kms.yg.df.mapper.BsSgcDfJfglMapper; |
|||
import com.kms.yg.df.domain.BsSgcDfJfgl; |
|||
import org.springframework.stereotype.Service; |
|||
/** |
|||
* 经费管理Service接口 |
|||
* |
|||
* @author kms |
|||
* @date 2024-03-06 |
|||
*/ |
|||
@Service |
|||
public class BsSgcDfJfglService extends BaseService<BsSgcDfJfglMapper, BsSgcDfJfgl>{ |
|||
|
|||
} |
Loading…
Reference in new issue