From 2fcd97552d16718cc7997629fd637a73a5a4483f Mon Sep 17 00:00:00 2001 From: 郑永安 <zyazyz250@sina.com> Date: 星期一, 19 六月 2023 14:44:19 +0800 Subject: [PATCH] 删除 --- src/main/java/com/gk/firework/Mapper/mybatis/AuthorizationInfoMapper.xml | 31 +++++++++++++++++++++++++++++++ 1 files changed, 31 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/gk/firework/Mapper/mybatis/AuthorizationInfoMapper.xml b/src/main/java/com/gk/firework/Mapper/mybatis/AuthorizationInfoMapper.xml new file mode 100644 index 0000000..60e67ed --- /dev/null +++ b/src/main/java/com/gk/firework/Mapper/mybatis/AuthorizationInfoMapper.xml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" > +<mapper namespace="com.gk.firework.Mapper.AuthorizationInfoMapper" > + <resultMap id="BaseResultMap" type="com.gk.firework.Domain.AuthorizationInfo" > + <!-- --> + <id column="id" property="id" jdbcType="BIGINT" /> + <result column="enterprisenumber" property="enterprisenumber" jdbcType="VARCHAR" /> + <result column="authcode" property="authcode" jdbcType="VARCHAR" /> + <result column="authcodeprefix" property="authcodeprefix" jdbcType="VARCHAR" /> + <result column="contractcode" property="contractcode" jdbcType="VARCHAR" /> + <result column="createdat" property="createdat" jdbcType="TIMESTAMP" /> + <result column="createdby" property="createdby" jdbcType="VARCHAR" /> + <result column="flag" property="flag" jdbcType="TINYINT" /> + <result column="lasttime" property="lasttime" jdbcType="TIMESTAMP" /> + <result column="status" property="status" jdbcType="TINYINT" /> + </resultMap> + <sql id="Base_Column_List" > + <!-- --> + id, enterprisenumber, authcode, authcodeprefix, contractcode, createdat, createdby, + flag, lasttime, status + </sql> + <select id="selectByUser" resultType="com.gk.firework.Domain.AuthorizationInfo"> + select * + from authorization + where + enterprisenumber = #{enterprisenumber} + and authcode = #{authcode} + and status = 1 + </select> + +</mapper> -- Gitblit v1.9.2