Browse Source

feat: 枚举错误

master
buaixuexideshitongxue 3 weeks ago
parent
commit
9006e5711e
  1. 6
      src/main/java/com/biutag/supervision/constants/enums/InspectCaseEnum.java
  2. 2
      src/main/java/com/biutag/supervision/mapper/NegativeBlameMapper.java

6
src/main/java/com/biutag/supervision/constants/enums/InspectCaseEnum.java

@ -12,17 +12,15 @@ public enum InspectCaseEnum {
TRUE("1", "属实"), TRUE("1", "属实"),
// 部分属实 // 部分属实
PARTIALLY_TRUE("2", "部分属实"), PARTIALLY_TRUE("2", "部分属实"),
QTFT("3", "不属实,但发现存在其他问题"),
// 不属实 // 不属实
WFCS("4", "现有证据暂时无法查实"), FALSE("3", "不属实");
FALSE("5", "不属实");
private String value; private String value;
private String label; private String label;
public static boolean isItTure(String value) { public static boolean isItTure(String value) {
return TRUE.getValue().equals(value) || PARTIALLY_TRUE.getValue().equals(value) || QTFT.getValue().equals(value); return TRUE.getValue().equals(value) || PARTIALLY_TRUE.getValue().equals(value);
} }
} }

2
src/main/java/com/biutag/supervision/mapper/NegativeBlameMapper.java

@ -24,7 +24,7 @@ public interface NegativeBlameMapper extends BaseMapper<NegativeBlame> {
@Select("select DISTINCT nb.* from negative_blame nb left join negative n on nb.negativeId = n.id " + @Select("select DISTINCT nb.* from negative_blame nb left join negative n on nb.negativeId = n.id " +
"left join negative_problem_relation pr on pr.negativeId = nb.negativeId and pr.blameId = nb.blameId " + "left join negative_problem_relation pr on pr.negativeId = nb.negativeId and pr.blameId = nb.blameId " +
"where n.checkStatus in ('1', '2', '3') and n.processing_status = 'completed' and pr.threeLevelCode is not null and nb.type = 'personal'") "where n.checkStatus in ('1', '2') and n.processing_status = 'completed' and pr.threeLevelCode is not null and nb.type = 'personal'")
List<NegativeBlame> selectVerifyTrue(); List<NegativeBlame> selectVerifyTrue();

Loading…
Cancel
Save