You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
1.8 KiB
XML
46 lines
1.8 KiB
XML
3 years ago
|
<?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">
|
||
3 years ago
|
<mapper namespace="com.glxp.udi.admin.dao.basic.StackRulesDao">
|
||
|
<resultMap id="BaseResultMap" type="com.glxp.udi.admin.entity.basic.StackRulesEntity">
|
||
3 years ago
|
<id column="id" jdbcType="INTEGER" property="id"/>
|
||
|
<result column="name" jdbcType="VARCHAR" property="name"/>
|
||
|
<result column="customerId" jdbcType="BIGINT" property="customerId"/>
|
||
|
<result column="prefix" jdbcType="VARCHAR" property="prefix"/>
|
||
|
<result column="startNum" jdbcType="VARCHAR" property="serialNum"/>
|
||
|
<result column="step" jdbcType="INTEGER" property="step"/>
|
||
|
<result column="serialNum" jdbcType="INTEGER" property="serialNum"/>
|
||
|
<result column="stauts" jdbcType="BOOLEAN" property="stauts"/>
|
||
|
<result column="createTime" jdbcType="TIMESTAMP" property="createTime"/>
|
||
|
<result column="updateTime" jdbcType="TIMESTAMP" property="updateTime"/>
|
||
|
<result column="remark" jdbcType="VARCHAR" property="remark"/>
|
||
|
</resultMap>
|
||
|
|
||
|
<sql id="Base_Column_List">
|
||
|
id,
|
||
|
`name`,
|
||
|
customerId,
|
||
|
`prefix`,
|
||
|
startNum,
|
||
|
step,
|
||
|
serialNum,
|
||
|
stauts,
|
||
|
createTime,
|
||
|
updateTime,
|
||
|
remark
|
||
|
</sql>
|
||
|
|
||
3 years ago
|
<update id="updateStackRules">
|
||
|
update stack_rules
|
||
3 years ago
|
set name = #{name},
|
||
|
customerId = #{customerId},
|
||
|
prefix = #{prefix},
|
||
|
startNum = #{startNum},
|
||
|
step = #{step},
|
||
|
serialNum = #{serialNum},
|
||
|
`status` = #{status},
|
||
|
createTime = #{createTime},
|
||
|
updateTime = #{updateTime},
|
||
|
remark = #{remark}
|
||
|
where id = #{id}
|
||
|
</update>
|
||
|
</mapper>
|