|
|
@ -86,7 +86,7 @@
|
|
|
|
AND nameCode = #{uniqueNameCode}
|
|
|
|
AND nameCode = #{uniqueNameCode}
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
</where>
|
|
|
|
</where>
|
|
|
|
ORDER BY updateTime DESC
|
|
|
|
ORDER BY modifyTime DESC
|
|
|
|
|
|
|
|
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
|
@ -293,7 +293,7 @@
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
|
|
|
|
|
|
|
|
</where>
|
|
|
|
</where>
|
|
|
|
ORDER BY updateTime DESC
|
|
|
|
ORDER BY modifyTime DESC
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -389,6 +389,7 @@
|
|
|
|
<![CDATA[ and DATE_FORMAT(updateTime, '%Y-%m-%d %H:%i:%S')>= DATE_FORMAT(#{lastUpdateTime}, '%Y-%m-%d %H:%i:%S') ]]>
|
|
|
|
<![CDATA[ and DATE_FORMAT(updateTime, '%Y-%m-%d %H:%i:%S')>= DATE_FORMAT(#{lastUpdateTime}, '%Y-%m-%d %H:%i:%S') ]]>
|
|
|
|
</if>
|
|
|
|
</if>
|
|
|
|
</where>
|
|
|
|
</where>
|
|
|
|
|
|
|
|
order by modifyTime desc
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -396,7 +397,7 @@
|
|
|
|
replace
|
|
|
|
replace
|
|
|
|
INTO basic_udirel
|
|
|
|
INTO basic_udirel
|
|
|
|
(id,
|
|
|
|
(id,
|
|
|
|
thirdId,thirdName,uuid,isUseDy,updateTime,
|
|
|
|
thirdId,thirdName,uuid,isUseDy,updateTime,modifyTime,
|
|
|
|
thirdId1,thirdId2,thirdId3,thirdId4,thirdName1,thirdName2,thirdName3,thirdName4,manufactory,measname,ybbm,sptm,isDisable,isLock
|
|
|
|
thirdId1,thirdId2,thirdId3,thirdId4,thirdName1,thirdName2,thirdName3,thirdName4,manufactory,measname,ybbm,sptm,isDisable,isLock
|
|
|
|
,mainId,mainName,lockStatus,udplatCode,isAdavence,supName,price
|
|
|
|
,mainId,mainName,lockStatus,udplatCode,isAdavence,supName,price
|
|
|
|
)
|
|
|
|
)
|
|
|
@ -408,6 +409,7 @@
|
|
|
|
#{uuid},
|
|
|
|
#{uuid},
|
|
|
|
#{isUseDy},
|
|
|
|
#{isUseDy},
|
|
|
|
#{updateTime},
|
|
|
|
#{updateTime},
|
|
|
|
|
|
|
|
#{modifyTime},
|
|
|
|
#{thirdId1},
|
|
|
|
#{thirdId1},
|
|
|
|
#{thirdId2},
|
|
|
|
#{thirdId2},
|
|
|
|
#{thirdId3},
|
|
|
|
#{thirdId3},
|
|
|
@ -437,7 +439,7 @@
|
|
|
|
ignore
|
|
|
|
ignore
|
|
|
|
INTO basic_udirel
|
|
|
|
INTO basic_udirel
|
|
|
|
(id,
|
|
|
|
(id,
|
|
|
|
thirdId,thirdName,uuid,isUseDy,updateTime,
|
|
|
|
thirdId,thirdName,uuid,isUseDy,updateTime,modifyTime,
|
|
|
|
thirdId1,thirdId2,thirdId3,thirdId4,thirdName1,thirdName2,thirdName3,thirdName4,manufactory,measname,ybbm,sptm,isDisable,isLock
|
|
|
|
thirdId1,thirdId2,thirdId3,thirdId4,thirdName1,thirdName2,thirdName3,thirdName4,manufactory,measname,ybbm,sptm,isDisable,isLock
|
|
|
|
,mainId,mainName,lockStatus,udplatCode,isAdavence,supName,price
|
|
|
|
,mainId,mainName,lockStatus,udplatCode,isAdavence,supName,price
|
|
|
|
)
|
|
|
|
)
|
|
|
@ -449,6 +451,7 @@
|
|
|
|
#{uuid},
|
|
|
|
#{uuid},
|
|
|
|
#{isUseDy},
|
|
|
|
#{isUseDy},
|
|
|
|
#{updateTime},
|
|
|
|
#{updateTime},
|
|
|
|
|
|
|
|
#{modifyTime},
|
|
|
|
#{thirdId1},
|
|
|
|
#{thirdId1},
|
|
|
|
#{thirdId2},
|
|
|
|
#{thirdId2},
|
|
|
|
#{thirdId3},
|
|
|
|
#{thirdId3},
|
|
|
@ -510,6 +513,7 @@
|
|
|
|
<if test="ybbm != null">ybbm=#{ybbm},</if>
|
|
|
|
<if test="ybbm != null">ybbm=#{ybbm},</if>
|
|
|
|
<if test="sptm != null">sptm=#{sptm},</if>
|
|
|
|
<if test="sptm != null">sptm=#{sptm},</if>
|
|
|
|
<if test="updateTime != null">updateTime=#{updateTime},</if>
|
|
|
|
<if test="updateTime != null">updateTime=#{updateTime},</if>
|
|
|
|
|
|
|
|
<if test="modifyTime != null">modifyTime=#{modifyTime},</if>
|
|
|
|
<if test="isDisable != null">isDisable=#{isDisable},</if>
|
|
|
|
<if test="isDisable != null">isDisable=#{isDisable},</if>
|
|
|
|
<if test="isLock != null">isLock=#{isLock},</if>
|
|
|
|
<if test="isLock != null">isLock=#{isLock},</if>
|
|
|
|
<if test="mainId != null">mainId=#{mainId},</if>
|
|
|
|
<if test="mainId != null">mainId=#{mainId},</if>
|
|
|
@ -540,7 +544,7 @@
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
|
|
<insert id="importUdiRelevance" parameterType="java.util.List">
|
|
|
|
<insert id="importUdiRelevance" parameterType="java.util.List">
|
|
|
|
replace into basic_udirel (id, thirdId, thirdName, uuid, isUseDy, updateTime, thirdId1, thirdId2, thirdId3,
|
|
|
|
replace into basic_udirel (id, thirdId, thirdName, uuid, isUseDy, updateTime, modifyTime, thirdId1, thirdId2, thirdId3,
|
|
|
|
thirdId4, thirdName1, thirdName2, thirdName3, thirdName4, ybbm, sptm, manufactory,
|
|
|
|
thirdId4, thirdName1, thirdName2, thirdName3, thirdName4, ybbm, sptm, manufactory,
|
|
|
|
measname, isDisable, mainId, mainName, udplatCode,supName,price)
|
|
|
|
measname, isDisable, mainId, mainName, udplatCode,supName,price)
|
|
|
|
values
|
|
|
|
values
|
|
|
@ -551,6 +555,7 @@
|
|
|
|
#{item.uuid},
|
|
|
|
#{item.uuid},
|
|
|
|
#{item.isUseDy},
|
|
|
|
#{item.isUseDy},
|
|
|
|
#{item.updateTime},
|
|
|
|
#{item.updateTime},
|
|
|
|
|
|
|
|
#{item.modifyTime},
|
|
|
|
#{item.thirdId1},
|
|
|
|
#{item.thirdId1},
|
|
|
|
#{item.thirdId2},
|
|
|
|
#{item.thirdId2},
|
|
|
|
#{item.thirdId3},
|
|
|
|
#{item.thirdId3},
|
|
|
|