Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
<?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="Order">
<insert id="SAVE" parameterType="order">
insert into wf_order (id,process_Id,creator,create_Time,parent_Id,parent_Node_Name,expire_Time,last_Update_Time,last_Updator,order_No,variable,version)
values (#{id, jdbcType=VARCHAR},#{processId, jdbcType=VARCHAR},#{creator, jdbcType=VARCHAR},#{createTime, jdbcType=VARCHAR},#{parentId, jdbcType=VARCHAR},
#{parentNodeName, jdbcType=VARCHAR},#{expireTime, jdbcType=VARCHAR},#{lastUpdateTime, jdbcType=VARCHAR},#{lastUpdator, jdbcType=VARCHAR},
#{orderNo, jdbcType=VARCHAR},#{variable, jdbcType=VARCHAR},0)
</insert>
<update id="UPDATE" parameterType="order">
update wf_order set last_Updator=#{lastUpdator, jdbcType=VARCHAR}, last_Update_Time=#{lastUpdateTime, jdbcType=VARCHAR}, version = version + 1
where id=#{id, jdbcType=VARCHAR} and version=#{version, jdbcType=NUMERIC}
</update>
<delete id="DELETE" parameterType="string">
delete from wf_order where id = #{id, jdbcType=VARCHAR}
</delete>
<select id="SELECTONE" parameterType="string" resultType="order">
select
id,
process_Id as processId,
creator,
create_Time as createTime,
parent_Id as parentId,
parent_Node_Name as parentNodeName,
expire_Time as expireTime,
last_Update_Time as lastUpdateTime,
last_Updator as lastUpdator,
priority,
order_No as orderNo,
variable,
version
from wf_order
where id = #{id, jdbcType=VARCHAR}
</select>
<select id="SELECTLIST" resultType="order">
select
id,
process_Id as process_Id,
creator,
create_Time as create_Time,
parent_Id as parentId,
parent_Node_Name as parentNodeName,
expire_Time as expireTime,
last_Update_Time as lastUpdateTime,
last_Updator as lastUpdator,
priority,
order_No as orderNo,
variable,
version
from wf_order
</select>
</mapper>