|
|
@ -22,11 +22,14 @@ public interface BsTradeOrderMapperExt { |
|
|
|
" <if test='param.agentId != null'> and agent_id = #{param.agentId}</if>" + |
|
|
|
" <if test='param.agentId != null'> and agent_id = #{param.agentId}</if>" + |
|
|
|
" <if test='param.salesmanId != null'> and salesman_id = #{param.salesmanId} </if>" + |
|
|
|
" <if test='param.salesmanId != null'> and salesman_id = #{param.salesmanId} </if>" + |
|
|
|
" <if test='param.merId != null'> and mer_id = #{param.merId} </if>" + |
|
|
|
" <if test='param.merId != null'> and mer_id = #{param.merId} </if>" + |
|
|
|
|
|
|
|
" <if test='param.merNo != null'> and mer_no like CONCAT('%', #{param.merNo} , '%') </if>" + |
|
|
|
|
|
|
|
" <if test='param.merName != null'> and mer_name like CONCAT('%', #{param.merName} , '%') </if>" + |
|
|
|
|
|
|
|
" <if test='param.merAbbreviate != null'> and mer_abbreviate like CONCAT('%', #{param.merAbbreviate} , '%') </if>" + |
|
|
|
" <if test='param.storeId != null'> and store_id = #{param.storeId} </if>" + |
|
|
|
" <if test='param.storeId != null'> and store_id = #{param.storeId} </if>" + |
|
|
|
" <if test='param.storeName != null'> and store_name CONCAT('%', #{param.storeName} , '%') </if>" + |
|
|
|
" <if test='param.storeName != null'> and store_name like CONCAT('%', #{param.storeName} , '%') </if>" + |
|
|
|
" <if test='param.payMode != null'> and pay_mode = #{param.payMode}</if>" + |
|
|
|
" <if test='param.payMode != null'> and pay_mode = #{param.payMode} </if>" + |
|
|
|
" <if test='param.outTradeNo != null'> and out_trade_no like CONCAT('%', #{param.outTradeNo} , '%')</if>" + |
|
|
|
" <if test='param.outTradeNo != null'> and out_trade_no like CONCAT('%', #{param.outTradeNo} , '%') </if>" + |
|
|
|
" <if test='param.accTradeNo != null'> and acc_trade_no = #{param.accTradeNo}</if>" + |
|
|
|
" <if test='param.accTradeNo != null'> and acc_trade_no like CONCAT('%', #{param.accTradeNo} , '%') </if>" + |
|
|
|
" <if test='param.createTimeS != null'> <![CDATA[ and create_time >= #{param.createTimeS} ]]> </if>" + |
|
|
|
" <if test='param.createTimeS != null'> <![CDATA[ and create_time >= #{param.createTimeS} ]]> </if>" + |
|
|
|
" <if test='param.createTimeE != null'> <![CDATA[ and create_time <= #{param.createTimeE} ]]> </if>" + |
|
|
|
" <if test='param.createTimeE != null'> <![CDATA[ and create_time <= #{param.createTimeE} ]]> </if>" + |
|
|
|
" <if test='param.payTimeS != null'> <![CDATA[ and pay_time >= #{param.payTimeS} ]]> </if>" + |
|
|
|
" <if test='param.payTimeS != null'> <![CDATA[ and pay_time >= #{param.payTimeS} ]]> </if>" + |
|
|
|