Ver código fonte

1.修改status状态

zjh 2 anos atrás
pai
commit
477a314b8b

BIN
cbkj_web_parameter/src/main/java/com/jiuzhekan/cbkj/beans/sysBeans/AdminInfo.java


BIN
cbkj_web_parameter/src/main/java/com/jiuzhekan/cbkj/beans/sysBeans/AdminMenu.java


BIN
cbkj_web_parameter/src/main/java/com/jiuzhekan/cbkj/beans/sysBeans/SysDoctorMultipoint.java


BIN
cbkj_web_parameter/src/main/java/com/jiuzhekan/cbkj/service/sysService/AdminService.java


+ 3 - 2
cbkj_web_parameter/src/main/resources/mappers/sysMappers/SysDoctorMultipointMapper.xml

@@ -118,6 +118,7 @@
         SELECT user_id,user_name,status,create_date,address,email,app_id,ins_code,dept_id,dept_name,create_user,create_user_name,is_qualifier,dept_id_his,dept_name_his,qualifier_pic_path,personal_share
         from sys_doctor_multipoint
         <where>
+            status='0'
             <if test=" name != null and name!='' ">
                 and name like CONCAT('%',trim(#{name}),'%')
             </if>
@@ -142,8 +143,8 @@
          p.qualifier_pic_path,
          p.personal_share
         from sys_doctor_multipoint p
-        left join sys_institution i on i.INS_CODE = p.ins_code
-        where p.user_id = #{userId}
+        left join sys_institution i on i.INS_CODE = p.ins_code and i.status='0'
+        where p.user_id = #{userId} and p.status='0'
         <if test=" appId != null and appId != '' ">
             and p.app_id = #{appId}
         </if>