@ -390,7 +390,7 @@
</select>
<select id="getMaxSpaceCode" resultType="java.lang.String">
select max(CONVERT(code, signed))
select max(CONVERT(code, signed)) from auth_space
<where>
<if test="invCode != null and invCode != ''">
and invWarehouseCode = #{invCode}
@ -133,7 +133,14 @@
</if>
</where>
order by createTime desc
<choose>
<when test="(orderBy!=null ) and (sort=='desc' or sort=='asc')">
order by ${orderBy} ${sort}
</when>
<otherwise>
order by updateTime desc
</otherwise>
</choose>
<select id="getfilterList" resultType="com.glxp.api.res.inout.IoOrderResponse">