Browse Source

排产申请申请编号修复

master
dimengzhe 3 years ago
parent
commit
9c5ea6b942
  1. 4
      anrui-base/anrui-base-biz/src/main/java/com/yxt/anrui/base/biz/busvehicleapply/BusVehicleApplyMapper.xml
  2. 4
      anrui-fin/anrui-fin-biz/src/main/java/com/yxt/anrui/fin/biz/fincostapply/FinCostapplyMapper.xml
  3. 4
      anrui-fin/anrui-fin-biz/src/main/java/com/yxt/anrui/fin/biz/finpaymentapply/FinPaymentapplyMapper.xml
  4. 4
      anrui-scm/anrui-scm-biz/src/main/java/com/yxt/anrui/scm/biz/scmvehiclereturn/ScmVehicleReturnMapper.xml

4
anrui-base/anrui-base-biz/src/main/java/com/yxt/anrui/base/biz/busvehicleapply/BusVehicleApplyMapper.xml

@ -45,9 +45,9 @@
</select>
<select id="selectNum" resultType="int">
select count(*)
select RIGHT(applicationCode,4)
from bus_vehicle_apply
where applicationCode LIKE concat(#{bill}, '%')
where applicationCode LIKE concat(#{bill}, '%') order by id desc limit 1
</select>
<select id="selectByCode" resultType="com.yxt.anrui.base.api.busvehicleapply.BusVehicleApply">

4
anrui-fin/anrui-fin-biz/src/main/java/com/yxt/anrui/fin/biz/fincostapply/FinCostapplyMapper.xml

@ -74,8 +74,8 @@
</select>
<select id="selectNum" resultType="int">
select count(*)
select RIGHT(billNo,4)
from fin_costapply
where billNo LIKE concat(#{bill}, '%')
where billNo LIKE concat(#{bill}, '%') order by id desc limit 1
</select>
</mapper>

4
anrui-fin/anrui-fin-biz/src/main/java/com/yxt/anrui/fin/biz/finpaymentapply/FinPaymentapplyMapper.xml

@ -47,9 +47,9 @@
</update>
<select id="selectNum" resultType="int">
select count(*)
select RIGHT(billNo,4)
from fin_paymentapply
where billNo LIKE concat(#{bill}, '%')
where billNo LIKE concat(#{bill}, '%') order by id desc limit 1
</select>
<select id="fetchDetailsVoBySid" resultType="com.yxt.anrui.fin.api.finpaymentapply.FinPaymentapplyDetailsVo">

4
anrui-scm/anrui-scm-biz/src/main/java/com/yxt/anrui/scm/biz/scmvehiclereturn/ScmVehicleReturnMapper.xml

@ -37,9 +37,9 @@
</update>
<select id="selectNum" resultType="int">
select count(*)
select RIGHT(applicationCode,4)
from scm_vehicle_return
where applicationCode LIKE concat(#{bill}, '%')
where applicationCode LIKE concat(#{bill}, '%') order by id desc limit 1
</select>
<select id="selectBySid" resultType="int">

Loading…
Cancel
Save