|
|
@@ -309,10 +309,6 @@
|
|
|
where wh_id = #{id}
|
|
|
</update>
|
|
|
|
|
|
- <select id="selectAll" resultMap="WarehouseResultMapper">
|
|
|
- SELECT * FROM WAREHOUSE WHERE companyId = #{companyId}
|
|
|
- </select>
|
|
|
-
|
|
|
<select id="validateCodeWhenInsert" resultType="int">
|
|
|
select count(*) from WAREHOUSE where WH_CODE = #{code} and companyId =#{companyId}
|
|
|
</select>
|
|
|
@@ -330,7 +326,7 @@
|
|
|
and companyid = #{companyId}
|
|
|
</if>
|
|
|
</where>
|
|
|
- order by cu_id
|
|
|
+ order by wh_id
|
|
|
</select>
|
|
|
|
|
|
|