...
|
...
|
@@ -70,7 +70,7 @@ |
|
|
where skup = #{skup,jdbcType=INTEGER} and status = 2
|
|
|
</update>
|
|
|
<select id="selectLeastPrice" resultMap="BaseResultMap">
|
|
|
select MIN(price) price, skup from storage_price where storage_id = #{storageId,jdbcType=INTEGER} and status = 1
|
|
|
select price, skup from storage_price where storage_id = #{storageId,jdbcType=INTEGER} and status = 1 order by price limit 1
|
|
|
</select>
|
|
|
<select id="selectByStorageIds" resultMap="BaseResultMap">
|
|
|
select id, skup, storage_id, price, status
|
...
|
...
|
|