Commit 5cf86fcb by mayunfei

四川对外接口

parent 9736493a
...@@ -18,7 +18,7 @@ public class FilterConfig extends WebMvcConfigurerAdapter { ...@@ -18,7 +18,7 @@ public class FilterConfig extends WebMvcConfigurerAdapter {
// //
registry.addInterceptor(InterceptorConfig). registry.addInterceptor(InterceptorConfig).
addPathPatterns("/**"). addPathPatterns("/**").
excludePathPatterns("/refreshCodeCache","/loginFail","/login","/toGetZczlListYth","/queryAllzTreeData","/queryUnitCode","/queryTypeCode","/queryZTreeDataByName"); excludePathPatterns("/refreshCodeCache","/loginFail","/login","/toGetZczlListYth","/queryAllzTreeData","/queryUnitCode","/queryTypeCode","/queryZTreeDataByName","/getZczlListImp","/zczlQsImp");
} }
@Override @Override
......
...@@ -200,4 +200,6 @@ public interface ZczlDao { ...@@ -200,4 +200,6 @@ public interface ZczlDao {
Integer toQueryBxqjsdzjzlsForTotal(TbYwZjZczl tbYwZjZczl); Integer toQueryBxqjsdzjzlsForTotal(TbYwZjZczl tbYwZjZczl);
List<TbYwZjZczl> getZjzlxxByHbbhFormZjzl(String hbbh); List<TbYwZjZczl> getZjzlxxByHbbhFormZjzl(String hbbh);
User getUserByIdCard(String identitycard);
} }
...@@ -185,4 +185,6 @@ public interface IZczlService { ...@@ -185,4 +185,6 @@ public interface IZczlService {
List<TbYwZjZczl> toQueryBxqjsdzjzls(TbYwZjZczl tbYwZjZczl, String unitcode); List<TbYwZjZczl> toQueryBxqjsdzjzls(TbYwZjZczl tbYwZjZczl, String unitcode);
List<TbYwZjZczl> getZjzlxxByHbbhFormZjzl(String hbbh); List<TbYwZjZczl> getZjzlxxByHbbhFormZjzl(String hbbh);
User getUserByIdCard(String identitycard);
} }
...@@ -2445,4 +2445,9 @@ public class ZczlService implements IZczlService { ...@@ -2445,4 +2445,9 @@ public class ZczlService implements IZczlService {
return zczlDao.getZjzlxxByHbbhFormZjzl(hbbh); return zczlDao.getZjzlxxByHbbhFormZjzl(hbbh);
} }
@Override
public User getUserByIdCard(String identitycard) {
return zczlDao.getUserByIdCard(identitycard);
}
} }
...@@ -2717,4 +2717,16 @@ ...@@ -2717,4 +2717,16 @@
from TB_YW_ZJ_ZCZL zczl where 1=1 and zczl.xxscpdbz = '0' and zczl.HBBH=#{hbbh} from TB_YW_ZJ_ZCZL zczl where 1=1 and zczl.xxscpdbz = '0' and zczl.HBBH=#{hbbh}
</select> </select>
<select id="getUserByIdCard" parameterType="java.lang.String" resultType="com.founder.model.User">
select
USERNAME username,
TRUE_NAME truename,
TELEPHONE telephone,
UNITCODE unitcode,
UNITNAME unitname,
POLICEMANID policemanid,
IDENTITYCARD identitycard
from SYS_USER where identitycard = #{identitycard} and scbz='0'
</select>
</mapper> </mapper>
\ No newline at end of file
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