Showing
1 changed file
with
2 additions
and
2 deletions
@@ -187,8 +187,8 @@ | @@ -187,8 +187,8 @@ | ||
187 | 187 | ||
188 | <select id="selectByOrderCode" resultMap="BaseResultMap"> | 188 | <select id="selectByOrderCode" resultMap="BaseResultMap"> |
189 | select <include refid="Base_Column_List"></include> | 189 | select <include refid="Base_Column_List"></include> |
190 | - from storage_deposit AND deposit_type = 0 | ||
191 | - where order_code=#{orderCode} and del_status=0 limit 1 | 190 | + from storage_deposit |
191 | + where order_code=#{orderCode} and del_status=0 AND deposit_type = 0 limit 1 | ||
192 | </select> | 192 | </select> |
193 | 193 | ||
194 | <select id="selectByNewSkup" resultMap="BaseResultMap"> | 194 | <select id="selectByNewSkup" resultMap="BaseResultMap"> |
-
Please register or login to post a comment