Browse Source

问题处理

hlf 11 tháng trước cách đây
mục cha
commit
db4ecad4e1

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

@@ -107,7 +107,7 @@ public class IndicatorServiceImpl extends ServiceImpl<IndicatorMapper, Indicator
 	public List<Indicator> listAll(String id, String indicatorName, String indicatorCode, String binSection, String binStage, String dept, String company,String evaluationCycle) {
 
 		List<Indicator> list = null;
-		if (evaluationCycle.length() > 0){
+		if (null != evaluationCycle){
 			evaluationCycle = evaluationCycle.replaceAll("ALL","");
 			list = baseMapper.seleclistAll(id, indicatorName, indicatorCode, binSection, binStage, dept, company,evaluationCycle);
 		}

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

@@ -132,7 +132,7 @@
                 AND check_cycle = #{checkCycle}
             </if>
             <if test="manageCategory != null and manageCategory != ''">
-                AND des like CONCAT('%',#{manageCategory},'生产经营%')
+                AND des like CONCAT('%',#{manageCategory},'%') AND des not like '%基建%'
             </if>
         </where>
     </select>