瀏覽代碼

登录问题

xiaochan 10 月之前
父節點
當前提交
597f66e19a

+ 1 - 1
src/main/java/thyyxxk/webserver/dao/his/LoginDao.java

@@ -16,7 +16,7 @@ public interface LoginDao {
             "emp_tit_code " +
             "from dj_user_base a " +
             "         left join a_employee_mi b on (a.code = b.code)  " +
-            "where a.code_rs=#{codeRs} and b.del_flag=0")
+            "where a.code_rs=#{codeRs} and isnull(b.del_flag,0)!=1")
     UserInfo findUserByCodeRsFromDjUserBase(@Param("codeRs") String codeRs);
 
     @Select("select code, name, code_rs, password='e10adc3949ba59abbe56e057f20f883e',emp_tit_code " +

+ 0 - 1
src/main/java/thyyxxk/webserver/service/ca/CaUtils.java

@@ -1,6 +1,5 @@
 package thyyxxk.webserver.service.ca;
 
-import com.alibaba.fastjson.JSONObject;
 import com.sun.xml.internal.messaging.saaj.packaging.mime.util.BASE64EncoderStream;
 import lombok.extern.slf4j.Slf4j;
 import org.bouncycastle.util.encoders.Base64;