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.
49 lines
1.9 KiB
XML
49 lines
1.9 KiB
XML
<?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.sync.SyncDataSetDao">
|
|
<select id="selectSet"
|
|
resultType="com.glxp.api.entity.sync.SyncDataSetEntity">
|
|
SELECT *
|
|
FROM sync_data_set
|
|
limit 1
|
|
</select>
|
|
|
|
|
|
<insert id="insert" parameterType="com.glxp.api.entity.sync.SyncDataSetEntity">
|
|
replace
|
|
INTO sync_data_set(id, typeBus, typeScan,
|
|
typeThird, basicProducts, basicCorp, basicInv, basicThirdProducts, basicThirdCorp,
|
|
basicThirdInv
|
|
, basicThirdBusOrder, orderScanFinish, dbDiProducts, downstreamEnable, syncTime,
|
|
orderUnReceive, orderUnCheck, busTypes, sysUser, 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},
|
|
#{orderUnReceive},
|
|
#{orderUnCheck},
|
|
#{busTypes},
|
|
#{sysUser},
|
|
#{orderSyncTime},
|
|
#{orderSyncStart},
|
|
#{basicSyncStart},
|
|
#{entrustAction},
|
|
#{unCheckCert},
|
|
#{checkedCert}, #{companyCert}, #{manufacturerCert}, #{productCert})
|
|
</insert>
|
|
</mapper>
|