You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
53 lines
1.7 KiB
XML
53 lines
1.7 KiB
XML
3 years ago
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
|
||
|
|
||
|
<mapper namespace="com.glxp.api.dao.system.SyncDataSetDao">
|
||
|
|
||
|
|
||
|
<select id="selectSet"
|
||
|
resultType="com.glxp.api.entity.system.SyncDataSetEntity">
|
||
|
SELECT *
|
||
|
FROM sync_data_set limit 1
|
||
|
</select>
|
||
|
|
||
|
|
||
|
<insert id="insert" parameterType="com.glxp.api.entity.system.SyncDataSetEntity">
|
||
|
replace
|
||
|
INTO sync_data_set(id,typeBus, typeScan,
|
||
|
typeThird, basicProducts, basicCorp, basicInv, basicThirdProducts, basicThirdCorp, basicThirdInv
|
||
|
, basicThirdBusOrder, orderScanFinish, dbDiProducts,downstreamEnable,syncTime,syncDownloadTime,
|
||
|
orderUnReceive,orderUnCheck,busTypes,sysUser,syncIp,orderSyncTime,orderSyncStart,basicSyncStart,entrustAction
|
||
|
,unCheckCert,checkedCert,companyCert,manufacturerCert,productCert)
|
||
|
values (
|
||
|
#{id},
|
||
|
#{typeBus},
|
||
|
#{typeScan},
|
||
|
#{typeThird},
|
||
|
#{basicProducts},
|
||
|
#{basicCorp},
|
||
|
#{basicInv},
|
||
|
#{basicThirdProducts},
|
||
|
#{basicThirdCorp},
|
||
|
#{basicThirdInv},
|
||
|
#{basicThirdBusOrder},
|
||
|
#{orderScanFinish},
|
||
|
#{dbDiProducts},
|
||
|
#{downstreamEnable},
|
||
|
#{syncTime},
|
||
|
#{syncDownloadTime},
|
||
|
#{orderUnReceive},
|
||
|
#{orderUnCheck},
|
||
|
#{busTypes},
|
||
|
#{sysUser},
|
||
|
#{syncIp},
|
||
|
#{orderSyncTime},
|
||
|
#{orderSyncStart},
|
||
|
#{basicSyncStart},
|
||
|
#{entrustAction},
|
||
|
#{unCheckCert},
|
||
|
#{checkedCert}, #{companyCert}, #{manufacturerCert}, #{productCert}
|
||
|
)
|
||
|
</insert>
|
||
|
|
||
|
|
||
|
</mapper>
|