|
@@ -1,15 +1,15 @@
|
|
-package com.persagy.apm.energy.report.monthly.service.impl;
|
|
|
|
|
|
+package com.persagy.apm.energy.report.monthly.outline.service.impl;
|
|
|
|
|
|
import com.persagy.apm.common.context.AppContext;
|
|
import com.persagy.apm.common.context.AppContext;
|
|
-import com.persagy.apm.energy.report.monthly.dao.ReportOutlineMapper;
|
|
|
|
-import com.persagy.apm.energy.report.monthly.service.IReportOutlineService;
|
|
|
|
|
|
+import com.persagy.apm.energy.report.monthly.outline.dao.ReportOutlineMapper;
|
|
|
|
+import com.persagy.apm.energy.report.monthly.outline.service.IReportOutlineService;
|
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
|
import org.springframework.stereotype.Service;
|
|
import org.springframework.stereotype.Service;
|
|
import org.apache.commons.lang.StringUtils;
|
|
import org.apache.commons.lang.StringUtils;
|
|
import com.persagy.apm.common.constant.enums.ValidEnum;
|
|
import com.persagy.apm.common.constant.enums.ValidEnum;
|
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
|
-import com.persagy.apm.energy.report.monthly.model.*;
|
|
|
|
-import com.persagy.apm.energy.report.monthly.model.dto.*;
|
|
|
|
|
|
+import com.persagy.apm.energy.report.monthly.outline.model.*;
|
|
|
|
+import com.persagy.apm.energy.report.monthly.outline.model.dto.*;
|
|
|
|
|
|
import java.util.List;
|
|
import java.util.List;
|
|
|
|
|
|
@@ -23,7 +23,7 @@ import org.springframework.util.CollectionUtils;
|
|
* 报告表(ReportOutline) service层
|
|
* 报告表(ReportOutline) service层
|
|
*
|
|
*
|
|
* @author lixing
|
|
* @author lixing
|
|
- * @version V1.0 2021-05-17 09:55:27
|
|
|
|
|
|
+ * @version V1.0 2021-05-17 10:47:27
|
|
*/
|
|
*/
|
|
@Service
|
|
@Service
|
|
public class ReportOutlineServiceImpl extends ServiceImpl<ReportOutlineMapper, ReportOutline>
|
|
public class ReportOutlineServiceImpl extends ServiceImpl<ReportOutlineMapper, ReportOutline>
|
|
@@ -34,7 +34,7 @@ public class ReportOutlineServiceImpl extends ServiceImpl<ReportOutlineMapper, R
|
|
*
|
|
*
|
|
* @return 报告表主键
|
|
* @return 报告表主键
|
|
* @author lixing
|
|
* @author lixing
|
|
- * @version V1.0 2021-05-17 09:55:27
|
|
|
|
|
|
+ * @version V1.0 2021-05-17 10:47:27
|
|
*/
|
|
*/
|
|
@Override
|
|
@Override
|
|
public String createReportOutline(AddReportOutlineDTO addReportOutlineDTO) {
|
|
public String createReportOutline(AddReportOutlineDTO addReportOutlineDTO) {
|
|
@@ -64,7 +64,7 @@ public class ReportOutlineServiceImpl extends ServiceImpl<ReportOutlineMapper, R
|
|
* @param id 主键
|
|
* @param id 主键
|
|
* @return 部门do类
|
|
* @return 部门do类
|
|
* @author lixing
|
|
* @author lixing
|
|
- * @version V1.0 2021-05-17 09:55:27
|
|
|
|
|
|
+ * @version V1.0 2021-05-17 10:47:27
|
|
*/
|
|
*/
|
|
@Override
|
|
@Override
|
|
public ReportOutline queryReportOutlineDetail(String id) {
|
|
public ReportOutline queryReportOutlineDetail(String id) {
|
|
@@ -79,7 +79,7 @@ public class ReportOutlineServiceImpl extends ServiceImpl<ReportOutlineMapper, R
|
|
* 更新报告表
|
|
* 更新报告表
|
|
*
|
|
*
|
|
* @author lixing
|
|
* @author lixing
|
|
- * @version V1.0 2021-05-17 09:55:27
|
|
|
|
|
|
+ * @version V1.0 2021-05-17 10:47:27
|
|
*/
|
|
*/
|
|
@Override
|
|
@Override
|
|
public void updateReportOutline(UpdateReportOutlineDTO updateReportOutlineDTO) {
|
|
public void updateReportOutline(UpdateReportOutlineDTO updateReportOutlineDTO) {
|
|
@@ -95,7 +95,7 @@ public class ReportOutlineServiceImpl extends ServiceImpl<ReportOutlineMapper, R
|
|
* @param id 报告表主键
|
|
* @param id 报告表主键
|
|
* @return 报告表do类
|
|
* @return 报告表do类
|
|
* @author lixing
|
|
* @author lixing
|
|
- * @version V1.0 2021-05-17 09:55:27
|
|
|
|
|
|
+ * @version V1.0 2021-05-17 10:47:27
|
|
*/
|
|
*/
|
|
public ReportOutline checkDeletable(String id) {
|
|
public ReportOutline checkDeletable(String id) {
|
|
if (id == null) {
|
|
if (id == null) {
|
|
@@ -116,7 +116,7 @@ public class ReportOutlineServiceImpl extends ServiceImpl<ReportOutlineMapper, R
|
|
*
|
|
*
|
|
* @param id 主键
|
|
* @param id 主键
|
|
* @author lixing
|
|
* @author lixing
|
|
- * @version V1.0 2021-05-17 09:55:27
|
|
|
|
|
|
+ * @version V1.0 2021-05-17 10:47:27
|
|
*/
|
|
*/
|
|
@Override
|
|
@Override
|
|
public void deleteReportOutline(String id) {
|
|
public void deleteReportOutline(String id) {
|
|
@@ -132,7 +132,7 @@ public class ReportOutlineServiceImpl extends ServiceImpl<ReportOutlineMapper, R
|
|
*
|
|
*
|
|
* @return List<ReportOutline>
|
|
* @return List<ReportOutline>
|
|
* @author lixing
|
|
* @author lixing
|
|
- * @version V1.0 2021-05-17 09:55:27
|
|
|
|
|
|
+ * @version V1.0 2021-05-17 10:47:27
|
|
*/
|
|
*/
|
|
@Override
|
|
@Override
|
|
public List<ReportOutline> queryReportOutlineList(QueryReportOutlineDTO queryReportOutlineDTO) {
|
|
public List<ReportOutline> queryReportOutlineList(QueryReportOutlineDTO queryReportOutlineDTO) {
|
|
@@ -185,7 +185,7 @@ public class ReportOutlineServiceImpl extends ServiceImpl<ReportOutlineMapper, R
|
|
*
|
|
*
|
|
* @return IPage<ReportOutline>
|
|
* @return IPage<ReportOutline>
|
|
* @author lixing
|
|
* @author lixing
|
|
- * @version V1.0 2021-05-17 09:55:27
|
|
|
|
|
|
+ * @version V1.0 2021-05-17 10:47:27
|
|
*/
|
|
*/
|
|
@Override
|
|
@Override
|
|
public IPage<ReportOutline> pageQueryReportOutline(PageQueryReportOutlineDTO pageQueryReportOutlineDTO) {
|
|
public IPage<ReportOutline> pageQueryReportOutline(PageQueryReportOutlineDTO pageQueryReportOutlineDTO) {
|