You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
1.0 KiB
27 lines
1.0 KiB
<?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.epmet.dao.BusinessInfoDao">
|
|
|
|
<!-- 功能开通信息插入 -->
|
|
<insert id="insertBusinessInfo">
|
|
INSERT INTO business_info ( ID, CUSTOMER_ID, CLIENT_TYPE, PRIMARY_ID, FUNC_TYPE, OPEN_STATUS, DEL_FLAG, REVISION, CREATED_BY, CREATED_TIME, UPDATED_BY, UPDATED_TIME )
|
|
VALUES
|
|
<foreach collection="businessInfoList" item="business" separator=",">
|
|
(
|
|
REPLACE ( UUID(), '-', '' ),
|
|
#{business.customerId},
|
|
#{business.clientType},
|
|
#{business.primaryId},
|
|
#{business.funcType},
|
|
#{business.openStatus},
|
|
#{business.delFlag},
|
|
#{business.revision},
|
|
#{business.createdBy},
|
|
NOW(),
|
|
#{business.updatedBy},
|
|
NOW()
|
|
)
|
|
</foreach>
|
|
</insert>
|
|
</mapper>
|