Commit edeee2d8 by wang_jiaxing

校验注解

parent 9dde5b7d
...@@ -5,7 +5,6 @@ import org.apache.ibatis.annotations.Mapper; ...@@ -5,7 +5,6 @@ import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository; import org.springframework.stereotype.Repository;
/** /**
*
* @author create by lystar * @author create by lystar
* @date 2022/8/16 10:17 * @date 2022/8/16 10:17
*/ */
...@@ -13,5 +12,6 @@ import org.springframework.stereotype.Repository; ...@@ -13,5 +12,6 @@ import org.springframework.stereotype.Repository;
@Repository @Repository
public interface AuthorizationMapper { public interface AuthorizationMapper {
CheckEntity getAuthorizationByZy(CheckEntity checkEntity); CheckEntity getAuthorizationByZy(CheckEntity checkEntity);
CheckEntity getAuthorizationByFw(CheckEntity checkEntity);
CheckEntity getAuthorizationByFw(CheckEntity checkEntity);
} }
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
</select> </select>
<select id="getAuthorizationByFw" resultType="com.founder.checkAuthorization.entity.CheckEntity"> <select id="getAuthorizationByFw" resultType="com.founder.checkAuthorization.entity.CheckEntity">
SELECT app_id AS appId, app_secret AS appSecret, app_ip AS appIp SELECT app_id AS appId, app_secret AS appSecret, app_ip AS appIp
FROM tb_st_ggfw FROM tb_st_ggfw_zcfw
WHERE app_id = #{appId,jdbcType=VARCHAR} WHERE app_id = #{appId,jdbcType=VARCHAR}
AND app_secret = #{appSecret,jdbcType=VARCHAR} AND app_secret = #{appSecret,jdbcType=VARCHAR}
AND xxsc_pdbz = '0' AND xxsc_pdbz = '0'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment