17 lines
735 B
XML
17 lines
735 B
XML
<?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.czblood.bus.mapper.XkChargeMainMapper">
|
|
|
|
<delete id="deleteByBillNo">
|
|
delete from xk_charge_main where bill_no = #{bill_no}
|
|
</delete>
|
|
<select id="queryList" resultType="com.czblood.bus.pojo.XkChargeMain">
|
|
select * from xk_charge_main
|
|
<where>
|
|
<if test="bill_no != null">and bill_no = #{bill_no}</if>
|
|
<if test="send_flag != null">and send_flag = #{send_flag}</if>
|
|
<if test="relative_billno != null">and relative_billno = #{relative_billno}</if>
|
|
</where>
|
|
</select>
|
|
</mapper> |