From 531d93708df8017e59830f15b41f3cc42d6126e6 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期二, 09 七月 2019 17:53:01 +0800 Subject: [PATCH] 1.5.7版本需求 --- fanli/src/main/java/com/yeshi/fanli/mapping/order/CommonOrderMapper.xml | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/mapping/order/CommonOrderMapper.xml b/fanli/src/main/java/com/yeshi/fanli/mapping/order/CommonOrderMapper.xml index 8452f45..d7a5227 100644 --- a/fanli/src/main/java/com/yeshi/fanli/mapping/order/CommonOrderMapper.xml +++ b/fanli/src/main/java/com/yeshi/fanli/mapping/order/CommonOrderMapper.xml @@ -138,8 +138,12 @@ yeshi_ec_common_order co WHERE co.co_source_type=#{sourceType} and co_trade_id=#{tradeId} limit 1 </select> - - + + <select id="listBySourceTypeAndTradeId" resultMap="BaseResultMap">SELECT * + FROM + yeshi_ec_common_order co WHERE co.co_source_type=#{sourceType} and + co_trade_id=#{tradeId} + </select> <delete id="deleteByPrimaryKey" parameterType="java.lang.Long">delete from yeshi_ec_common_order where co_id = #{id,jdbcType=BIGINT} -- Gitblit v1.8.0