修改商品和供应商模块的排序
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
and m.CategoryId in (${categoryIds})
|
||||
</if>
|
||||
and ifnull(m.delete_Flag,'0') !='1'
|
||||
order by m.id asc
|
||||
order by m.id desc
|
||||
<if test="offset != null and rows != null">
|
||||
limit #{offset},#{rows}
|
||||
</if>
|
||||
@@ -70,7 +70,7 @@
|
||||
left join jsh_unit u on m.UnitId=u.id and ifnull(u.delete_Flag,'0') !='1'
|
||||
where m.enabled=1
|
||||
and ifnull(m.delete_Flag,'0') !='1'
|
||||
ORDER BY Id asc
|
||||
ORDER BY Id desc
|
||||
</select>
|
||||
|
||||
<update id="updatePriceNullByPrimaryKey" parameterType="java.lang.Long">
|
||||
@@ -106,7 +106,7 @@
|
||||
and m.CategoryId in (${categoryIds})
|
||||
</if>
|
||||
and ifnull(m.delete_Flag,'0') !='1'
|
||||
order by m.id asc
|
||||
order by m.id desc
|
||||
</select>
|
||||
<select id="findByMaterialName" resultType="com.jsh.erp.datasource.entities.Material">
|
||||
select m.*
|
||||
|
||||
Reference in New Issue
Block a user