Commit 7f52a8a4 by 胡懿

货品返回品名代码的单位和单价

parent d9ded7f0
...@@ -22,6 +22,8 @@ ...@@ -22,6 +22,8 @@
type.code AS "type.code", type.code AS "type.code",
type.name AS "type.name", type.name AS "type.name",
type.amount AS "type.amount",
type.unit AS "type.unit",
qr.id AS "qrCode.id", qr.id AS "qrCode.id",
qr.code "qrCode.code", qr.code "qrCode.code",
qr.state "qrCode.state", qr.state "qrCode.state",
......
...@@ -52,6 +52,7 @@ ...@@ -52,6 +52,7 @@
<if test="operator != null and operator.id != null and operator.id != ''"> <if test="operator != null and operator.id != null and operator.id != ''">
AND a.operator = #{operator.id} AND a.operator = #{operator.id}
</if> </if>
AND a.sum > 0
</where> </where>
<choose> <choose>
<when test="page !=null and page.orderBy != null and page.orderBy != ''"> <when test="page !=null and page.orderBy != null and page.orderBy != ''">
......
...@@ -173,7 +173,6 @@ ...@@ -173,7 +173,6 @@
a.del_flag = #{DEL_FLAG_NORMAL} a.del_flag = #{DEL_FLAG_NORMAL}
AND a.type_id = #{type.id} AND a.type_id = #{type.id}
AND a.model = #{model} AND a.model = #{model}
AND a.name = #{name}
</where> </where>
</select> </select>
<select id="findShelvesListByLedgerId" resultType="java.lang.String" parameterType="java.lang.String"> <select id="findShelvesListByLedgerId" resultType="java.lang.String" parameterType="java.lang.String">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment