SysLicenseSmapper.xml
1.26 KB
<?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>