Browse Source

业绩对标管理功能开发

hlf 9 months ago
parent
commit
c8a7aef247

+ 0 - 15
ims-service/ims-eval/src/main/java/com/ims/eval/controller/PerformanceBenchmarkingManageController.java

@@ -19,21 +19,6 @@ public class PerformanceBenchmarkingManageController {
 	@Resource
 	private IPerformanceBenchmarkInfoService performanceBenchmarkInfoService;
 
-	@Resource
-	private IEvaluateRuleService evaluateRuleService;
-
-	@Resource
-	private IEvaluateRuleInfoService evaluateRuleInfoService;
-
-	@Resource
-	private IOrganizationEvaluationService organizationEvaluationService;
-
-	@Resource
-	private IOrganizationEvaluationInfoService organizationEvaluationInfoService;
-
-	@Resource
-	private IOrganizationEvaluationRuleService organizationEvaluationRuleService;
-
 	/**
 	 * 业绩对标管理列表信息(分页)
 	 *

+ 1 - 1
ims-service/ims-eval/src/main/java/com/ims/eval/entity/PerformanceBenchmarkInfo.java

@@ -7,7 +7,7 @@ import lombok.EqualsAndHashCode;
 /**
  * @author hlf
  * @date 2024/3/28 13:57
- * 文件说明:
+ * 文件说明:业绩对标管理信息
  */
 @Data
 @EqualsAndHashCode(callSuper = true)

+ 26 - 1
ims-service/ims-eval/src/main/java/com/ims/eval/service/impl/PerformanceBenchmarkInfoServiceImpl.java

@@ -5,9 +5,11 @@ import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
 import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
 import com.ims.eval.dao.PerformanceBenchmarkInfoMapper;
 import com.ims.eval.entity.PerformanceBenchmarkInfo;
-import com.ims.eval.service.IPerformanceBenchmarkInfoService;
+import com.ims.eval.service.*;
 import org.springframework.stereotype.Service;
 
+import javax.annotation.Resource;
+
 /**
  * @author hlf
  * @date 2024/3/28 14:07
@@ -16,6 +18,21 @@ import org.springframework.stereotype.Service;
 @Service
 public class PerformanceBenchmarkInfoServiceImpl extends ServiceImpl<PerformanceBenchmarkInfoMapper, PerformanceBenchmarkInfo> implements IPerformanceBenchmarkInfoService {
 
+	@Resource
+	private IEvaluateRuleService evaluateRuleService;
+
+	@Resource
+	private IEvaluateRuleInfoService evaluateRuleInfoService;
+
+	@Resource
+	private IOrganizationEvaluationService organizationEvaluationService;
+
+	@Resource
+	private IOrganizationEvaluationInfoService organizationEvaluationInfoService;
+
+	@Resource
+	private IOrganizationEvaluationRuleService organizationEvaluationRuleService;
+
 	@Override
 	public IPage<PerformanceBenchmarkInfo> listPage(Integer pageNum, Integer pageSize, Integer year, Integer quarter, Integer monthly, String manageCategory) {
 		if (null == pageNum || null == pageSize) {
@@ -26,4 +43,12 @@ public class PerformanceBenchmarkInfoServiceImpl extends ServiceImpl<Performance
 		return baseMapper.selectListPage(page, year, quarter, monthly, manageCategory);
 	}
 
+	/**
+	 * 寻标
+	 */
+	private void xb(){
+
+
+	}
+
 }

+ 1 - 1
ims-service/ims-eval/src/main/resources/mappers/PerformanceBenchmarkInfoMapper.xml

@@ -23,7 +23,7 @@
 
     <!-- 通用查询结果列 -->
     <sql id="selectPerformanceBenchmarkInfoVo">
-        select id, `year`, quarter, monthly, manage_category, serial_number, company_id, company_name, install_capacity, index_name, planned_value, complete_value, recommended_value, scaling_value, is_pole
+        select id, year, quarter, monthly, manage_category, serial_number, company_id, company_name, install_capacity, index_name, planned_value, complete_value, recommended_value, scaling_value, is_pole
         from performance_benchmark_info
     </sql>