Browse Source

2025-07-29

master
fengyuan_yang 6 months ago
parent
commit
877e67f507
  1. 2
      src/main/resources/mapper/proofing/ProofingInformationMapper.xml

2
src/main/resources/mapper/proofing/ProofingInformationMapper.xml

@ -138,7 +138,7 @@
</select> </select>
<!-- 获得打样单号 --> <!-- 获得打样单号 -->
<select id="getProofingNo" resultType="string" parameterType="ProofingInformationEntity">
<select id="getProofingNo" resultType="string" parameterType="com.spring.modules.proofing.entity.ProofingInformationEntity">
SELECT SELECT
Right('0000000000' + convert(VARCHAR(10), isnull(max(convert(INT, SUBSTRING(proofing_no, 3, 10))), 0) + 1), 8) Right('0000000000' + convert(VARCHAR(10), isnull(max(convert(INT, SUBSTRING(proofing_no, 3, 10))), 0) + 1), 8)
FROM plm_proofing_information FROM plm_proofing_information

Loading…
Cancel
Save