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.
39 lines
1.3 KiB
XML
39 lines
1.3 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.admin.dao.info.SyncDataSetDao">
|
|
|
|
|
|
<select id="selectSet"
|
|
resultType="com.glxp.api.admin.entity.info.SyncDataSetEntity">
|
|
SELECT *
|
|
FROM sync_data_set limit 1
|
|
</select>
|
|
|
|
|
|
<insert id="insert" parameterType="com.glxp.api.admin.entity.info.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,syncIp)
|
|
values (
|
|
#{id},
|
|
#{typeBus},
|
|
#{typeScan},
|
|
#{typeThird},
|
|
#{basicProducts},
|
|
#{basicCorp},
|
|
#{basicInv},
|
|
#{basicThirdProducts},
|
|
#{basicThirdCorp},
|
|
#{basicThirdInv},
|
|
#{basicThirdBusOrder},
|
|
#{orderScanFinish},
|
|
#{dbDiProducts},#{downstreamEnable},#{syncTime},#{syncDownloadTime},
|
|
#{orderUnReceive},#{orderUnCheck},#{busTypes},#{syncIp}
|
|
)
|
|
</insert>
|
|
|
|
|
|
</mapper> |