han\hanst 1 day ago
parent
commit
30aa8c769d
  1. 8
      src/main/resources/mapper/sampletracking/SampleProofTrackingMapper.xml

8
src/main/resources/mapper/sampletracking/SampleProofTrackingMapper.xml

@ -207,7 +207,7 @@
<insert id="insertProjectInfoFromOneKey">
<selectKey keyProperty="projectId" resultType="int" order="BEFORE">
SELECT ISNULL(MAX(id), 10000) + 1
SELECT ISNULL(MAX(id), 100000) + 1
FROM plm_project_info_tracking WITH (TABLOCKX, HOLDLOCK)
</selectKey>
INSERT INTO plm_project_info_tracking
@ -228,7 +228,7 @@
<insert id="insertProjectPartFromOneKey">
<selectKey keyProperty="projectPartId" resultType="int" order="BEFORE">
SELECT ISNULL(MAX(id), 10000) + 1
SELECT ISNULL(MAX(id), 100000) + 1
FROM plm_project_part_tracking WITH (TABLOCKX, HOLDLOCK)
</selectKey>
INSERT INTO plm_project_part_tracking
@ -247,7 +247,7 @@
<insert id="insertProofTracking">
<selectKey keyProperty="trackingId" resultType="int" order="BEFORE">
SELECT ISNULL(MAX(id), 0) + 1
SELECT ISNULL(MAX(id), 100000) + 1
FROM plm_proofing_information_tracking WITH (TABLOCKX, HOLDLOCK)
</selectKey>
INSERT INTO plm_proofing_information_tracking
@ -622,7 +622,7 @@
<insert id="insertTrackingFromPart">
<selectKey keyProperty="trackingId" resultType="int" order="BEFORE">
SELECT ISNULL(MAX(id), 0) + 1
SELECT ISNULL(MAX(id), 100000) + 1
FROM plm_proofing_information_tracking WITH (TABLOCKX, HOLDLOCK)
</selectKey>
INSERT INTO plm_proofing_information_tracking

Loading…
Cancel
Save