19 changed files with 208 additions and 182 deletions
@ -1,13 +1,27 @@ |
|||
<?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.yxt.anrui.buscenter.biz.busdeliveredapply.BusDeliveredApplyMapper"> |
|||
<!-- <where> ${ew.sqlSegment} </where>--> |
|||
<!-- ${ew.customSqlSegment} --> |
|||
<select id="selectPageVo" resultType="com.yxt.anrui.buscenter.api.busdeliveredapply.BusDeliveredApplyVo"> |
|||
SELECT * FROM bus_delivered_apply <where> ${ew.sqlSegment} </where> |
|||
</select> |
|||
|
|||
<select id="selectListAllVo" resultType="com.yxt.anrui.buscenter.api.busdeliveredapply.BusDeliveredApplyVo"> |
|||
SELECT * FROM bus_delivered_apply <where> ${ew.sqlSegment} </where> |
|||
</select> |
|||
<!-- <where> ${ew.sqlSegment} </where>--> |
|||
<!-- ${ew.customSqlSegment} --> |
|||
<select id="selectPageVo" resultType="com.yxt.anrui.buscenter.api.busdeliveredapply.BusDeliveredApplyVo"> |
|||
SELECT * |
|||
FROM bus_delivered_apply |
|||
<where> |
|||
${ew.sqlSegment} |
|||
</where> |
|||
</select> |
|||
|
|||
<select id="selectListAllVo" resultType="com.yxt.anrui.buscenter.api.busdeliveredapply.BusDeliveredApplyVo"> |
|||
SELECT * |
|||
FROM bus_delivered_apply |
|||
<where> |
|||
${ew.sqlSegment} |
|||
</where> |
|||
</select> |
|||
|
|||
<update id="updateStateBySid"> |
|||
update bus_delivered_apply |
|||
set state = #{state} and applyDate = #{today} |
|||
where sid = #{sid} |
|||
</update> |
|||
</mapper> |
@ -1,13 +1,28 @@ |
|||
<?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.yxt.anrui.buscenter.biz.busdeliveredusemessage.BusDeliveredUseMessageMapper"> |
|||
<!-- <where> ${ew.sqlSegment} </where>--> |
|||
<!-- ${ew.customSqlSegment} --> |
|||
<select id="selectPageVo" resultType="com.yxt.anrui.buscenter.api.busdeliveredusemessage.BusDeliveredUseMessageVo"> |
|||
SELECT * FROM bus_delivered_use_message <where> ${ew.sqlSegment} </where> |
|||
</select> |
|||
|
|||
<select id="selectListAllVo" resultType="com.yxt.anrui.buscenter.api.busdeliveredusemessage.BusDeliveredUseMessageVo"> |
|||
SELECT * FROM bus_delivered_use_message <where> ${ew.sqlSegment} </where> |
|||
</select> |
|||
<!-- <where> ${ew.sqlSegment} </where>--> |
|||
<!-- ${ew.customSqlSegment} --> |
|||
<select id="selectPageVo" resultType="com.yxt.anrui.buscenter.api.busdeliveredusemessage.BusDeliveredUseMessageVo"> |
|||
SELECT * |
|||
FROM bus_delivered_use_message |
|||
<where> |
|||
${ew.sqlSegment} |
|||
</where> |
|||
</select> |
|||
|
|||
<select id="selectListAllVo" |
|||
resultType="com.yxt.anrui.buscenter.api.busdeliveredusemessage.BusDeliveredUseMessageVo"> |
|||
SELECT * |
|||
FROM bus_delivered_use_message |
|||
<where> |
|||
${ew.sqlSegment} |
|||
</where> |
|||
</select> |
|||
|
|||
<delete id="deleteByApplySid"> |
|||
delete |
|||
from bus_delivered_use_message |
|||
where applySid = #{dtoSid} |
|||
</delete> |
|||
</mapper> |
Loading…
Reference in new issue