You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

38 lines
1.7 KiB

<?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.xjfast.mapper.ForwarderDetailMapper">
<resultMap id="BaseResultMap" type="com.xjfast.entity.ForwarderDetail">
<result column="id" jdbcType="INTEGER" property="id"/>
<result column="delivery_method" jdbcType="VARCHAR" property="deliveryMethod"/>
<result column="logistics_billing" jdbcType="FLOAT" property="logisticsBilling"/>
<result column="pickup_method" jdbcType="VARCHAR" property="pickupMethod"/>
<result column="tax" jdbcType="VARCHAR" property="tax"/>
<result column="forwarder_no" jdbcType="VARCHAR" property="forwarderNo"/>
<result column="created_by" jdbcType="VARCHAR" property="createdBy"/>
<result column="created_date" jdbcType="TIMESTAMP" property="createdDate"/>
<result column="updated_by" jdbcType="VARCHAR" property="updatedBy"/>
<result column="updated_date" jdbcType="TIMESTAMP" property="updatedDate"/>
<result column="status" jdbcType="VARCHAR" property="status"/>
</resultMap>
<select id="searchForwarderDetailList" resultType="com.xjfast.entity.ForwarderDetailVo" parameterType="com.xjfast.entity.query.ForwarderQuery">
SELECT id,
delivery_method,
logistics_billing,
pickup_method,
tax,
weight_lv,
forwarder_no,
created_by,
created_date,
updated_by,
updated_date,
status
FROM forwarder_detail
<where>
<if test="forwarderno != null and forwarderno != ''">
forwarder_no = #{forwarderno}
</if>
</where>
</select>
</mapper>