Sfoglia il codice sorgente

fit 有接口账号标记查询

change 3 anni fa
parent
commit
538425ca77

+ 1 - 1
zhongzheng-system/src/main/java/com/zhongzheng/modules/grade/bo/ClassGradeUserQueryBo.java

@@ -248,7 +248,7 @@ public class ClassGradeUserQueryBo extends BaseEntity {
 	 * 有接口标识(0无配置 1有接口 2无接口)
 	 */
 	@ApiModelProperty("有接口标识")
-	private Long hasInterface;
+	private Integer hasInterface;
 
 
 }

+ 3 - 3
zhongzheng-system/src/main/resources/mapper/modules/grade/ClassGradeMapper.xml

@@ -428,13 +428,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         <if test="majorId != null and majorId != ''">
             AND m.id = #{majorId}
         </if>
-        <if test="hasInterface != null and noInterfaceAccountId == 0">
+        <if test="hasInterface != null and hasInterface == 0">
             AND cg.interface_account_id is null AND cg.no_interface_account_id is null
         </if>
-        <if test="hasInterface != null and noInterfaceAccountId == 1">
+        <if test="hasInterface != null and hasInterface == 1">
             AND cg.interface_account_id is not null
         </if>
-        <if test="hasInterface != null and noInterfaceAccountId == 2">
+        <if test="hasInterface != null and hasInterface == 2">
             AND cg.no_interface_account_id is not null
         </if>
         order by user_info_status desc ,user_status desc ,cgu.id desc