Browse Source

【网格实体化运作】-【代码生成】-(王童)-2020/12/7

feature/dangjian
Jackwang 5 years ago
parent
commit
071e20b1d0
  1. 106
      esua-epdc/epdc-module/epdc-kpi/epdc-kpi-client/src/main/java/com/elink/esua/epdc/dto/SubAuditRecordsLogDTO.java
  2. 106
      esua-epdc/epdc-module/epdc-kpi/epdc-kpi-client/src/main/java/com/elink/esua/epdc/dto/SubCheckDictionaryDTO.java
  3. 101
      esua-epdc/epdc-module/epdc-kpi/epdc-kpi-client/src/main/java/com/elink/esua/epdc/dto/SubFileImgDTO.java
  4. 86
      esua-epdc/epdc-module/epdc-kpi/epdc-kpi-client/src/main/java/com/elink/esua/epdc/dto/SubInfoGridRelationDTO.java
  5. 96
      esua-epdc/epdc-module/epdc-kpi/epdc-kpi-client/src/main/java/com/elink/esua/epdc/dto/SubPositionCheckDetailDTO.java
  6. 117
      esua-epdc/epdc-module/epdc-kpi/epdc-kpi-client/src/main/java/com/elink/esua/epdc/dto/SubPositionCheckInfoDTO.java
  7. 94
      esua-epdc/epdc-module/epdc-kpi/epdc-kpi-server/src/main/java/com/elink/esua/epdc/controller/SubAuditRecordsLogController.java
  8. 94
      esua-epdc/epdc-module/epdc-kpi/epdc-kpi-server/src/main/java/com/elink/esua/epdc/controller/SubCheckDictionaryController.java
  9. 94
      esua-epdc/epdc-module/epdc-kpi/epdc-kpi-server/src/main/java/com/elink/esua/epdc/controller/SubFileImgController.java
  10. 94
      esua-epdc/epdc-module/epdc-kpi/epdc-kpi-server/src/main/java/com/elink/esua/epdc/controller/SubInfoGridRelationController.java
  11. 94
      esua-epdc/epdc-module/epdc-kpi/epdc-kpi-server/src/main/java/com/elink/esua/epdc/controller/SubPositionCheckDetailController.java
  12. 94
      esua-epdc/epdc-module/epdc-kpi/epdc-kpi-server/src/main/java/com/elink/esua/epdc/controller/SubPositionCheckInfoController.java
  13. 33
      esua-epdc/epdc-module/epdc-kpi/epdc-kpi-server/src/main/java/com/elink/esua/epdc/dao/SubAuditRecordsLogDao.java
  14. 33
      esua-epdc/epdc-module/epdc-kpi/epdc-kpi-server/src/main/java/com/elink/esua/epdc/dao/SubCheckDictionaryDao.java
  15. 33
      esua-epdc/epdc-module/epdc-kpi/epdc-kpi-server/src/main/java/com/elink/esua/epdc/dao/SubFileImgDao.java
  16. 33
      esua-epdc/epdc-module/epdc-kpi/epdc-kpi-server/src/main/java/com/elink/esua/epdc/dao/SubInfoGridRelationDao.java
  17. 33
      esua-epdc/epdc-module/epdc-kpi/epdc-kpi-server/src/main/java/com/elink/esua/epdc/dao/SubPositionCheckDetailDao.java
  18. 33
      esua-epdc/epdc-module/epdc-kpi/epdc-kpi-server/src/main/java/com/elink/esua/epdc/dao/SubPositionCheckInfoDao.java
  19. 73
      esua-epdc/epdc-module/epdc-kpi/epdc-kpi-server/src/main/java/com/elink/esua/epdc/entity/SubAuditRecordsLogEntity.java
  20. 76
      esua-epdc/epdc-module/epdc-kpi/epdc-kpi-server/src/main/java/com/elink/esua/epdc/entity/SubCheckDictionaryEntity.java
  21. 71
      esua-epdc/epdc-module/epdc-kpi/epdc-kpi-server/src/main/java/com/elink/esua/epdc/entity/SubFileImgEntity.java
  22. 56
      esua-epdc/epdc-module/epdc-kpi/epdc-kpi-server/src/main/java/com/elink/esua/epdc/entity/SubInfoGridRelationEntity.java
  23. 66
      esua-epdc/epdc-module/epdc-kpi/epdc-kpi-server/src/main/java/com/elink/esua/epdc/entity/SubPositionCheckDetailEntity.java
  24. 91
      esua-epdc/epdc-module/epdc-kpi/epdc-kpi-server/src/main/java/com/elink/esua/epdc/entity/SubPositionCheckInfoEntity.java
  25. 77
      esua-epdc/epdc-module/epdc-kpi/epdc-kpi-server/src/main/java/com/elink/esua/epdc/excel/SubAuditRecordsLogExcel.java
  26. 77
      esua-epdc/epdc-module/epdc-kpi/epdc-kpi-server/src/main/java/com/elink/esua/epdc/excel/SubCheckDictionaryExcel.java
  27. 74
      esua-epdc/epdc-module/epdc-kpi/epdc-kpi-server/src/main/java/com/elink/esua/epdc/excel/SubFileImgExcel.java
  28. 65
      esua-epdc/epdc-module/epdc-kpi/epdc-kpi-server/src/main/java/com/elink/esua/epdc/excel/SubInfoGridRelationExcel.java
  29. 71
      esua-epdc/epdc-module/epdc-kpi/epdc-kpi-server/src/main/java/com/elink/esua/epdc/excel/SubPositionCheckDetailExcel.java
  30. 83
      esua-epdc/epdc-module/epdc-kpi/epdc-kpi-server/src/main/java/com/elink/esua/epdc/excel/SubPositionCheckInfoExcel.java
  31. 47
      esua-epdc/epdc-module/epdc-kpi/epdc-kpi-server/src/main/java/com/elink/esua/epdc/redis/SubAuditRecordsLogRedis.java
  32. 47
      esua-epdc/epdc-module/epdc-kpi/epdc-kpi-server/src/main/java/com/elink/esua/epdc/redis/SubCheckDictionaryRedis.java
  33. 47
      esua-epdc/epdc-module/epdc-kpi/epdc-kpi-server/src/main/java/com/elink/esua/epdc/redis/SubFileImgRedis.java
  34. 47
      esua-epdc/epdc-module/epdc-kpi/epdc-kpi-server/src/main/java/com/elink/esua/epdc/redis/SubInfoGridRelationRedis.java
  35. 47
      esua-epdc/epdc-module/epdc-kpi/epdc-kpi-server/src/main/java/com/elink/esua/epdc/redis/SubPositionCheckDetailRedis.java
  36. 47
      esua-epdc/epdc-module/epdc-kpi/epdc-kpi-server/src/main/java/com/elink/esua/epdc/redis/SubPositionCheckInfoRedis.java
  37. 95
      esua-epdc/epdc-module/epdc-kpi/epdc-kpi-server/src/main/java/com/elink/esua/epdc/service/SubAuditRecordsLogService.java
  38. 95
      esua-epdc/epdc-module/epdc-kpi/epdc-kpi-server/src/main/java/com/elink/esua/epdc/service/SubCheckDictionaryService.java
  39. 95
      esua-epdc/epdc-module/epdc-kpi/epdc-kpi-server/src/main/java/com/elink/esua/epdc/service/SubFileImgService.java
  40. 95
      esua-epdc/epdc-module/epdc-kpi/epdc-kpi-server/src/main/java/com/elink/esua/epdc/service/SubInfoGridRelationService.java
  41. 95
      esua-epdc/epdc-module/epdc-kpi/epdc-kpi-server/src/main/java/com/elink/esua/epdc/service/SubPositionCheckDetailService.java
  42. 95
      esua-epdc/epdc-module/epdc-kpi/epdc-kpi-server/src/main/java/com/elink/esua/epdc/service/SubPositionCheckInfoService.java
  43. 104
      esua-epdc/epdc-module/epdc-kpi/epdc-kpi-server/src/main/java/com/elink/esua/epdc/service/impl/SubAuditRecordsLogServiceImpl.java
  44. 104
      esua-epdc/epdc-module/epdc-kpi/epdc-kpi-server/src/main/java/com/elink/esua/epdc/service/impl/SubCheckDictionaryServiceImpl.java
  45. 104
      esua-epdc/epdc-module/epdc-kpi/epdc-kpi-server/src/main/java/com/elink/esua/epdc/service/impl/SubFileImgServiceImpl.java
  46. 104
      esua-epdc/epdc-module/epdc-kpi/epdc-kpi-server/src/main/java/com/elink/esua/epdc/service/impl/SubInfoGridRelationServiceImpl.java
  47. 104
      esua-epdc/epdc-module/epdc-kpi/epdc-kpi-server/src/main/java/com/elink/esua/epdc/service/impl/SubPositionCheckDetailServiceImpl.java
  48. 104
      esua-epdc/epdc-module/epdc-kpi/epdc-kpi-server/src/main/java/com/elink/esua/epdc/service/impl/SubPositionCheckInfoServiceImpl.java
  49. 24
      esua-epdc/epdc-module/epdc-kpi/epdc-kpi-server/src/main/resources/mapper/SubAuditRecordsLogDao.xml
  50. 24
      esua-epdc/epdc-module/epdc-kpi/epdc-kpi-server/src/main/resources/mapper/SubCheckDictionaryDao.xml
  51. 23
      esua-epdc/epdc-module/epdc-kpi/epdc-kpi-server/src/main/resources/mapper/SubFileImgDao.xml
  52. 20
      esua-epdc/epdc-module/epdc-kpi/epdc-kpi-server/src/main/resources/mapper/SubInfoGridRelationDao.xml
  53. 22
      esua-epdc/epdc-module/epdc-kpi/epdc-kpi-server/src/main/resources/mapper/SubPositionCheckDetailDao.xml
  54. 26
      esua-epdc/epdc-module/epdc-kpi/epdc-kpi-server/src/main/resources/mapper/SubPositionCheckInfoDao.xml

106
esua-epdc/epdc-module/epdc-kpi/epdc-kpi-client/src/main/java/com/elink/esua/epdc/dto/SubAuditRecordsLogDTO.java

@ -0,0 +1,106 @@
/**
* Copyright 2018 人人开源 https://www.renren.io
* <p>
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* <p>
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* <p>
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package com.elink.esua.epdc.dto;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
/**
* 审核记录表
*
* @author qu qu@elink-cn.com
* @since v1.0.0 2020-12-07
*/
@Data
public class SubAuditRecordsLogDTO implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 主键
*/
private String id;
/**
* 审核部门ID
*/
private String checkDeptId;
/**
* 审核部门名称
*/
private String checkDeptNaem;
/**
* 审核时间
*/
private String checkTime;
/**
* 审核结果1驳回2通过
*/
private String checkResult;
/**
* 审核意见
*/
private String checkOpinion;
/**
* 审核流程节点code(审批状态1提交2初审3验收4驳回)
*/
private String processCode;
/**
* 审核流程节点名称
*/
private String processName;
/**
* 逻辑删除标识
*/
private String delFlag;
/**
* 乐观锁
*/
private Integer revision;
/**
* 创建人
*/
private String createdBy;
/**
* 创建时间
*/
private Date createdTime;
/**
* 更新人
*/
private String updatedBy;
/**
* 更新时间
*/
private Date updatedTime;
}

106
esua-epdc/epdc-module/epdc-kpi/epdc-kpi-client/src/main/java/com/elink/esua/epdc/dto/SubCheckDictionaryDTO.java

@ -0,0 +1,106 @@
/**
* Copyright 2018 人人开源 https://www.renren.io
* <p>
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* <p>
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* <p>
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package com.elink.esua.epdc.dto;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
/**
* 阵地建设考核内容字典表
*
* @author qu qu@elink-cn.com
* @since v1.0.0 2020-12-07
*/
@Data
public class SubCheckDictionaryDTO implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 主键
*/
private String id;
/**
* 父资源ID
*/
private String pid;
/**
* 考核类型
*/
private String checkType;
/**
* 考核编码
*/
private String checkCode;
/**
* 考核标签
*/
private String checkLabel;
/**
* 显示标识0否1是
*/
private String showFlag;
/**
* 描述
*/
private String checkDescribe;
/**
* 排序
*/
private String sort;
/**
* 逻辑删除标识
*/
private String delFlag;
/**
* 乐观锁
*/
private Integer revision;
/**
* 创建人
*/
private String createdBy;
/**
* 创建时间
*/
private Date createdTime;
/**
* 更新人
*/
private String updatedBy;
/**
* 更新时间
*/
private Date updatedTime;
}

101
esua-epdc/epdc-module/epdc-kpi/epdc-kpi-client/src/main/java/com/elink/esua/epdc/dto/SubFileImgDTO.java

@ -0,0 +1,101 @@
/**
* Copyright 2018 人人开源 https://www.renren.io
* <p>
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* <p>
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* <p>
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package com.elink.esua.epdc.dto;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
/**
* 阵地建设考核文件表
*
* @author qu qu@elink-cn.com
* @since v1.0.0 2020-12-07
*/
@Data
public class SubFileImgDTO implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 主键
*/
private String id;
/**
* 考核详情关系ID
*/
private String detailId;
/**
* 文件类型
*/
private String fileType;
/**
* 文件路径
*/
private String url;
/**
* 缩略图
*/
private String thumbnail;
/**
* 文件名
*/
private String fileName;
/**
* 排序
*/
private String sort;
/**
* 逻辑删除标识
*/
private String delFlag;
/**
* 乐观锁
*/
private Integer revision;
/**
* 创建人
*/
private String createdBy;
/**
* 创建时间
*/
private Date createdTime;
/**
* 更新人
*/
private String updatedBy;
/**
* 更新时间
*/
private Date updatedTime;
}

86
esua-epdc/epdc-module/epdc-kpi/epdc-kpi-client/src/main/java/com/elink/esua/epdc/dto/SubInfoGridRelationDTO.java

@ -0,0 +1,86 @@
/**
* Copyright 2018 人人开源 https://www.renren.io
* <p>
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* <p>
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* <p>
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package com.elink.esua.epdc.dto;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
/**
* 网格关系表
*
* @author qu qu@elink-cn.com
* @since v1.0.0 2020-12-07
*/
@Data
public class SubInfoGridRelationDTO implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 主键
*/
private String id;
/**
* 信息表关系ID
*/
private String infoId;
/**
* 网格ID
*/
private String gridId;
/**
* 年月
*/
private String monthYear;
/**
* 逻辑删除标识
*/
private String delFlag;
/**
* 乐观锁
*/
private Integer revision;
/**
* 创建人
*/
private String createdBy;
/**
* 创建时间
*/
private Date createdTime;
/**
* 更新人
*/
private String updatedBy;
/**
* 更新时间
*/
private Date updatedTime;
}

96
esua-epdc/epdc-module/epdc-kpi/epdc-kpi-client/src/main/java/com/elink/esua/epdc/dto/SubPositionCheckDetailDTO.java

@ -0,0 +1,96 @@
/**
* Copyright 2018 人人开源 https://www.renren.io
* <p>
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* <p>
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* <p>
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package com.elink.esua.epdc.dto;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
/**
* 阵地建设考核内容提报详情表
*
* @author qu qu@elink-cn.com
* @since v1.0.0 2020-12-07
*/
@Data
public class SubPositionCheckDetailDTO implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 主键
*/
private String id;
/**
* 信息表关系ID
*/
private String infoId;
/**
* 考核项描述
*/
private String checkDescribe;
/**
* 考核项大类名称
*/
private String pCheckItemName;
/**
* 考核项子类名称
*/
private String checkItemName;
/**
* 排序
*/
private String sort;
/**
* 逻辑删除标识
*/
private String delFlag;
/**
* 乐观锁
*/
private Integer revision;
/**
* 创建人
*/
private String createdBy;
/**
* 创建时间
*/
private Date createdTime;
/**
* 更新人
*/
private String updatedBy;
/**
* 更新时间
*/
private Date updatedTime;
}

117
esua-epdc/epdc-module/epdc-kpi/epdc-kpi-client/src/main/java/com/elink/esua/epdc/dto/SubPositionCheckInfoDTO.java

@ -0,0 +1,117 @@
/**
* Copyright 2018 人人开源 https://www.renren.io
* <p>
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* <p>
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* <p>
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package com.elink.esua.epdc.dto;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* 阵地建设考核内容提报信息表
*
* @author qu qu@elink-cn.com
* @since v1.0.0 2020-12-07
*/
@Data
public class SubPositionCheckInfoDTO implements Serializable {
private static final long serialVersionUID = 1L;
/**
* 主键
*/
private String id;
/**
* 社区ID
*/
private String communityId;
/**
* 社区名称
*/
private String communityName;
/**
* 关联网格ID
*/
private String gridIds;
/**
* 关联网格名称
*/
private String gridNames;
/**
* 提交时间
*/
private String submitTime;
/**
* 审批状态1提交2初审3验收4驳回
*/
private String status;
/**
* 审批部门ID
*/
private String approvalDeptId;
/**
* 审批部门名称
*/
private String approvalDeptName;
/**
* 审批时间
*/
private String approvalTime;
/**
* 逻辑删除标识
*/
private String delFlag;
/**
* 乐观锁
*/
private Integer revision;
/**
* 创建人
*/
private String createdBy;
/**
* 创建时间
*/
private Date createdTime1;
/**
* 更新人
*/
private String updatedBy;
/**
* 更新时间
*/
private Date updatedTime;
}

94
esua-epdc/epdc-module/epdc-kpi/epdc-kpi-server/src/main/java/com/elink/esua/epdc/controller/SubAuditRecordsLogController.java

@ -0,0 +1,94 @@
/**
* Copyright 2018 人人开源 https://www.renren.io
* <p>
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* <p>
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* <p>
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package com.elink.esua.epdc.controller;
import com.elink.esua.epdc.commons.tools.page.PageData;
import com.elink.esua.epdc.commons.tools.utils.ExcelUtils;
import com.elink.esua.epdc.commons.tools.utils.Result;
import com.elink.esua.epdc.commons.tools.validator.AssertUtils;
import com.elink.esua.epdc.commons.tools.validator.ValidatorUtils;
import com.elink.esua.epdc.commons.tools.validator.group.AddGroup;
import com.elink.esua.epdc.commons.tools.validator.group.UpdateGroup;
import com.elink.esua.epdc.commons.tools.validator.group.DefaultGroup;
import com.elink.esua.epdc.dto.SubAuditRecordsLogDTO;
import com.elink.esua.epdc.excel.SubAuditRecordsLogExcel;
import com.elink.esua.epdc.service.SubAuditRecordsLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Map;
/**
* 审核记录表
*
* @author qu qu@elink-cn.com
* @since v1.0.0 2020-12-07
*/
@RestController
@RequestMapping("subauditrecordslog")
public class SubAuditRecordsLogController {
@Autowired
private SubAuditRecordsLogService subAuditRecordsLogService;
@GetMapping("page")
public Result<PageData<SubAuditRecordsLogDTO>> page(@RequestParam Map<String, Object> params){
PageData<SubAuditRecordsLogDTO> page = subAuditRecordsLogService.page(params);
return new Result<PageData<SubAuditRecordsLogDTO>>().ok(page);
}
@GetMapping("{id}")
public Result<SubAuditRecordsLogDTO> get(@PathVariable("id") String id){
SubAuditRecordsLogDTO data = subAuditRecordsLogService.get(id);
return new Result<SubAuditRecordsLogDTO>().ok(data);
}
@PostMapping
public Result save(@RequestBody SubAuditRecordsLogDTO dto){
//效验数据
ValidatorUtils.validateEntity(dto, AddGroup.class, DefaultGroup.class);
subAuditRecordsLogService.save(dto);
return new Result();
}
@PutMapping
public Result update(@RequestBody SubAuditRecordsLogDTO dto){
//效验数据
ValidatorUtils.validateEntity(dto, UpdateGroup.class, DefaultGroup.class);
subAuditRecordsLogService.update(dto);
return new Result();
}
@DeleteMapping
public Result delete(@RequestBody String[] ids){
//效验数据
AssertUtils.isArrayEmpty(ids, "id");
subAuditRecordsLogService.delete(ids);
return new Result();
}
@GetMapping("export")
public void export(@RequestParam Map<String, Object> params, HttpServletResponse response) throws Exception {
List<SubAuditRecordsLogDTO> list = subAuditRecordsLogService.list(params);
ExcelUtils.exportExcelToTarget(response, null, list, SubAuditRecordsLogExcel.class);
}
}

94
esua-epdc/epdc-module/epdc-kpi/epdc-kpi-server/src/main/java/com/elink/esua/epdc/controller/SubCheckDictionaryController.java

@ -0,0 +1,94 @@
/**
* Copyright 2018 人人开源 https://www.renren.io
* <p>
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* <p>
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* <p>
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package com.elink.esua.epdc.controller;
import com.elink.esua.epdc.commons.tools.page.PageData;
import com.elink.esua.epdc.commons.tools.utils.ExcelUtils;
import com.elink.esua.epdc.commons.tools.utils.Result;
import com.elink.esua.epdc.commons.tools.validator.AssertUtils;
import com.elink.esua.epdc.commons.tools.validator.ValidatorUtils;
import com.elink.esua.epdc.commons.tools.validator.group.AddGroup;
import com.elink.esua.epdc.commons.tools.validator.group.UpdateGroup;
import com.elink.esua.epdc.commons.tools.validator.group.DefaultGroup;
import com.elink.esua.epdc.dto.SubCheckDictionaryDTO;
import com.elink.esua.epdc.excel.SubCheckDictionaryExcel;
import com.elink.esua.epdc.service.SubCheckDictionaryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Map;
/**
* 阵地建设考核内容字典表
*
* @author qu qu@elink-cn.com
* @since v1.0.0 2020-12-07
*/
@RestController
@RequestMapping("subcheckdictionary")
public class SubCheckDictionaryController {
@Autowired
private SubCheckDictionaryService subCheckDictionaryService;
@GetMapping("page")
public Result<PageData<SubCheckDictionaryDTO>> page(@RequestParam Map<String, Object> params){
PageData<SubCheckDictionaryDTO> page = subCheckDictionaryService.page(params);
return new Result<PageData<SubCheckDictionaryDTO>>().ok(page);
}
@GetMapping("{id}")
public Result<SubCheckDictionaryDTO> get(@PathVariable("id") String id){
SubCheckDictionaryDTO data = subCheckDictionaryService.get(id);
return new Result<SubCheckDictionaryDTO>().ok(data);
}
@PostMapping
public Result save(@RequestBody SubCheckDictionaryDTO dto){
//效验数据
ValidatorUtils.validateEntity(dto, AddGroup.class, DefaultGroup.class);
subCheckDictionaryService.save(dto);
return new Result();
}
@PutMapping
public Result update(@RequestBody SubCheckDictionaryDTO dto){
//效验数据
ValidatorUtils.validateEntity(dto, UpdateGroup.class, DefaultGroup.class);
subCheckDictionaryService.update(dto);
return new Result();
}
@DeleteMapping
public Result delete(@RequestBody String[] ids){
//效验数据
AssertUtils.isArrayEmpty(ids, "id");
subCheckDictionaryService.delete(ids);
return new Result();
}
@GetMapping("export")
public void export(@RequestParam Map<String, Object> params, HttpServletResponse response) throws Exception {
List<SubCheckDictionaryDTO> list = subCheckDictionaryService.list(params);
ExcelUtils.exportExcelToTarget(response, null, list, SubCheckDictionaryExcel.class);
}
}

94
esua-epdc/epdc-module/epdc-kpi/epdc-kpi-server/src/main/java/com/elink/esua/epdc/controller/SubFileImgController.java

@ -0,0 +1,94 @@
/**
* Copyright 2018 人人开源 https://www.renren.io
* <p>
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* <p>
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* <p>
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package com.elink.esua.epdc.controller;
import com.elink.esua.epdc.commons.tools.page.PageData;
import com.elink.esua.epdc.commons.tools.utils.ExcelUtils;
import com.elink.esua.epdc.commons.tools.utils.Result;
import com.elink.esua.epdc.commons.tools.validator.AssertUtils;
import com.elink.esua.epdc.commons.tools.validator.ValidatorUtils;
import com.elink.esua.epdc.commons.tools.validator.group.AddGroup;
import com.elink.esua.epdc.commons.tools.validator.group.UpdateGroup;
import com.elink.esua.epdc.commons.tools.validator.group.DefaultGroup;
import com.elink.esua.epdc.dto.SubFileImgDTO;
import com.elink.esua.epdc.excel.SubFileImgExcel;
import com.elink.esua.epdc.service.SubFileImgService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Map;
/**
* 阵地建设考核文件表
*
* @author qu qu@elink-cn.com
* @since v1.0.0 2020-12-07
*/
@RestController
@RequestMapping("subfileimg")
public class SubFileImgController {
@Autowired
private SubFileImgService subFileImgService;
@GetMapping("page")
public Result<PageData<SubFileImgDTO>> page(@RequestParam Map<String, Object> params){
PageData<SubFileImgDTO> page = subFileImgService.page(params);
return new Result<PageData<SubFileImgDTO>>().ok(page);
}
@GetMapping("{id}")
public Result<SubFileImgDTO> get(@PathVariable("id") String id){
SubFileImgDTO data = subFileImgService.get(id);
return new Result<SubFileImgDTO>().ok(data);
}
@PostMapping
public Result save(@RequestBody SubFileImgDTO dto){
//效验数据
ValidatorUtils.validateEntity(dto, AddGroup.class, DefaultGroup.class);
subFileImgService.save(dto);
return new Result();
}
@PutMapping
public Result update(@RequestBody SubFileImgDTO dto){
//效验数据
ValidatorUtils.validateEntity(dto, UpdateGroup.class, DefaultGroup.class);
subFileImgService.update(dto);
return new Result();
}
@DeleteMapping
public Result delete(@RequestBody String[] ids){
//效验数据
AssertUtils.isArrayEmpty(ids, "id");
subFileImgService.delete(ids);
return new Result();
}
@GetMapping("export")
public void export(@RequestParam Map<String, Object> params, HttpServletResponse response) throws Exception {
List<SubFileImgDTO> list = subFileImgService.list(params);
ExcelUtils.exportExcelToTarget(response, null, list, SubFileImgExcel.class);
}
}

94
esua-epdc/epdc-module/epdc-kpi/epdc-kpi-server/src/main/java/com/elink/esua/epdc/controller/SubInfoGridRelationController.java

@ -0,0 +1,94 @@
/**
* Copyright 2018 人人开源 https://www.renren.io
* <p>
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* <p>
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* <p>
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package com.elink.esua.epdc.controller;
import com.elink.esua.epdc.commons.tools.page.PageData;
import com.elink.esua.epdc.commons.tools.utils.ExcelUtils;
import com.elink.esua.epdc.commons.tools.utils.Result;
import com.elink.esua.epdc.commons.tools.validator.AssertUtils;
import com.elink.esua.epdc.commons.tools.validator.ValidatorUtils;
import com.elink.esua.epdc.commons.tools.validator.group.AddGroup;
import com.elink.esua.epdc.commons.tools.validator.group.UpdateGroup;
import com.elink.esua.epdc.commons.tools.validator.group.DefaultGroup;
import com.elink.esua.epdc.dto.SubInfoGridRelationDTO;
import com.elink.esua.epdc.excel.SubInfoGridRelationExcel;
import com.elink.esua.epdc.service.SubInfoGridRelationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Map;
/**
* 网格关系表
*
* @author qu qu@elink-cn.com
* @since v1.0.0 2020-12-07
*/
@RestController
@RequestMapping("subinfogridrelation")
public class SubInfoGridRelationController {
@Autowired
private SubInfoGridRelationService subInfoGridRelationService;
@GetMapping("page")
public Result<PageData<SubInfoGridRelationDTO>> page(@RequestParam Map<String, Object> params){
PageData<SubInfoGridRelationDTO> page = subInfoGridRelationService.page(params);
return new Result<PageData<SubInfoGridRelationDTO>>().ok(page);
}
@GetMapping("{id}")
public Result<SubInfoGridRelationDTO> get(@PathVariable("id") String id){
SubInfoGridRelationDTO data = subInfoGridRelationService.get(id);
return new Result<SubInfoGridRelationDTO>().ok(data);
}
@PostMapping
public Result save(@RequestBody SubInfoGridRelationDTO dto){
//效验数据
ValidatorUtils.validateEntity(dto, AddGroup.class, DefaultGroup.class);
subInfoGridRelationService.save(dto);
return new Result();
}
@PutMapping
public Result update(@RequestBody SubInfoGridRelationDTO dto){
//效验数据
ValidatorUtils.validateEntity(dto, UpdateGroup.class, DefaultGroup.class);
subInfoGridRelationService.update(dto);
return new Result();
}
@DeleteMapping
public Result delete(@RequestBody String[] ids){
//效验数据
AssertUtils.isArrayEmpty(ids, "id");
subInfoGridRelationService.delete(ids);
return new Result();
}
@GetMapping("export")
public void export(@RequestParam Map<String, Object> params, HttpServletResponse response) throws Exception {
List<SubInfoGridRelationDTO> list = subInfoGridRelationService.list(params);
ExcelUtils.exportExcelToTarget(response, null, list, SubInfoGridRelationExcel.class);
}
}

94
esua-epdc/epdc-module/epdc-kpi/epdc-kpi-server/src/main/java/com/elink/esua/epdc/controller/SubPositionCheckDetailController.java

@ -0,0 +1,94 @@
/**
* Copyright 2018 人人开源 https://www.renren.io
* <p>
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* <p>
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* <p>
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package com.elink.esua.epdc.controller;
import com.elink.esua.epdc.commons.tools.page.PageData;
import com.elink.esua.epdc.commons.tools.utils.ExcelUtils;
import com.elink.esua.epdc.commons.tools.utils.Result;
import com.elink.esua.epdc.commons.tools.validator.AssertUtils;
import com.elink.esua.epdc.commons.tools.validator.ValidatorUtils;
import com.elink.esua.epdc.commons.tools.validator.group.AddGroup;
import com.elink.esua.epdc.commons.tools.validator.group.UpdateGroup;
import com.elink.esua.epdc.commons.tools.validator.group.DefaultGroup;
import com.elink.esua.epdc.dto.SubPositionCheckDetailDTO;
import com.elink.esua.epdc.excel.SubPositionCheckDetailExcel;
import com.elink.esua.epdc.service.SubPositionCheckDetailService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Map;
/**
* 阵地建设考核内容提报详情表
*
* @author qu qu@elink-cn.com
* @since v1.0.0 2020-12-07
*/
@RestController
@RequestMapping("subpositioncheckdetail")
public class SubPositionCheckDetailController {
@Autowired
private SubPositionCheckDetailService subPositionCheckDetailService;
@GetMapping("page")
public Result<PageData<SubPositionCheckDetailDTO>> page(@RequestParam Map<String, Object> params){
PageData<SubPositionCheckDetailDTO> page = subPositionCheckDetailService.page(params);
return new Result<PageData<SubPositionCheckDetailDTO>>().ok(page);
}
@GetMapping("{id}")
public Result<SubPositionCheckDetailDTO> get(@PathVariable("id") String id){
SubPositionCheckDetailDTO data = subPositionCheckDetailService.get(id);
return new Result<SubPositionCheckDetailDTO>().ok(data);
}
@PostMapping
public Result save(@RequestBody SubPositionCheckDetailDTO dto){
//效验数据
ValidatorUtils.validateEntity(dto, AddGroup.class, DefaultGroup.class);
subPositionCheckDetailService.save(dto);
return new Result();
}
@PutMapping
public Result update(@RequestBody SubPositionCheckDetailDTO dto){
//效验数据
ValidatorUtils.validateEntity(dto, UpdateGroup.class, DefaultGroup.class);
subPositionCheckDetailService.update(dto);
return new Result();
}
@DeleteMapping
public Result delete(@RequestBody String[] ids){
//效验数据
AssertUtils.isArrayEmpty(ids, "id");
subPositionCheckDetailService.delete(ids);
return new Result();
}
@GetMapping("export")
public void export(@RequestParam Map<String, Object> params, HttpServletResponse response) throws Exception {
List<SubPositionCheckDetailDTO> list = subPositionCheckDetailService.list(params);
ExcelUtils.exportExcelToTarget(response, null, list, SubPositionCheckDetailExcel.class);
}
}

94
esua-epdc/epdc-module/epdc-kpi/epdc-kpi-server/src/main/java/com/elink/esua/epdc/controller/SubPositionCheckInfoController.java

@ -0,0 +1,94 @@
/**
* Copyright 2018 人人开源 https://www.renren.io
* <p>
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* <p>
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* <p>
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package com.elink.esua.epdc.controller;
import com.elink.esua.epdc.commons.tools.page.PageData;
import com.elink.esua.epdc.commons.tools.utils.ExcelUtils;
import com.elink.esua.epdc.commons.tools.utils.Result;
import com.elink.esua.epdc.commons.tools.validator.AssertUtils;
import com.elink.esua.epdc.commons.tools.validator.ValidatorUtils;
import com.elink.esua.epdc.commons.tools.validator.group.AddGroup;
import com.elink.esua.epdc.commons.tools.validator.group.UpdateGroup;
import com.elink.esua.epdc.commons.tools.validator.group.DefaultGroup;
import com.elink.esua.epdc.dto.SubPositionCheckInfoDTO;
import com.elink.esua.epdc.excel.SubPositionCheckInfoExcel;
import com.elink.esua.epdc.service.SubPositionCheckInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Map;
/**
* 阵地建设考核内容提报信息表
*
* @author qu qu@elink-cn.com
* @since v1.0.0 2020-12-07
*/
@RestController
@RequestMapping("subpositioncheckinfo")
public class SubPositionCheckInfoController {
@Autowired
private SubPositionCheckInfoService subPositionCheckInfoService;
@GetMapping("page")
public Result<PageData<SubPositionCheckInfoDTO>> page(@RequestParam Map<String, Object> params){
PageData<SubPositionCheckInfoDTO> page = subPositionCheckInfoService.page(params);
return new Result<PageData<SubPositionCheckInfoDTO>>().ok(page);
}
@GetMapping("{id}")
public Result<SubPositionCheckInfoDTO> get(@PathVariable("id") String id){
SubPositionCheckInfoDTO data = subPositionCheckInfoService.get(id);
return new Result<SubPositionCheckInfoDTO>().ok(data);
}
@PostMapping
public Result save(@RequestBody SubPositionCheckInfoDTO dto){
//效验数据
ValidatorUtils.validateEntity(dto, AddGroup.class, DefaultGroup.class);
subPositionCheckInfoService.save(dto);
return new Result();
}
@PutMapping
public Result update(@RequestBody SubPositionCheckInfoDTO dto){
//效验数据
ValidatorUtils.validateEntity(dto, UpdateGroup.class, DefaultGroup.class);
subPositionCheckInfoService.update(dto);
return new Result();
}
@DeleteMapping
public Result delete(@RequestBody String[] ids){
//效验数据
AssertUtils.isArrayEmpty(ids, "id");
subPositionCheckInfoService.delete(ids);
return new Result();
}
@GetMapping("export")
public void export(@RequestParam Map<String, Object> params, HttpServletResponse response) throws Exception {
List<SubPositionCheckInfoDTO> list = subPositionCheckInfoService.list(params);
ExcelUtils.exportExcelToTarget(response, null, list, SubPositionCheckInfoExcel.class);
}
}

33
esua-epdc/epdc-module/epdc-kpi/epdc-kpi-server/src/main/java/com/elink/esua/epdc/dao/SubAuditRecordsLogDao.java

@ -0,0 +1,33 @@
/**
* Copyright 2018 人人开源 https://www.renren.io
* <p>
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* <p>
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* <p>
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package com.elink.esua.epdc.dao;
import com.elink.esua.epdc.commons.mybatis.dao.BaseDao;
import com.elink.esua.epdc.entity.SubAuditRecordsLogEntity;
import org.apache.ibatis.annotations.Mapper;
/**
* 审核记录表
*
* @author qu qu@elink-cn.com
* @since v1.0.0 2020-12-07
*/
@Mapper
public interface SubAuditRecordsLogDao extends BaseDao<SubAuditRecordsLogEntity> {
}

33
esua-epdc/epdc-module/epdc-kpi/epdc-kpi-server/src/main/java/com/elink/esua/epdc/dao/SubCheckDictionaryDao.java

@ -0,0 +1,33 @@
/**
* Copyright 2018 人人开源 https://www.renren.io
* <p>
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* <p>
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* <p>
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package com.elink.esua.epdc.dao;
import com.elink.esua.epdc.commons.mybatis.dao.BaseDao;
import com.elink.esua.epdc.entity.SubCheckDictionaryEntity;
import org.apache.ibatis.annotations.Mapper;
/**
* 阵地建设考核内容字典表
*
* @author qu qu@elink-cn.com
* @since v1.0.0 2020-12-07
*/
@Mapper
public interface SubCheckDictionaryDao extends BaseDao<SubCheckDictionaryEntity> {
}

33
esua-epdc/epdc-module/epdc-kpi/epdc-kpi-server/src/main/java/com/elink/esua/epdc/dao/SubFileImgDao.java

@ -0,0 +1,33 @@
/**
* Copyright 2018 人人开源 https://www.renren.io
* <p>
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* <p>
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* <p>
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package com.elink.esua.epdc.dao;
import com.elink.esua.epdc.commons.mybatis.dao.BaseDao;
import com.elink.esua.epdc.entity.SubFileImgEntity;
import org.apache.ibatis.annotations.Mapper;
/**
* 阵地建设考核文件表
*
* @author qu qu@elink-cn.com
* @since v1.0.0 2020-12-07
*/
@Mapper
public interface SubFileImgDao extends BaseDao<SubFileImgEntity> {
}

33
esua-epdc/epdc-module/epdc-kpi/epdc-kpi-server/src/main/java/com/elink/esua/epdc/dao/SubInfoGridRelationDao.java

@ -0,0 +1,33 @@
/**
* Copyright 2018 人人开源 https://www.renren.io
* <p>
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* <p>
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* <p>
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package com.elink.esua.epdc.dao;
import com.elink.esua.epdc.commons.mybatis.dao.BaseDao;
import com.elink.esua.epdc.entity.SubInfoGridRelationEntity;
import org.apache.ibatis.annotations.Mapper;
/**
* 网格关系表
*
* @author qu qu@elink-cn.com
* @since v1.0.0 2020-12-07
*/
@Mapper
public interface SubInfoGridRelationDao extends BaseDao<SubInfoGridRelationEntity> {
}

33
esua-epdc/epdc-module/epdc-kpi/epdc-kpi-server/src/main/java/com/elink/esua/epdc/dao/SubPositionCheckDetailDao.java

@ -0,0 +1,33 @@
/**
* Copyright 2018 人人开源 https://www.renren.io
* <p>
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* <p>
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* <p>
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package com.elink.esua.epdc.dao;
import com.elink.esua.epdc.commons.mybatis.dao.BaseDao;
import com.elink.esua.epdc.entity.SubPositionCheckDetailEntity;
import org.apache.ibatis.annotations.Mapper;
/**
* 阵地建设考核内容提报详情表
*
* @author qu qu@elink-cn.com
* @since v1.0.0 2020-12-07
*/
@Mapper
public interface SubPositionCheckDetailDao extends BaseDao<SubPositionCheckDetailEntity> {
}

33
esua-epdc/epdc-module/epdc-kpi/epdc-kpi-server/src/main/java/com/elink/esua/epdc/dao/SubPositionCheckInfoDao.java

@ -0,0 +1,33 @@
/**
* Copyright 2018 人人开源 https://www.renren.io
* <p>
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* <p>
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* <p>
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package com.elink.esua.epdc.dao;
import com.elink.esua.epdc.commons.mybatis.dao.BaseDao;
import com.elink.esua.epdc.entity.SubPositionCheckInfoEntity;
import org.apache.ibatis.annotations.Mapper;
/**
* 阵地建设考核内容提报信息表
*
* @author qu qu@elink-cn.com
* @since v1.0.0 2020-12-07
*/
@Mapper
public interface SubPositionCheckInfoDao extends BaseDao<SubPositionCheckInfoEntity> {
}

73
esua-epdc/epdc-module/epdc-kpi/epdc-kpi-server/src/main/java/com/elink/esua/epdc/entity/SubAuditRecordsLogEntity.java

@ -0,0 +1,73 @@
/**
* Copyright 2018 人人开源 https://www.renren.io
* <p>
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* <p>
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* <p>
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package com.elink.esua.epdc.entity;
import com.baomidou.mybatisplus.annotation.TableName;
import com.elink.esua.epdc.commons.mybatis.entity.BaseEpdcEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
/**
* 审核记录表
*
* @author qu qu@elink-cn.com
* @since v1.0.0 2020-12-07
*/
@Data
@EqualsAndHashCode(callSuper=false)
@TableName("epdc_sub_audit_records_log")
public class SubAuditRecordsLogEntity extends BaseEpdcEntity {
private static final long serialVersionUID = 1L;
/**
* 审核部门ID
*/
private String checkDeptId;
/**
* 审核部门名称
*/
private String checkDeptNaem;
/**
* 审核时间
*/
private String checkTime;
/**
* 审核结果1驳回2通过
*/
private String checkResult;
/**
* 审核意见
*/
private String checkOpinion;
/**
* 审核流程节点code(审批状态1提交2初审3验收4驳回)
*/
private String processCode;
/**
* 审核流程节点名称
*/
private String processName;
}

76
esua-epdc/epdc-module/epdc-kpi/epdc-kpi-server/src/main/java/com/elink/esua/epdc/entity/SubCheckDictionaryEntity.java

@ -0,0 +1,76 @@
/**
* Copyright 2018 人人开源 https://www.renren.io
* <p>
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* <p>
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* <p>
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package com.elink.esua.epdc.entity;
import com.baomidou.mybatisplus.annotation.TableName;
import com.elink.esua.epdc.commons.mybatis.entity.BaseEpdcEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.util.Date;
/**
* 阵地建设考核内容字典表
*
* @author qu qu@elink-cn.com
* @since v1.0.0 2020-12-07
*/
@Data
@EqualsAndHashCode(callSuper=false)
@TableName("epdc_sub_check_dictionary")
public class SubCheckDictionaryEntity extends BaseEpdcEntity {
private static final long serialVersionUID = 1L;
/**
* 父资源ID
*/
private String pid;
/**
* 考核类型
*/
private String checkType;
/**
* 考核编码
*/
private String checkCode;
/**
* 考核标签
*/
private String checkLabel;
/**
* 显示标识0否1是
*/
private String showFlag;
/**
* 描述
*/
private String checkDescribe;
/**
* 排序
*/
private String sort;
}

71
esua-epdc/epdc-module/epdc-kpi/epdc-kpi-server/src/main/java/com/elink/esua/epdc/entity/SubFileImgEntity.java

@ -0,0 +1,71 @@
/**
* Copyright 2018 人人开源 https://www.renren.io
* <p>
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* <p>
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* <p>
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package com.elink.esua.epdc.entity;
import com.baomidou.mybatisplus.annotation.TableName;
import com.elink.esua.epdc.commons.mybatis.entity.BaseEpdcEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.util.Date;
/**
* 阵地建设考核文件表
*
* @author qu qu@elink-cn.com
* @since v1.0.0 2020-12-07
*/
@Data
@EqualsAndHashCode(callSuper=false)
@TableName("epdc_sub_file_img")
public class SubFileImgEntity extends BaseEpdcEntity {
private static final long serialVersionUID = 1L;
/**
* 考核详情关系ID
*/
private String detailId;
/**
* 文件类型
*/
private String fileType;
/**
* 文件路径
*/
private String url;
/**
* 缩略图
*/
private String thumbnail;
/**
* 文件名
*/
private String fileName;
/**
* 排序
*/
private String sort;
}

56
esua-epdc/epdc-module/epdc-kpi/epdc-kpi-server/src/main/java/com/elink/esua/epdc/entity/SubInfoGridRelationEntity.java

@ -0,0 +1,56 @@
/**
* Copyright 2018 人人开源 https://www.renren.io
* <p>
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* <p>
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* <p>
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package com.elink.esua.epdc.entity;
import com.baomidou.mybatisplus.annotation.TableName;
import com.elink.esua.epdc.commons.mybatis.entity.BaseEpdcEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.util.Date;
/**
* 网格关系表
*
* @author qu qu@elink-cn.com
* @since v1.0.0 2020-12-07
*/
@Data
@EqualsAndHashCode(callSuper=false)
@TableName("epdc_sub_info_grid_relation")
public class SubInfoGridRelationEntity extends BaseEpdcEntity {
private static final long serialVersionUID = 1L;
/**
* 信息表关系ID
*/
private String infoId;
/**
* 网格ID
*/
private String gridId;
/**
* 年月
*/
private String monthYear;
}

66
esua-epdc/epdc-module/epdc-kpi/epdc-kpi-server/src/main/java/com/elink/esua/epdc/entity/SubPositionCheckDetailEntity.java

@ -0,0 +1,66 @@
/**
* Copyright 2018 人人开源 https://www.renren.io
* <p>
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* <p>
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* <p>
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package com.elink.esua.epdc.entity;
import com.baomidou.mybatisplus.annotation.TableName;
import com.elink.esua.epdc.commons.mybatis.entity.BaseEpdcEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.util.Date;
/**
* 阵地建设考核内容提报详情表
*
* @author qu qu@elink-cn.com
* @since v1.0.0 2020-12-07
*/
@Data
@EqualsAndHashCode(callSuper=false)
@TableName("epdc_sub_position_check_detail")
public class SubPositionCheckDetailEntity extends BaseEpdcEntity {
private static final long serialVersionUID = 1L;
/**
* 信息表关系ID
*/
private String infoId;
/**
* 考核项描述
*/
private String checkDescribe;
/**
* 考核项大类名称
*/
private String pCheckItemName;
/**
* 考核项子类名称
*/
private String checkItemName;
/**
* 排序
*/
private String sort;
}

91
esua-epdc/epdc-module/epdc-kpi/epdc-kpi-server/src/main/java/com/elink/esua/epdc/entity/SubPositionCheckInfoEntity.java

@ -0,0 +1,91 @@
/**
* Copyright 2018 人人开源 https://www.renren.io
* <p>
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* <p>
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* <p>
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package com.elink.esua.epdc.entity;
import com.baomidou.mybatisplus.annotation.TableName;
import com.elink.esua.epdc.commons.mybatis.entity.BaseEpdcEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.util.Date;
/**
* 阵地建设考核内容提报信息表
*
* @author qu qu@elink-cn.com
* @since v1.0.0 2020-12-07
*/
@Data
@EqualsAndHashCode(callSuper=false)
@TableName("epdc_sub_position_check_info")
public class SubPositionCheckInfoEntity extends BaseEpdcEntity {
private static final long serialVersionUID = 1L;
/**
* 社区ID
*/
private String communityId;
/**
* 社区名称
*/
private String communityName;
/**
* 关联网格ID
*/
private String gridIds;
/**
* 关联网格名称
*/
private String gridNames;
/**
* 提交时间
*/
private String submitTime;
/**
* 审批状态1提交2初审3验收4驳回
*/
private String status;
/**
* 审批部门ID
*/
private String approvalDeptId;
/**
* 审批部门名称
*/
private String approvalDeptName;
/**
* 审批时间
*/
private String approvalTime;
/**
* 创建时间
*/
private Date createdTime1;
}

77
esua-epdc/epdc-module/epdc-kpi/epdc-kpi-server/src/main/java/com/elink/esua/epdc/excel/SubAuditRecordsLogExcel.java

@ -0,0 +1,77 @@
/**
* Copyright 2018 人人开源 https://www.renren.io
* <p>
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* <p>
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* <p>
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package com.elink.esua.epdc.excel;
import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;
import java.util.Date;
/**
* 审核记录表
*
* @author qu qu@elink-cn.com
* @since v1.0.0 2020-12-07
*/
@Data
public class SubAuditRecordsLogExcel {
@Excel(name = "主键")
private String id;
@Excel(name = "审核部门ID")
private String checkDeptId;
@Excel(name = "审核部门名称")
private String checkDeptNaem;
@Excel(name = "审核时间")
private String checkTime;
@Excel(name = "审核结果(1:驳回;2:通过)")
private String checkResult;
@Excel(name = "审核意见")
private String checkOpinion;
@Excel(name = "审核流程节点code(审批状态(1:提交;2:初审;3:验收;4:驳回)")
private String processCode;
@Excel(name = "审核流程节点名称")
private String processName;
@Excel(name = "逻辑删除标识")
private String delFlag;
@Excel(name = "乐观锁")
private Integer revision;
@Excel(name = "创建人")
private String createdBy;
@Excel(name = "创建时间")
private Date createdTime;
@Excel(name = "更新人")
private String updatedBy;
@Excel(name = "更新时间")
private Date updatedTime;
}

77
esua-epdc/epdc-module/epdc-kpi/epdc-kpi-server/src/main/java/com/elink/esua/epdc/excel/SubCheckDictionaryExcel.java

@ -0,0 +1,77 @@
/**
* Copyright 2018 人人开源 https://www.renren.io
* <p>
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* <p>
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* <p>
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package com.elink.esua.epdc.excel;
import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;
import java.util.Date;
/**
* 阵地建设考核内容字典表
*
* @author qu qu@elink-cn.com
* @since v1.0.0 2020-12-07
*/
@Data
public class SubCheckDictionaryExcel {
@Excel(name = "主键")
private String id;
@Excel(name = "父资源ID")
private String pid;
@Excel(name = "考核类型")
private String checkType;
@Excel(name = "考核编码")
private String checkCode;
@Excel(name = "考核标签")
private String checkLabel;
@Excel(name = "显示标识:0否,1是")
private String showFlag;
@Excel(name = "描述")
private String checkDescribe;
@Excel(name = "排序")
private String sort;
@Excel(name = "逻辑删除标识")
private String delFlag;
@Excel(name = "乐观锁")
private Integer revision;
@Excel(name = "创建人")
private String createdBy;
@Excel(name = "创建时间")
private Date createdTime;
@Excel(name = "更新人")
private String updatedBy;
@Excel(name = "更新时间")
private Date updatedTime;
}

74
esua-epdc/epdc-module/epdc-kpi/epdc-kpi-server/src/main/java/com/elink/esua/epdc/excel/SubFileImgExcel.java

@ -0,0 +1,74 @@
/**
* Copyright 2018 人人开源 https://www.renren.io
* <p>
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* <p>
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* <p>
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package com.elink.esua.epdc.excel;
import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;
import java.util.Date;
/**
* 阵地建设考核文件表
*
* @author qu qu@elink-cn.com
* @since v1.0.0 2020-12-07
*/
@Data
public class SubFileImgExcel {
@Excel(name = "主键")
private String id;
@Excel(name = "考核详情关系ID")
private String detailId;
@Excel(name = "文件类型")
private String fileType;
@Excel(name = "文件路径")
private String url;
@Excel(name = "缩略图")
private String thumbnail;
@Excel(name = "文件名")
private String fileName;
@Excel(name = "排序")
private String sort;
@Excel(name = "逻辑删除标识")
private String delFlag;
@Excel(name = "乐观锁")
private Integer revision;
@Excel(name = "创建人")
private String createdBy;
@Excel(name = "创建时间")
private Date createdTime;
@Excel(name = "更新人")
private String updatedBy;
@Excel(name = "更新时间")
private Date updatedTime;
}

65
esua-epdc/epdc-module/epdc-kpi/epdc-kpi-server/src/main/java/com/elink/esua/epdc/excel/SubInfoGridRelationExcel.java

@ -0,0 +1,65 @@
/**
* Copyright 2018 人人开源 https://www.renren.io
* <p>
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* <p>
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* <p>
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package com.elink.esua.epdc.excel;
import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;
import java.util.Date;
/**
* 网格关系表
*
* @author qu qu@elink-cn.com
* @since v1.0.0 2020-12-07
*/
@Data
public class SubInfoGridRelationExcel {
@Excel(name = "主键")
private String id;
@Excel(name = "信息表关系ID")
private String infoId;
@Excel(name = "网格ID")
private String gridId;
@Excel(name = "年月")
private String monthYear;
@Excel(name = "逻辑删除标识")
private String delFlag;
@Excel(name = "乐观锁")
private Integer revision;
@Excel(name = "创建人")
private String createdBy;
@Excel(name = "创建时间")
private Date createdTime;
@Excel(name = "更新人")
private String updatedBy;
@Excel(name = "更新时间")
private Date updatedTime;
}

71
esua-epdc/epdc-module/epdc-kpi/epdc-kpi-server/src/main/java/com/elink/esua/epdc/excel/SubPositionCheckDetailExcel.java

@ -0,0 +1,71 @@
/**
* Copyright 2018 人人开源 https://www.renren.io
* <p>
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* <p>
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* <p>
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package com.elink.esua.epdc.excel;
import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;
import java.util.Date;
/**
* 阵地建设考核内容提报详情表
*
* @author qu qu@elink-cn.com
* @since v1.0.0 2020-12-07
*/
@Data
public class SubPositionCheckDetailExcel {
@Excel(name = "主键")
private String id;
@Excel(name = "信息表关系ID")
private String infoId;
@Excel(name = "考核项描述")
private String checkDescribe;
@Excel(name = "考核项大类名称")
private String pCheckItemName;
@Excel(name = "考核项子类名称")
private String checkItemName;
@Excel(name = "排序")
private String sort;
@Excel(name = "逻辑删除标识")
private String delFlag;
@Excel(name = "乐观锁")
private Integer revision;
@Excel(name = "创建人")
private String createdBy;
@Excel(name = "创建时间")
private Date createdTime;
@Excel(name = "更新人")
private String updatedBy;
@Excel(name = "更新时间")
private Date updatedTime;
}

83
esua-epdc/epdc-module/epdc-kpi/epdc-kpi-server/src/main/java/com/elink/esua/epdc/excel/SubPositionCheckInfoExcel.java

@ -0,0 +1,83 @@
/**
* Copyright 2018 人人开源 https://www.renren.io
* <p>
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* <p>
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* <p>
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package com.elink.esua.epdc.excel;
import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;
import java.util.Date;
/**
* 阵地建设考核内容提报信息表
*
* @author qu qu@elink-cn.com
* @since v1.0.0 2020-12-07
*/
@Data
public class SubPositionCheckInfoExcel {
@Excel(name = "主键")
private String id;
@Excel(name = "社区ID")
private String communityId;
@Excel(name = "社区名称")
private String communityName;
@Excel(name = "关联网格ID")
private String gridIds;
@Excel(name = "关联网格名称")
private String gridNames;
@Excel(name = "提交时间")
private String submitTime;
@Excel(name = "审批状态(1:提交;2:初审;3:验收;4:驳回)")
private String status;
@Excel(name = "审批部门ID")
private String approvalDeptId;
@Excel(name = "审批部门名称")
private String approvalDeptName;
@Excel(name = "审批时间")
private String approvalTime;
@Excel(name = "逻辑删除标识")
private String delFlag;
@Excel(name = "乐观锁")
private Integer revision;
@Excel(name = "创建人")
private String createdBy;
@Excel(name = "创建时间")
private Date createdTime1;
@Excel(name = "更新人")
private String updatedBy;
@Excel(name = "更新时间")
private Date updatedTime;
}

47
esua-epdc/epdc-module/epdc-kpi/epdc-kpi-server/src/main/java/com/elink/esua/epdc/redis/SubAuditRecordsLogRedis.java

@ -0,0 +1,47 @@
/**
* Copyright 2018 人人开源 https://www.renren.io
* <p>
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* <p>
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* <p>
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package com.elink.esua.epdc.redis;
import com.elink.esua.epdc.commons.tools.redis.RedisUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
/**
* 审核记录表
*
* @author qu qu@elink-cn.com
* @since v1.0.0 2020-12-07
*/
@Component
public class SubAuditRecordsLogRedis {
@Autowired
private RedisUtils redisUtils;
public void delete(Object[] ids) {
}
public void set(){
}
public String get(String id){
return null;
}
}

47
esua-epdc/epdc-module/epdc-kpi/epdc-kpi-server/src/main/java/com/elink/esua/epdc/redis/SubCheckDictionaryRedis.java

@ -0,0 +1,47 @@
/**
* Copyright 2018 人人开源 https://www.renren.io
* <p>
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* <p>
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* <p>
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package com.elink.esua.epdc.redis;
import com.elink.esua.epdc.commons.tools.redis.RedisUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
/**
* 阵地建设考核内容字典表
*
* @author qu qu@elink-cn.com
* @since v1.0.0 2020-12-07
*/
@Component
public class SubCheckDictionaryRedis {
@Autowired
private RedisUtils redisUtils;
public void delete(Object[] ids) {
}
public void set(){
}
public String get(String id){
return null;
}
}

47
esua-epdc/epdc-module/epdc-kpi/epdc-kpi-server/src/main/java/com/elink/esua/epdc/redis/SubFileImgRedis.java

@ -0,0 +1,47 @@
/**
* Copyright 2018 人人开源 https://www.renren.io
* <p>
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* <p>
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* <p>
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package com.elink.esua.epdc.redis;
import com.elink.esua.epdc.commons.tools.redis.RedisUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
/**
* 阵地建设考核文件表
*
* @author qu qu@elink-cn.com
* @since v1.0.0 2020-12-07
*/
@Component
public class SubFileImgRedis {
@Autowired
private RedisUtils redisUtils;
public void delete(Object[] ids) {
}
public void set(){
}
public String get(String id){
return null;
}
}

47
esua-epdc/epdc-module/epdc-kpi/epdc-kpi-server/src/main/java/com/elink/esua/epdc/redis/SubInfoGridRelationRedis.java

@ -0,0 +1,47 @@
/**
* Copyright 2018 人人开源 https://www.renren.io
* <p>
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* <p>
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* <p>
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package com.elink.esua.epdc.redis;
import com.elink.esua.epdc.commons.tools.redis.RedisUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
/**
* 网格关系表
*
* @author qu qu@elink-cn.com
* @since v1.0.0 2020-12-07
*/
@Component
public class SubInfoGridRelationRedis {
@Autowired
private RedisUtils redisUtils;
public void delete(Object[] ids) {
}
public void set(){
}
public String get(String id){
return null;
}
}

47
esua-epdc/epdc-module/epdc-kpi/epdc-kpi-server/src/main/java/com/elink/esua/epdc/redis/SubPositionCheckDetailRedis.java

@ -0,0 +1,47 @@
/**
* Copyright 2018 人人开源 https://www.renren.io
* <p>
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* <p>
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* <p>
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package com.elink.esua.epdc.redis;
import com.elink.esua.epdc.commons.tools.redis.RedisUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
/**
* 阵地建设考核内容提报详情表
*
* @author qu qu@elink-cn.com
* @since v1.0.0 2020-12-07
*/
@Component
public class SubPositionCheckDetailRedis {
@Autowired
private RedisUtils redisUtils;
public void delete(Object[] ids) {
}
public void set(){
}
public String get(String id){
return null;
}
}

47
esua-epdc/epdc-module/epdc-kpi/epdc-kpi-server/src/main/java/com/elink/esua/epdc/redis/SubPositionCheckInfoRedis.java

@ -0,0 +1,47 @@
/**
* Copyright 2018 人人开源 https://www.renren.io
* <p>
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* <p>
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* <p>
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package com.elink.esua.epdc.redis;
import com.elink.esua.epdc.commons.tools.redis.RedisUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
/**
* 阵地建设考核内容提报信息表
*
* @author qu qu@elink-cn.com
* @since v1.0.0 2020-12-07
*/
@Component
public class SubPositionCheckInfoRedis {
@Autowired
private RedisUtils redisUtils;
public void delete(Object[] ids) {
}
public void set(){
}
public String get(String id){
return null;
}
}

95
esua-epdc/epdc-module/epdc-kpi/epdc-kpi-server/src/main/java/com/elink/esua/epdc/service/SubAuditRecordsLogService.java

@ -0,0 +1,95 @@
/**
* Copyright 2018 人人开源 https://www.renren.io
* <p>
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* <p>
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* <p>
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package com.elink.esua.epdc.service;
import com.elink.esua.epdc.commons.mybatis.service.BaseService;
import com.elink.esua.epdc.commons.tools.page.PageData;
import com.elink.esua.epdc.dto.SubAuditRecordsLogDTO;
import com.elink.esua.epdc.entity.SubAuditRecordsLogEntity;
import java.util.List;
import java.util.Map;
/**
* 审核记录表
*
* @author qu qu@elink-cn.com
* @since v1.0.0 2020-12-07
*/
public interface SubAuditRecordsLogService extends BaseService<SubAuditRecordsLogEntity> {
/**
* 默认分页
*
* @param params
* @return PageData<SubAuditRecordsLogDTO>
* @author generator
* @date 2020-12-07
*/
PageData<SubAuditRecordsLogDTO> page(Map<String, Object> params);
/**
* 默认查询
*
* @param params
* @return java.util.List<SubAuditRecordsLogDTO>
* @author generator
* @date 2020-12-07
*/
List<SubAuditRecordsLogDTO> list(Map<String, Object> params);
/**
* 单条查询
*
* @param id
* @return SubAuditRecordsLogDTO
* @author generator
* @date 2020-12-07
*/
SubAuditRecordsLogDTO get(String id);
/**
* 默认保存
*
* @param dto
* @return void
* @author generator
* @date 2020-12-07
*/
void save(SubAuditRecordsLogDTO dto);
/**
* 默认更新
*
* @param dto
* @return void
* @author generator
* @date 2020-12-07
*/
void update(SubAuditRecordsLogDTO dto);
/**
* 批量删除
*
* @param ids
* @return void
* @author generator
* @date 2020-12-07
*/
void delete(String[] ids);
}

95
esua-epdc/epdc-module/epdc-kpi/epdc-kpi-server/src/main/java/com/elink/esua/epdc/service/SubCheckDictionaryService.java

@ -0,0 +1,95 @@
/**
* Copyright 2018 人人开源 https://www.renren.io
* <p>
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* <p>
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* <p>
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package com.elink.esua.epdc.service;
import com.elink.esua.epdc.commons.mybatis.service.BaseService;
import com.elink.esua.epdc.commons.tools.page.PageData;
import com.elink.esua.epdc.dto.SubCheckDictionaryDTO;
import com.elink.esua.epdc.entity.SubCheckDictionaryEntity;
import java.util.List;
import java.util.Map;
/**
* 阵地建设考核内容字典表
*
* @author qu qu@elink-cn.com
* @since v1.0.0 2020-12-07
*/
public interface SubCheckDictionaryService extends BaseService<SubCheckDictionaryEntity> {
/**
* 默认分页
*
* @param params
* @return PageData<SubCheckDictionaryDTO>
* @author generator
* @date 2020-12-07
*/
PageData<SubCheckDictionaryDTO> page(Map<String, Object> params);
/**
* 默认查询
*
* @param params
* @return java.util.List<SubCheckDictionaryDTO>
* @author generator
* @date 2020-12-07
*/
List<SubCheckDictionaryDTO> list(Map<String, Object> params);
/**
* 单条查询
*
* @param id
* @return SubCheckDictionaryDTO
* @author generator
* @date 2020-12-07
*/
SubCheckDictionaryDTO get(String id);
/**
* 默认保存
*
* @param dto
* @return void
* @author generator
* @date 2020-12-07
*/
void save(SubCheckDictionaryDTO dto);
/**
* 默认更新
*
* @param dto
* @return void
* @author generator
* @date 2020-12-07
*/
void update(SubCheckDictionaryDTO dto);
/**
* 批量删除
*
* @param ids
* @return void
* @author generator
* @date 2020-12-07
*/
void delete(String[] ids);
}

95
esua-epdc/epdc-module/epdc-kpi/epdc-kpi-server/src/main/java/com/elink/esua/epdc/service/SubFileImgService.java

@ -0,0 +1,95 @@
/**
* Copyright 2018 人人开源 https://www.renren.io
* <p>
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* <p>
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* <p>
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package com.elink.esua.epdc.service;
import com.elink.esua.epdc.commons.mybatis.service.BaseService;
import com.elink.esua.epdc.commons.tools.page.PageData;
import com.elink.esua.epdc.dto.SubFileImgDTO;
import com.elink.esua.epdc.entity.SubFileImgEntity;
import java.util.List;
import java.util.Map;
/**
* 阵地建设考核文件表
*
* @author qu qu@elink-cn.com
* @since v1.0.0 2020-12-07
*/
public interface SubFileImgService extends BaseService<SubFileImgEntity> {
/**
* 默认分页
*
* @param params
* @return PageData<SubFileImgDTO>
* @author generator
* @date 2020-12-07
*/
PageData<SubFileImgDTO> page(Map<String, Object> params);
/**
* 默认查询
*
* @param params
* @return java.util.List<SubFileImgDTO>
* @author generator
* @date 2020-12-07
*/
List<SubFileImgDTO> list(Map<String, Object> params);
/**
* 单条查询
*
* @param id
* @return SubFileImgDTO
* @author generator
* @date 2020-12-07
*/
SubFileImgDTO get(String id);
/**
* 默认保存
*
* @param dto
* @return void
* @author generator
* @date 2020-12-07
*/
void save(SubFileImgDTO dto);
/**
* 默认更新
*
* @param dto
* @return void
* @author generator
* @date 2020-12-07
*/
void update(SubFileImgDTO dto);
/**
* 批量删除
*
* @param ids
* @return void
* @author generator
* @date 2020-12-07
*/
void delete(String[] ids);
}

95
esua-epdc/epdc-module/epdc-kpi/epdc-kpi-server/src/main/java/com/elink/esua/epdc/service/SubInfoGridRelationService.java

@ -0,0 +1,95 @@
/**
* Copyright 2018 人人开源 https://www.renren.io
* <p>
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* <p>
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* <p>
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package com.elink.esua.epdc.service;
import com.elink.esua.epdc.commons.mybatis.service.BaseService;
import com.elink.esua.epdc.commons.tools.page.PageData;
import com.elink.esua.epdc.dto.SubInfoGridRelationDTO;
import com.elink.esua.epdc.entity.SubInfoGridRelationEntity;
import java.util.List;
import java.util.Map;
/**
* 网格关系表
*
* @author qu qu@elink-cn.com
* @since v1.0.0 2020-12-07
*/
public interface SubInfoGridRelationService extends BaseService<SubInfoGridRelationEntity> {
/**
* 默认分页
*
* @param params
* @return PageData<SubInfoGridRelationDTO>
* @author generator
* @date 2020-12-07
*/
PageData<SubInfoGridRelationDTO> page(Map<String, Object> params);
/**
* 默认查询
*
* @param params
* @return java.util.List<SubInfoGridRelationDTO>
* @author generator
* @date 2020-12-07
*/
List<SubInfoGridRelationDTO> list(Map<String, Object> params);
/**
* 单条查询
*
* @param id
* @return SubInfoGridRelationDTO
* @author generator
* @date 2020-12-07
*/
SubInfoGridRelationDTO get(String id);
/**
* 默认保存
*
* @param dto
* @return void
* @author generator
* @date 2020-12-07
*/
void save(SubInfoGridRelationDTO dto);
/**
* 默认更新
*
* @param dto
* @return void
* @author generator
* @date 2020-12-07
*/
void update(SubInfoGridRelationDTO dto);
/**
* 批量删除
*
* @param ids
* @return void
* @author generator
* @date 2020-12-07
*/
void delete(String[] ids);
}

95
esua-epdc/epdc-module/epdc-kpi/epdc-kpi-server/src/main/java/com/elink/esua/epdc/service/SubPositionCheckDetailService.java

@ -0,0 +1,95 @@
/**
* Copyright 2018 人人开源 https://www.renren.io
* <p>
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* <p>
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* <p>
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package com.elink.esua.epdc.service;
import com.elink.esua.epdc.commons.mybatis.service.BaseService;
import com.elink.esua.epdc.commons.tools.page.PageData;
import com.elink.esua.epdc.dto.SubPositionCheckDetailDTO;
import com.elink.esua.epdc.entity.SubPositionCheckDetailEntity;
import java.util.List;
import java.util.Map;
/**
* 阵地建设考核内容提报详情表
*
* @author qu qu@elink-cn.com
* @since v1.0.0 2020-12-07
*/
public interface SubPositionCheckDetailService extends BaseService<SubPositionCheckDetailEntity> {
/**
* 默认分页
*
* @param params
* @return PageData<SubPositionCheckDetailDTO>
* @author generator
* @date 2020-12-07
*/
PageData<SubPositionCheckDetailDTO> page(Map<String, Object> params);
/**
* 默认查询
*
* @param params
* @return java.util.List<SubPositionCheckDetailDTO>
* @author generator
* @date 2020-12-07
*/
List<SubPositionCheckDetailDTO> list(Map<String, Object> params);
/**
* 单条查询
*
* @param id
* @return SubPositionCheckDetailDTO
* @author generator
* @date 2020-12-07
*/
SubPositionCheckDetailDTO get(String id);
/**
* 默认保存
*
* @param dto
* @return void
* @author generator
* @date 2020-12-07
*/
void save(SubPositionCheckDetailDTO dto);
/**
* 默认更新
*
* @param dto
* @return void
* @author generator
* @date 2020-12-07
*/
void update(SubPositionCheckDetailDTO dto);
/**
* 批量删除
*
* @param ids
* @return void
* @author generator
* @date 2020-12-07
*/
void delete(String[] ids);
}

95
esua-epdc/epdc-module/epdc-kpi/epdc-kpi-server/src/main/java/com/elink/esua/epdc/service/SubPositionCheckInfoService.java

@ -0,0 +1,95 @@
/**
* Copyright 2018 人人开源 https://www.renren.io
* <p>
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* <p>
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* <p>
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package com.elink.esua.epdc.service;
import com.elink.esua.epdc.commons.mybatis.service.BaseService;
import com.elink.esua.epdc.commons.tools.page.PageData;
import com.elink.esua.epdc.dto.SubPositionCheckInfoDTO;
import com.elink.esua.epdc.entity.SubPositionCheckInfoEntity;
import java.util.List;
import java.util.Map;
/**
* 阵地建设考核内容提报信息表
*
* @author qu qu@elink-cn.com
* @since v1.0.0 2020-12-07
*/
public interface SubPositionCheckInfoService extends BaseService<SubPositionCheckInfoEntity> {
/**
* 默认分页
*
* @param params
* @return PageData<SubPositionCheckInfoDTO>
* @author generator
* @date 2020-12-07
*/
PageData<SubPositionCheckInfoDTO> page(Map<String, Object> params);
/**
* 默认查询
*
* @param params
* @return java.util.List<SubPositionCheckInfoDTO>
* @author generator
* @date 2020-12-07
*/
List<SubPositionCheckInfoDTO> list(Map<String, Object> params);
/**
* 单条查询
*
* @param id
* @return SubPositionCheckInfoDTO
* @author generator
* @date 2020-12-07
*/
SubPositionCheckInfoDTO get(String id);
/**
* 默认保存
*
* @param dto
* @return void
* @author generator
* @date 2020-12-07
*/
void save(SubPositionCheckInfoDTO dto);
/**
* 默认更新
*
* @param dto
* @return void
* @author generator
* @date 2020-12-07
*/
void update(SubPositionCheckInfoDTO dto);
/**
* 批量删除
*
* @param ids
* @return void
* @author generator
* @date 2020-12-07
*/
void delete(String[] ids);
}

104
esua-epdc/epdc-module/epdc-kpi/epdc-kpi-server/src/main/java/com/elink/esua/epdc/service/impl/SubAuditRecordsLogServiceImpl.java

@ -0,0 +1,104 @@
/**
* Copyright 2018 人人开源 https://www.renren.io
* <p>
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* <p>
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* <p>
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package com.elink.esua.epdc.service.impl;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.elink.esua.epdc.commons.mybatis.service.impl.BaseServiceImpl;
import com.elink.esua.epdc.commons.tools.page.PageData;
import com.elink.esua.epdc.commons.tools.utils.ConvertUtils;
import com.elink.esua.epdc.commons.tools.constant.FieldConstant;
import com.elink.esua.epdc.dao.SubAuditRecordsLogDao;
import com.elink.esua.epdc.dto.SubAuditRecordsLogDTO;
import com.elink.esua.epdc.entity.SubAuditRecordsLogEntity;
import com.elink.esua.epdc.redis.SubAuditRecordsLogRedis;
import com.elink.esua.epdc.service.SubAuditRecordsLogService;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import java.util.Arrays;
import java.util.List;
import java.util.Map;
/**
* 审核记录表
*
* @author qu qu@elink-cn.com
* @since v1.0.0 2020-12-07
*/
@Service
public class SubAuditRecordsLogServiceImpl extends BaseServiceImpl<SubAuditRecordsLogDao, SubAuditRecordsLogEntity> implements SubAuditRecordsLogService {
@Autowired
private SubAuditRecordsLogRedis subAuditRecordsLogRedis;
@Override
public PageData<SubAuditRecordsLogDTO> page(Map<String, Object> params) {
IPage<SubAuditRecordsLogEntity> page = baseDao.selectPage(
getPage(params, FieldConstant.CREATED_TIME, false),
getWrapper(params)
);
return getPageData(page, SubAuditRecordsLogDTO.class);
}
@Override
public List<SubAuditRecordsLogDTO> list(Map<String, Object> params) {
List<SubAuditRecordsLogEntity> entityList = baseDao.selectList(getWrapper(params));
return ConvertUtils.sourceToTarget(entityList, SubAuditRecordsLogDTO.class);
}
private QueryWrapper<SubAuditRecordsLogEntity> getWrapper(Map<String, Object> params){
String id = (String)params.get(FieldConstant.ID_HUMP);
QueryWrapper<SubAuditRecordsLogEntity> wrapper = new QueryWrapper<>();
wrapper.eq(StringUtils.isNotBlank(id), FieldConstant.ID, id);
return wrapper;
}
@Override
public SubAuditRecordsLogDTO get(String id) {
SubAuditRecordsLogEntity entity = baseDao.selectById(id);
return ConvertUtils.sourceToTarget(entity, SubAuditRecordsLogDTO.class);
}
@Override
@Transactional(rollbackFor = Exception.class)
public void save(SubAuditRecordsLogDTO dto) {
SubAuditRecordsLogEntity entity = ConvertUtils.sourceToTarget(dto, SubAuditRecordsLogEntity.class);
insert(entity);
}
@Override
@Transactional(rollbackFor = Exception.class)
public void update(SubAuditRecordsLogDTO dto) {
SubAuditRecordsLogEntity entity = ConvertUtils.sourceToTarget(dto, SubAuditRecordsLogEntity.class);
updateById(entity);
}
@Override
@Transactional(rollbackFor = Exception.class)
public void delete(String[] ids) {
// 逻辑删除(@TableLogic 注解)
baseDao.deleteBatchIds(Arrays.asList(ids));
}
}

104
esua-epdc/epdc-module/epdc-kpi/epdc-kpi-server/src/main/java/com/elink/esua/epdc/service/impl/SubCheckDictionaryServiceImpl.java

@ -0,0 +1,104 @@
/**
* Copyright 2018 人人开源 https://www.renren.io
* <p>
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* <p>
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* <p>
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package com.elink.esua.epdc.service.impl;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.elink.esua.epdc.commons.mybatis.service.impl.BaseServiceImpl;
import com.elink.esua.epdc.commons.tools.page.PageData;
import com.elink.esua.epdc.commons.tools.utils.ConvertUtils;
import com.elink.esua.epdc.commons.tools.constant.FieldConstant;
import com.elink.esua.epdc.dao.SubCheckDictionaryDao;
import com.elink.esua.epdc.dto.SubCheckDictionaryDTO;
import com.elink.esua.epdc.entity.SubCheckDictionaryEntity;
import com.elink.esua.epdc.redis.SubCheckDictionaryRedis;
import com.elink.esua.epdc.service.SubCheckDictionaryService;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import java.util.Arrays;
import java.util.List;
import java.util.Map;
/**
* 阵地建设考核内容字典表
*
* @author qu qu@elink-cn.com
* @since v1.0.0 2020-12-07
*/
@Service
public class SubCheckDictionaryServiceImpl extends BaseServiceImpl<SubCheckDictionaryDao, SubCheckDictionaryEntity> implements SubCheckDictionaryService {
@Autowired
private SubCheckDictionaryRedis subCheckDictionaryRedis;
@Override
public PageData<SubCheckDictionaryDTO> page(Map<String, Object> params) {
IPage<SubCheckDictionaryEntity> page = baseDao.selectPage(
getPage(params, FieldConstant.CREATED_TIME, false),
getWrapper(params)
);
return getPageData(page, SubCheckDictionaryDTO.class);
}
@Override
public List<SubCheckDictionaryDTO> list(Map<String, Object> params) {
List<SubCheckDictionaryEntity> entityList = baseDao.selectList(getWrapper(params));
return ConvertUtils.sourceToTarget(entityList, SubCheckDictionaryDTO.class);
}
private QueryWrapper<SubCheckDictionaryEntity> getWrapper(Map<String, Object> params){
String id = (String)params.get(FieldConstant.ID_HUMP);
QueryWrapper<SubCheckDictionaryEntity> wrapper = new QueryWrapper<>();
wrapper.eq(StringUtils.isNotBlank(id), FieldConstant.ID, id);
return wrapper;
}
@Override
public SubCheckDictionaryDTO get(String id) {
SubCheckDictionaryEntity entity = baseDao.selectById(id);
return ConvertUtils.sourceToTarget(entity, SubCheckDictionaryDTO.class);
}
@Override
@Transactional(rollbackFor = Exception.class)
public void save(SubCheckDictionaryDTO dto) {
SubCheckDictionaryEntity entity = ConvertUtils.sourceToTarget(dto, SubCheckDictionaryEntity.class);
insert(entity);
}
@Override
@Transactional(rollbackFor = Exception.class)
public void update(SubCheckDictionaryDTO dto) {
SubCheckDictionaryEntity entity = ConvertUtils.sourceToTarget(dto, SubCheckDictionaryEntity.class);
updateById(entity);
}
@Override
@Transactional(rollbackFor = Exception.class)
public void delete(String[] ids) {
// 逻辑删除(@TableLogic 注解)
baseDao.deleteBatchIds(Arrays.asList(ids));
}
}

104
esua-epdc/epdc-module/epdc-kpi/epdc-kpi-server/src/main/java/com/elink/esua/epdc/service/impl/SubFileImgServiceImpl.java

@ -0,0 +1,104 @@
/**
* Copyright 2018 人人开源 https://www.renren.io
* <p>
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* <p>
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* <p>
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package com.elink.esua.epdc.service.impl;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.elink.esua.epdc.commons.mybatis.service.impl.BaseServiceImpl;
import com.elink.esua.epdc.commons.tools.page.PageData;
import com.elink.esua.epdc.commons.tools.utils.ConvertUtils;
import com.elink.esua.epdc.commons.tools.constant.FieldConstant;
import com.elink.esua.epdc.dao.SubFileImgDao;
import com.elink.esua.epdc.dto.SubFileImgDTO;
import com.elink.esua.epdc.entity.SubFileImgEntity;
import com.elink.esua.epdc.redis.SubFileImgRedis;
import com.elink.esua.epdc.service.SubFileImgService;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import java.util.Arrays;
import java.util.List;
import java.util.Map;
/**
* 阵地建设考核文件表
*
* @author qu qu@elink-cn.com
* @since v1.0.0 2020-12-07
*/
@Service
public class SubFileImgServiceImpl extends BaseServiceImpl<SubFileImgDao, SubFileImgEntity> implements SubFileImgService {
@Autowired
private SubFileImgRedis subFileImgRedis;
@Override
public PageData<SubFileImgDTO> page(Map<String, Object> params) {
IPage<SubFileImgEntity> page = baseDao.selectPage(
getPage(params, FieldConstant.CREATED_TIME, false),
getWrapper(params)
);
return getPageData(page, SubFileImgDTO.class);
}
@Override
public List<SubFileImgDTO> list(Map<String, Object> params) {
List<SubFileImgEntity> entityList = baseDao.selectList(getWrapper(params));
return ConvertUtils.sourceToTarget(entityList, SubFileImgDTO.class);
}
private QueryWrapper<SubFileImgEntity> getWrapper(Map<String, Object> params){
String id = (String)params.get(FieldConstant.ID_HUMP);
QueryWrapper<SubFileImgEntity> wrapper = new QueryWrapper<>();
wrapper.eq(StringUtils.isNotBlank(id), FieldConstant.ID, id);
return wrapper;
}
@Override
public SubFileImgDTO get(String id) {
SubFileImgEntity entity = baseDao.selectById(id);
return ConvertUtils.sourceToTarget(entity, SubFileImgDTO.class);
}
@Override
@Transactional(rollbackFor = Exception.class)
public void save(SubFileImgDTO dto) {
SubFileImgEntity entity = ConvertUtils.sourceToTarget(dto, SubFileImgEntity.class);
insert(entity);
}
@Override
@Transactional(rollbackFor = Exception.class)
public void update(SubFileImgDTO dto) {
SubFileImgEntity entity = ConvertUtils.sourceToTarget(dto, SubFileImgEntity.class);
updateById(entity);
}
@Override
@Transactional(rollbackFor = Exception.class)
public void delete(String[] ids) {
// 逻辑删除(@TableLogic 注解)
baseDao.deleteBatchIds(Arrays.asList(ids));
}
}

104
esua-epdc/epdc-module/epdc-kpi/epdc-kpi-server/src/main/java/com/elink/esua/epdc/service/impl/SubInfoGridRelationServiceImpl.java

@ -0,0 +1,104 @@
/**
* Copyright 2018 人人开源 https://www.renren.io
* <p>
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* <p>
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* <p>
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package com.elink.esua.epdc.service.impl;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.elink.esua.epdc.commons.mybatis.service.impl.BaseServiceImpl;
import com.elink.esua.epdc.commons.tools.page.PageData;
import com.elink.esua.epdc.commons.tools.utils.ConvertUtils;
import com.elink.esua.epdc.commons.tools.constant.FieldConstant;
import com.elink.esua.epdc.dao.SubInfoGridRelationDao;
import com.elink.esua.epdc.dto.SubInfoGridRelationDTO;
import com.elink.esua.epdc.entity.SubInfoGridRelationEntity;
import com.elink.esua.epdc.redis.SubInfoGridRelationRedis;
import com.elink.esua.epdc.service.SubInfoGridRelationService;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import java.util.Arrays;
import java.util.List;
import java.util.Map;
/**
* 网格关系表
*
* @author qu qu@elink-cn.com
* @since v1.0.0 2020-12-07
*/
@Service
public class SubInfoGridRelationServiceImpl extends BaseServiceImpl<SubInfoGridRelationDao, SubInfoGridRelationEntity> implements SubInfoGridRelationService {
@Autowired
private SubInfoGridRelationRedis subInfoGridRelationRedis;
@Override
public PageData<SubInfoGridRelationDTO> page(Map<String, Object> params) {
IPage<SubInfoGridRelationEntity> page = baseDao.selectPage(
getPage(params, FieldConstant.CREATED_TIME, false),
getWrapper(params)
);
return getPageData(page, SubInfoGridRelationDTO.class);
}
@Override
public List<SubInfoGridRelationDTO> list(Map<String, Object> params) {
List<SubInfoGridRelationEntity> entityList = baseDao.selectList(getWrapper(params));
return ConvertUtils.sourceToTarget(entityList, SubInfoGridRelationDTO.class);
}
private QueryWrapper<SubInfoGridRelationEntity> getWrapper(Map<String, Object> params){
String id = (String)params.get(FieldConstant.ID_HUMP);
QueryWrapper<SubInfoGridRelationEntity> wrapper = new QueryWrapper<>();
wrapper.eq(StringUtils.isNotBlank(id), FieldConstant.ID, id);
return wrapper;
}
@Override
public SubInfoGridRelationDTO get(String id) {
SubInfoGridRelationEntity entity = baseDao.selectById(id);
return ConvertUtils.sourceToTarget(entity, SubInfoGridRelationDTO.class);
}
@Override
@Transactional(rollbackFor = Exception.class)
public void save(SubInfoGridRelationDTO dto) {
SubInfoGridRelationEntity entity = ConvertUtils.sourceToTarget(dto, SubInfoGridRelationEntity.class);
insert(entity);
}
@Override
@Transactional(rollbackFor = Exception.class)
public void update(SubInfoGridRelationDTO dto) {
SubInfoGridRelationEntity entity = ConvertUtils.sourceToTarget(dto, SubInfoGridRelationEntity.class);
updateById(entity);
}
@Override
@Transactional(rollbackFor = Exception.class)
public void delete(String[] ids) {
// 逻辑删除(@TableLogic 注解)
baseDao.deleteBatchIds(Arrays.asList(ids));
}
}

104
esua-epdc/epdc-module/epdc-kpi/epdc-kpi-server/src/main/java/com/elink/esua/epdc/service/impl/SubPositionCheckDetailServiceImpl.java

@ -0,0 +1,104 @@
/**
* Copyright 2018 人人开源 https://www.renren.io
* <p>
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* <p>
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* <p>
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package com.elink.esua.epdc.service.impl;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.elink.esua.epdc.commons.mybatis.service.impl.BaseServiceImpl;
import com.elink.esua.epdc.commons.tools.page.PageData;
import com.elink.esua.epdc.commons.tools.utils.ConvertUtils;
import com.elink.esua.epdc.commons.tools.constant.FieldConstant;
import com.elink.esua.epdc.dao.SubPositionCheckDetailDao;
import com.elink.esua.epdc.dto.SubPositionCheckDetailDTO;
import com.elink.esua.epdc.entity.SubPositionCheckDetailEntity;
import com.elink.esua.epdc.redis.SubPositionCheckDetailRedis;
import com.elink.esua.epdc.service.SubPositionCheckDetailService;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import java.util.Arrays;
import java.util.List;
import java.util.Map;
/**
* 阵地建设考核内容提报详情表
*
* @author qu qu@elink-cn.com
* @since v1.0.0 2020-12-07
*/
@Service
public class SubPositionCheckDetailServiceImpl extends BaseServiceImpl<SubPositionCheckDetailDao, SubPositionCheckDetailEntity> implements SubPositionCheckDetailService {
@Autowired
private SubPositionCheckDetailRedis subPositionCheckDetailRedis;
@Override
public PageData<SubPositionCheckDetailDTO> page(Map<String, Object> params) {
IPage<SubPositionCheckDetailEntity> page = baseDao.selectPage(
getPage(params, FieldConstant.CREATED_TIME, false),
getWrapper(params)
);
return getPageData(page, SubPositionCheckDetailDTO.class);
}
@Override
public List<SubPositionCheckDetailDTO> list(Map<String, Object> params) {
List<SubPositionCheckDetailEntity> entityList = baseDao.selectList(getWrapper(params));
return ConvertUtils.sourceToTarget(entityList, SubPositionCheckDetailDTO.class);
}
private QueryWrapper<SubPositionCheckDetailEntity> getWrapper(Map<String, Object> params){
String id = (String)params.get(FieldConstant.ID_HUMP);
QueryWrapper<SubPositionCheckDetailEntity> wrapper = new QueryWrapper<>();
wrapper.eq(StringUtils.isNotBlank(id), FieldConstant.ID, id);
return wrapper;
}
@Override
public SubPositionCheckDetailDTO get(String id) {
SubPositionCheckDetailEntity entity = baseDao.selectById(id);
return ConvertUtils.sourceToTarget(entity, SubPositionCheckDetailDTO.class);
}
@Override
@Transactional(rollbackFor = Exception.class)
public void save(SubPositionCheckDetailDTO dto) {
SubPositionCheckDetailEntity entity = ConvertUtils.sourceToTarget(dto, SubPositionCheckDetailEntity.class);
insert(entity);
}
@Override
@Transactional(rollbackFor = Exception.class)
public void update(SubPositionCheckDetailDTO dto) {
SubPositionCheckDetailEntity entity = ConvertUtils.sourceToTarget(dto, SubPositionCheckDetailEntity.class);
updateById(entity);
}
@Override
@Transactional(rollbackFor = Exception.class)
public void delete(String[] ids) {
// 逻辑删除(@TableLogic 注解)
baseDao.deleteBatchIds(Arrays.asList(ids));
}
}

104
esua-epdc/epdc-module/epdc-kpi/epdc-kpi-server/src/main/java/com/elink/esua/epdc/service/impl/SubPositionCheckInfoServiceImpl.java

@ -0,0 +1,104 @@
/**
* Copyright 2018 人人开源 https://www.renren.io
* <p>
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
* <p>
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
* <p>
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package com.elink.esua.epdc.service.impl;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.elink.esua.epdc.commons.mybatis.service.impl.BaseServiceImpl;
import com.elink.esua.epdc.commons.tools.page.PageData;
import com.elink.esua.epdc.commons.tools.utils.ConvertUtils;
import com.elink.esua.epdc.commons.tools.constant.FieldConstant;
import com.elink.esua.epdc.dao.SubPositionCheckInfoDao;
import com.elink.esua.epdc.dto.SubPositionCheckInfoDTO;
import com.elink.esua.epdc.entity.SubPositionCheckInfoEntity;
import com.elink.esua.epdc.redis.SubPositionCheckInfoRedis;
import com.elink.esua.epdc.service.SubPositionCheckInfoService;
import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import java.util.Arrays;
import java.util.List;
import java.util.Map;
/**
* 阵地建设考核内容提报信息表
*
* @author qu qu@elink-cn.com
* @since v1.0.0 2020-12-07
*/
@Service
public class SubPositionCheckInfoServiceImpl extends BaseServiceImpl<SubPositionCheckInfoDao, SubPositionCheckInfoEntity> implements SubPositionCheckInfoService {
@Autowired
private SubPositionCheckInfoRedis subPositionCheckInfoRedis;
@Override
public PageData<SubPositionCheckInfoDTO> page(Map<String, Object> params) {
IPage<SubPositionCheckInfoEntity> page = baseDao.selectPage(
getPage(params, FieldConstant.CREATED_TIME, false),
getWrapper(params)
);
return getPageData(page, SubPositionCheckInfoDTO.class);
}
@Override
public List<SubPositionCheckInfoDTO> list(Map<String, Object> params) {
List<SubPositionCheckInfoEntity> entityList = baseDao.selectList(getWrapper(params));
return ConvertUtils.sourceToTarget(entityList, SubPositionCheckInfoDTO.class);
}
private QueryWrapper<SubPositionCheckInfoEntity> getWrapper(Map<String, Object> params){
String id = (String)params.get(FieldConstant.ID_HUMP);
QueryWrapper<SubPositionCheckInfoEntity> wrapper = new QueryWrapper<>();
wrapper.eq(StringUtils.isNotBlank(id), FieldConstant.ID, id);
return wrapper;
}
@Override
public SubPositionCheckInfoDTO get(String id) {
SubPositionCheckInfoEntity entity = baseDao.selectById(id);
return ConvertUtils.sourceToTarget(entity, SubPositionCheckInfoDTO.class);
}
@Override
@Transactional(rollbackFor = Exception.class)
public void save(SubPositionCheckInfoDTO dto) {
SubPositionCheckInfoEntity entity = ConvertUtils.sourceToTarget(dto, SubPositionCheckInfoEntity.class);
insert(entity);
}
@Override
@Transactional(rollbackFor = Exception.class)
public void update(SubPositionCheckInfoDTO dto) {
SubPositionCheckInfoEntity entity = ConvertUtils.sourceToTarget(dto, SubPositionCheckInfoEntity.class);
updateById(entity);
}
@Override
@Transactional(rollbackFor = Exception.class)
public void delete(String[] ids) {
// 逻辑删除(@TableLogic 注解)
baseDao.deleteBatchIds(Arrays.asList(ids));
}
}

24
esua-epdc/epdc-module/epdc-kpi/epdc-kpi-server/src/main/resources/mapper/SubAuditRecordsLogDao.xml

@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.elink.esua.epdc.dao.SubAuditRecordsLogDao">
<resultMap type="com.elink.esua.epdc.entity.SubAuditRecordsLogEntity" id="subAuditRecordsLogMap">
<result property="id" column="ID"/>
<result property="checkDeptId" column="CHECK_DEPT_ID"/>
<result property="checkDeptNaem" column="CHECK_DEPT_NAEM"/>
<result property="checkTime" column="CHECK_TIME"/>
<result property="checkResult" column="CHECK_RESULT"/>
<result property="checkOpinion" column="CHECK_OPINION"/>
<result property="processCode" column="PROCESS_CODE"/>
<result property="processName" column="PROCESS_NAME"/>
<result property="delFlag" column="DEL_FLAG"/>
<result property="revision" column="REVISION"/>
<result property="createdBy" column="CREATED_BY"/>
<result property="createdTime" column="CREATED_TIME"/>
<result property="updatedBy" column="UPDATED_BY"/>
<result property="updatedTime" column="UPDATED_TIME"/>
</resultMap>
</mapper>

24
esua-epdc/epdc-module/epdc-kpi/epdc-kpi-server/src/main/resources/mapper/SubCheckDictionaryDao.xml

@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.elink.esua.epdc.dao.SubCheckDictionaryDao">
<resultMap type="com.elink.esua.epdc.entity.SubCheckDictionaryEntity" id="subCheckDictionaryMap">
<result property="id" column="ID"/>
<result property="pid" column="PID"/>
<result property="checkType" column="CHECK_TYPE"/>
<result property="checkCode" column="CHECK_CODE"/>
<result property="checkLabel" column="CHECK_LABEL"/>
<result property="showFlag" column="SHOW_FLAG"/>
<result property="checkDescribe" column="CHECK_DESCRIBE"/>
<result property="sort" column="SORT"/>
<result property="delFlag" column="DEL_FLAG"/>
<result property="revision" column="REVISION"/>
<result property="createdBy" column="CREATED_BY"/>
<result property="createdTime" column="CREATED_TIME"/>
<result property="updatedBy" column="UPDATED_BY"/>
<result property="updatedTime" column="UPDATED_TIME"/>
</resultMap>
</mapper>

23
esua-epdc/epdc-module/epdc-kpi/epdc-kpi-server/src/main/resources/mapper/SubFileImgDao.xml

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.elink.esua.epdc.dao.SubFileImgDao">
<resultMap type="com.elink.esua.epdc.entity.SubFileImgEntity" id="subFileImgMap">
<result property="id" column="ID"/>
<result property="detailId" column="DETAIL_ID"/>
<result property="fileType" column="FILE_TYPE"/>
<result property="url" column="URL"/>
<result property="thumbnail" column="THUMBNAIL"/>
<result property="fileName" column="FILE_NAME"/>
<result property="sort" column="SORT"/>
<result property="delFlag" column="DEL_FLAG"/>
<result property="revision" column="REVISION"/>
<result property="createdBy" column="CREATED_BY"/>
<result property="createdTime" column="CREATED_TIME"/>
<result property="updatedBy" column="UPDATED_BY"/>
<result property="updatedTime" column="UPDATED_TIME"/>
</resultMap>
</mapper>

20
esua-epdc/epdc-module/epdc-kpi/epdc-kpi-server/src/main/resources/mapper/SubInfoGridRelationDao.xml

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.elink.esua.epdc.dao.SubInfoGridRelationDao">
<resultMap type="com.elink.esua.epdc.entity.SubInfoGridRelationEntity" id="subInfoGridRelationMap">
<result property="id" column="ID"/>
<result property="infoId" column="INFO_ID"/>
<result property="gridId" column="GRID_ID"/>
<result property="monthYear" column="MONTH_YEAR"/>
<result property="delFlag" column="DEL_FLAG"/>
<result property="revision" column="REVISION"/>
<result property="createdBy" column="CREATED_BY"/>
<result property="createdTime" column="CREATED_TIME"/>
<result property="updatedBy" column="UPDATED_BY"/>
<result property="updatedTime" column="UPDATED_TIME"/>
</resultMap>
</mapper>

22
esua-epdc/epdc-module/epdc-kpi/epdc-kpi-server/src/main/resources/mapper/SubPositionCheckDetailDao.xml

@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.elink.esua.epdc.dao.SubPositionCheckDetailDao">
<resultMap type="com.elink.esua.epdc.entity.SubPositionCheckDetailEntity" id="subPositionCheckDetailMap">
<result property="id" column="ID"/>
<result property="infoId" column="INFO_ID"/>
<result property="checkDescribe" column="CHECK_DESCRIBE"/>
<result property="pCheckItemName" column="P_CHECK_ITEM_NAME"/>
<result property="checkItemName" column="CHECK_ITEM_NAME"/>
<result property="sort" column="SORT"/>
<result property="delFlag" column="DEL_FLAG"/>
<result property="revision" column="REVISION"/>
<result property="createdBy" column="CREATED_BY"/>
<result property="createdTime" column="CREATED_TIME"/>
<result property="updatedBy" column="UPDATED_BY"/>
<result property="updatedTime" column="UPDATED_TIME"/>
</resultMap>
</mapper>

26
esua-epdc/epdc-module/epdc-kpi/epdc-kpi-server/src/main/resources/mapper/SubPositionCheckInfoDao.xml

@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.elink.esua.epdc.dao.SubPositionCheckInfoDao">
<resultMap type="com.elink.esua.epdc.entity.SubPositionCheckInfoEntity" id="subPositionCheckInfoMap">
<result property="id" column="ID"/>
<result property="communityId" column="COMMUNITY_ID"/>
<result property="communityName" column="COMMUNITY_NAME"/>
<result property="gridIds" column="GRID_IDS"/>
<result property="gridNames" column="GRID_NAMES"/>
<result property="submitTime" column="SUBMIT_TIME"/>
<result property="status" column="STATUS"/>
<result property="approvalDeptId" column="APPROVAL_DEPT_ID"/>
<result property="approvalDeptName" column="APPROVAL_DEPT_NAME"/>
<result property="approvalTime" column="APPROVAL_TIME"/>
<result property="delFlag" column="DEL_FLAG"/>
<result property="revision" column="REVISION"/>
<result property="createdBy" column="CREATED_BY"/>
<result property="createdTime1" column="CREATED_TIME1"/>
<result property="updatedBy" column="UPDATED_BY"/>
<result property="updatedTime" column="UPDATED_TIME"/>
</resultMap>
</mapper>
Loading…
Cancel
Save