提交 64044ce7 authored 作者: 李勤's avatar 李勤

完成代码

上级 53dc45d2
...@@ -30,10 +30,9 @@ ...@@ -30,10 +30,9 @@
<insert id="licInfoCreate" parameterType="com.system.transfer.lic.LicInfoCreateInVo"> <insert id="licInfoCreate" parameterType="com.system.transfer.lic.LicInfoCreateInVo">
INSERT INTO tb_lic_info ( INSERT INTO tb_lic_info (
lq_lic_name, mac_address, effective_time, file_effective_time, verification_interval, module_verification,docker_services, remark lq_lic_name, mac_address, effective_time, file_effective_time, verification_interval, docker_services, remark
) VALUES ( ) VALUES (
#{lqLicName}, #{macAddress}, #{effectiveTime}, #{fileEffectiveTime}, #{verificationInterval}, #{lqLicName}, #{macAddress}, #{effectiveTime}, #{fileEffectiveTime}, #{verificationInterval},
#{moduleVerification,jdbcType=VARCHAR,typeHandler=com.system.handler.JacksonTypeHandler},
#{dockerServices,jdbcType=LONGVARCHAR,typeHandler=com.system.handler.DockerServiceDtoTypeHandler}, #{dockerServices,jdbcType=LONGVARCHAR,typeHandler=com.system.handler.DockerServiceDtoTypeHandler},
#{remark} #{remark}
) )
...@@ -46,7 +45,6 @@ ...@@ -46,7 +45,6 @@
UPDATE tb_lic_info SET UPDATE tb_lic_info SET
lq_lic_name = #{lqLicName}, mac_address = #{macAddress}, effective_time = #{effectiveTime}, file_effective_time = #{fileEffectiveTime}, lq_lic_name = #{lqLicName}, mac_address = #{macAddress}, effective_time = #{effectiveTime}, file_effective_time = #{fileEffectiveTime},
verification_interval = #{verificationInterval}, verification_interval = #{verificationInterval},
module_verification = #{moduleVerification,jdbcType=VARCHAR,typeHandler=com.system.handler.JacksonTypeHandler},
docker_services = #{dockerServices,jdbcType=LONGVARCHAR,typeHandler=com.system.handler.DockerServiceDtoTypeHandler}, docker_services = #{dockerServices,jdbcType=LONGVARCHAR,typeHandler=com.system.handler.DockerServiceDtoTypeHandler},
remark = #{remark} remark = #{remark}
WHERE id = #{id} WHERE id = #{id}
...@@ -65,7 +63,7 @@ ...@@ -65,7 +63,7 @@
resultType="com.system.transfer.lic.LicInfoListOutVoRecords"> resultType="com.system.transfer.lic.LicInfoListOutVoRecords">
SELECT SELECT
id, lq_lic_name, mac_address, effective_time, file_effective_time, verification_interval, module_verification, create_time id, lq_lic_name, mac_address, effective_time, file_effective_time, verification_interval, module_verification, docker_services, create_time
FROM tb_lic_info WHERE mac_address = #{macAddress} FROM tb_lic_info WHERE mac_address = #{macAddress}
</select> </select>
...@@ -74,7 +72,7 @@ ...@@ -74,7 +72,7 @@
resultType="com.system.transfer.lic.LicInfoListOutVoRecords"> resultType="com.system.transfer.lic.LicInfoListOutVoRecords">
SELECT SELECT
id, lq_lic_name, mac_address, effective_time, file_effective_time, verification_interval, module_verification, create_time id, lq_lic_name, mac_address, effective_time, file_effective_time, verification_interval, module_verification, docker_services, create_time
FROM tb_lic_info WHERE id = #{id} FROM tb_lic_info WHERE id = #{id}
</select> </select>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论