All Downloads are FREE. Search and download functionalities are using the official Maven repository.
Please wait. This can take some minutes ...
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.
mapper.hist-order.xml Maven / Gradle / Ivy
<?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="HistoryOrder">
<insert id="SAVE" parameterType="historyorder">
insert into wf_hist_order (id,process_Id,creator,create_Time,parent_Id,order_State,expire_Time,end_Time,order_No,variable)
values (#{id, jdbcType=VARCHAR},#{processId, jdbcType=VARCHAR},#{creator, jdbcType=VARCHAR},#{createTime, jdbcType=VARCHAR},#{parentId, jdbcType=VARCHAR},
#{orderState, jdbcType=NUMERIC},#{expireTime, jdbcType=VARCHAR},#{endTime, jdbcType=VARCHAR},#{orderNo, jdbcType=VARCHAR},#{variable, jdbcType=VARCHAR})
</insert>
<update id="UPDATE" parameterType="historyorder">
update wf_hist_order set order_State = #{orderState, jdbcType=NUMERIC}, end_Time = #{endTime, jdbcType=VARCHAR} where id = #{id, jdbcType=VARCHAR}
</update>
<select id="SELECTONE" parameterType="string" resultType="historyorder">
select
id,
process_Id as processId,
order_State as orderState,
creator,
create_Time as createTime,
parent_Id as parentId,
expire_Time as expireTime,
end_Time as endTime,
priority,
order_No as orderNo,
variable
from wf_hist_order
where id = #{id, jdbcType=VARCHAR}
</select>
<select id="SELECTLIST" resultType="order">
select
id,
process_Id as processId,
order_State as orderState,
creator,
create_Time as createTime,
parent_Id as parentId,
expire_Time as expireTime,
end_Time as endTime,
priority,
order_No as orderNo,
variable
from wf_hist_order
</select>
</mapper>