replace INTO udi_facidentcode
(
UDI_FacIdentCodeOID,IndentCode,Text1,NoDigit,UDI_Customer_FK,UDI_StandAgency_FK
)
values
(
#{UDI_FacIdentCodeOID},
#{IndentCode},
#{Text1},
#{NoDigit},
#{UDI_Customer_FK},
#{UDI_StandAgency_FK}
)
replace INTO udi_facidentcode
(
UDI_FacIdentCodeOID,IndentCode,Text1,NoDigit,UDI_Customer_FK,UDI_StandAgency_FK
)
VALUES
(
#{item.UDI_FacIdentCodeOID},
#{item.IndentCode},
#{item.Text1},
#{item.NoDigit},
#{item.UDI_Customer_FK},
#{item.UDI_StandAgency_FK}
)
delete from udi_facidentcode where UDI_FacIdentCodeOID = #{id}
UPDATE udi_facidentcode
IndentCode=#{IndentCode},
Text1=#{Text1},
NoDigit=#{NoDigit},
UDI_Customer_FK=#{UDI_Customer_FK},
UDI_StandAgency_FK=#{UDI_StandAgency_FK},
isGenerate=#{isGenerate},
WHERE UDI_FacIdentCodeOID=#{UDI_FacIdentCodeOID}