Blame view

parking-module-system/src/main/resources/mybatis/smapper/SysLicenseSmapper.xml 1.26 KB
55f68655   王彪总   新项目
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
  <?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.zteits.sys.mapper.smapper.SysLicenseSmapper">
    <resultMap id="BaseResultMap" type="com.zteits.sys.domain.SysLicense">
      <id column="id" jdbcType="BIGINT" property="id" />
      <result column="org_id" jdbcType="BIGINT" property="orgId" />
      <result column="data_state" jdbcType="INTEGER" property="dataState" />
      <result column="create_empid" jdbcType="VARCHAR" property="createEmpid" />
      <result column="create_date" jdbcType="TIMESTAMP" property="createDate" />
      <result column="modfiy_empid" jdbcType="VARCHAR" property="modfiyEmpid" />
      <result column="modfiy_date" jdbcType="TIMESTAMP" property="modfiyDate" />
      <result column="remark" jdbcType="VARCHAR" property="remark" />
      <result column="license" jdbcType="LONGVARCHAR" property="license" />
    </resultMap>
  
    <update id="updateLicenseByOrgId" parameterType="com.zteits.sys.domain.SysLicense">
      update sys_license
      set
        modfiy_empid = #{modfiyEmpid,jdbcType=VARCHAR},
        modfiy_date = #{modfiyDate,jdbcType=TIMESTAMP},
        license = #{license,jdbcType=VARCHAR}
      where org_id = #{orgId,jdbcType=BIGINT}
    </update>
  </mapper>