|
|
|
@ -3,14 +3,14 @@ |
|
|
|
<mapper namespace="com.toesbieya.my.mapper.BizDocumentHistoryMapper"> |
|
|
|
<mapper namespace="com.toesbieya.my.mapper.BizDocumentHistoryMapper"> |
|
|
|
<select id="getByPid" resultType="com.toesbieya.my.model.entity.BizDocumentHistory"> |
|
|
|
<select id="getByPid" resultType="com.toesbieya.my.model.entity.BizDocumentHistory"> |
|
|
|
select * |
|
|
|
select * |
|
|
|
from biz_do_history |
|
|
|
from biz_doc_history |
|
|
|
where pid = #{pid} |
|
|
|
where pid = #{pid} |
|
|
|
order by id desc |
|
|
|
order by id desc |
|
|
|
</select> |
|
|
|
</select> |
|
|
|
<select id="search" resultType="com.toesbieya.my.model.entity.BizDocumentHistory" |
|
|
|
<select id="search" resultType="com.toesbieya.my.model.entity.BizDocumentHistory" |
|
|
|
parameterType="com.toesbieya.my.model.vo.search.DocumentHistorySearch"> |
|
|
|
parameterType="com.toesbieya.my.model.vo.search.DocumentHistorySearch"> |
|
|
|
select * |
|
|
|
select * |
|
|
|
from biz_do_history |
|
|
|
from biz_doc_history |
|
|
|
where 1 |
|
|
|
where 1 |
|
|
|
<if test="pid!=null and pid!=''">and pid=#{pid}</if> |
|
|
|
<if test="pid!=null and pid!=''">and pid=#{pid}</if> |
|
|
|
<if test="uid!=null and uid!=''">and uid in (${uid})</if> |
|
|
|
<if test="uid!=null and uid!=''">and uid in (${uid})</if> |
|
|
|
@ -20,7 +20,7 @@ |
|
|
|
</select> |
|
|
|
</select> |
|
|
|
|
|
|
|
|
|
|
|
<insert id="insert" parameterType="com.toesbieya.my.model.entity.BizDocumentHistory"> |
|
|
|
<insert id="insert" parameterType="com.toesbieya.my.model.entity.BizDocumentHistory"> |
|
|
|
insert into biz_do_history (pid, type, uid, uname, status_before, status_after, time, info) |
|
|
|
insert into biz_doc_history (pid, type, uid, uname, status_before, status_after, time, info) |
|
|
|
VALUES (#{pid}, #{type}, #{uid}, #{uname}, #{status_before}, #{status_after}, #{time}, #{info}) |
|
|
|
VALUES (#{pid}, #{type}, #{uid}, #{uname}, #{status_before}, #{status_after}, #{time}, #{info}) |
|
|
|
</insert> |
|
|
|
</insert> |
|
|
|
</mapper> |
|
|
|
</mapper> |