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