| | |
| | | <result column="domain" jdbcType="VARCHAR" property="domain" /> |
| | | <result column="open_clost_time" jdbcType="INTEGER" property="openClostTime" /> |
| | | <result column="remarks" jdbcType="VARCHAR" property="remarks" /> |
| | | <result column="cancel_time" jdbcType="TIMESTAMP" property="cancelTime" /> |
| | | <result column="state" jdbcType="TINYINT" property="state" /> |
| | | </resultMap> |
| | | <sql id="Base_Column_List"> |
| | | <!--@mbg.generated--> |
| | | id, protocol, card_addr, security_code, card_type, create_time, order_no, district_code, |
| | | project_no, ip, `domain`, open_clost_time, remarks |
| | | project_no, ip, `domain`, open_clost_time, remarks, cancel_time, state |
| | | </sql> |
| | | <select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap"> |
| | | <!--@mbg.generated--> |
| | |
| | | security_code, card_type, create_time, |
| | | order_no, district_code, project_no, |
| | | ip, `domain`, open_clost_time, |
| | | remarks) |
| | | remarks, cancel_time, state) |
| | | values (#{id,jdbcType=BIGINT}, #{protocol,jdbcType=VARCHAR}, #{cardAddr,jdbcType=VARCHAR}, |
| | | #{securityCode,jdbcType=VARCHAR}, #{cardType,jdbcType=TINYINT}, #{createTime,jdbcType=TIMESTAMP}, |
| | | #{orderNo,jdbcType=VARCHAR}, #{districtCode,jdbcType=VARCHAR}, #{projectNo,jdbcType=INTEGER}, |
| | | #{ip,jdbcType=VARCHAR}, #{domain,jdbcType=VARCHAR}, #{openClostTime,jdbcType=INTEGER}, |
| | | #{remarks,jdbcType=VARCHAR}) |
| | | #{remarks,jdbcType=VARCHAR}, #{cancelTime,jdbcType=TIMESTAMP}, #{state,jdbcType=TINYINT}) |
| | | </insert> |
| | | <insert id="insertSelective" parameterType="com.dy.pipIrrGlobal.pojoSe.SeManagementCard"> |
| | | <!--@mbg.generated--> |
| | |
| | | <if test="remarks != null"> |
| | | remarks, |
| | | </if> |
| | | <if test="cancelTime != null"> |
| | | cancel_time, |
| | | </if> |
| | | <if test="state != null"> |
| | | state, |
| | | </if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="id != null"> |
| | |
| | | </if> |
| | | <if test="remarks != null"> |
| | | #{remarks,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="cancelTime != null"> |
| | | #{cancelTime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="state != null"> |
| | | #{state,jdbcType=TINYINT}, |
| | | </if> |
| | | </trim> |
| | | </insert> |
| | |
| | | <if test="remarks != null"> |
| | | remarks = #{remarks,jdbcType=VARCHAR}, |
| | | </if> |
| | | <if test="cancelTime != null"> |
| | | cancel_time = #{cancelTime,jdbcType=TIMESTAMP}, |
| | | </if> |
| | | <if test="state != null"> |
| | | state = #{state,jdbcType=TINYINT}, |
| | | </if> |
| | | </set> |
| | | where id = #{id,jdbcType=BIGINT} |
| | | </update> |
| | |
| | | ip = #{ip,jdbcType=VARCHAR}, |
| | | `domain` = #{domain,jdbcType=VARCHAR}, |
| | | open_clost_time = #{openClostTime,jdbcType=INTEGER}, |
| | | remarks = #{remarks,jdbcType=VARCHAR} |
| | | remarks = #{remarks,jdbcType=VARCHAR}, |
| | | cancel_time = #{cancelTime,jdbcType=TIMESTAMP}, |
| | | state = #{state,jdbcType=TINYINT} |
| | | where id = #{id,jdbcType=BIGINT} |
| | | </update> |
| | | </mapper> |