Browse Source

[fix] 生产管理 销售管理 基础资料

修改生产订单领料查询集合数据方法:新增根据审核状态升序
修改出差单领料查询集合数据方法:新增根据审核状态升序
修改售后通知单查询集合数据方法:新增根据审核状态升序
dev
liuxiaoxu 4 months ago
parent
commit
3dde4361d0
  1. 2
      ruoyi-admin/src/main/resources/mapper/sales/SalesAftersalesNoticeMapper.xml
  2. 1
      ruoyi-admin/src/main/resources/mapper/system/BaseEvectionFormMapper.xml
  3. 1
      ruoyi-admin/src/main/resources/mapper/system/SysMakeorderPickMapper.xml

2
ruoyi-admin/src/main/resources/mapper/sales/SalesAftersalesNoticeMapper.xml

@ -56,7 +56,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="enterpriseName != null and enterpriseName != ''"> and enterprise_name like concat('%', #{enterpriseName}, '%')</if>
<if test="params.beginUpdateTime != null and params.beginUpdateTime != '' and params.endUpdateTime != null and params.endUpdateTime != ''"> and update_time between #{params.beginUpdateTime} and #{params.endUpdateTime}</if>
</where>
order by create_time desc
order by audit_status asc, create_time desc
</select>
<select id="selectSalesAftersalesNoticeById" parameterType="Long" resultMap="SalesAftersalesNoticeResult">

1
ruoyi-admin/src/main/resources/mapper/system/BaseEvectionFormMapper.xml

@ -77,6 +77,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="applyTime != null "> and apply_time = #{applyTime}</if>
<if test="params.beginCreateTime != null and params.beginCreateTime != '' and params.endCreateTime != null and params.endCreateTime != ''"> and create_time between #{params.beginCreateTime} and #{params.endCreateTime}</if>
</where>
order by audit_status asc, create_time desc
</select>
<select id="selectBaseEvectionFormById" parameterType="Long" resultMap="BaseEvectionFormResult">

1
ruoyi-admin/src/main/resources/mapper/system/SysMakeorderPickMapper.xml

@ -68,6 +68,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
AND date_format(a.create_time,'%y%m%d') &lt;= date_format(#{params.endTime},'%y%m%d')
</if>
</where>
order by a.audit_status asc, a.create_time desc
</select>
<select id="selectSysMakeorderPickById" parameterType="Long" resultMap="SysMakeorderPickResult">

Loading…
Cancel
Save