提交 0f2f1470 authored 作者: 李炎's avatar 李炎

增加租户标识和拦截域名字段

上级 97f282cd
......@@ -13,7 +13,8 @@
resultMap="BaseResultMap">
SELECT
id, lq_lic_name, mac_address, effective_time, file_effective_time, verification_interval, module_verification,
id,tenant_id,domain_name, lq_lic_name, mac_address, effective_time, file_effective_time, verification_interval,
module_verification,
docker_services,
remark, create_time
FROM tb_lic_info
......@@ -29,9 +30,9 @@
<insert id="licInfoCreate" parameterType="com.system.transfer.lic.LicInfoCreateInVo">
INSERT INTO tb_lic_info (
INSERT INTO tb_lic_info (tenant_id,domain_name,
lq_lic_name, mac_address, effective_time, file_effective_time, verification_interval, docker_services, remark
) VALUES (
) VALUES (#{tenantId}, #{domainName},
#{lqLicName}, #{macAddress}, #{effectiveTime}, #{fileEffectiveTime}, #{verificationInterval},
#{dockerServices,jdbcType=LONGVARCHAR,typeHandler=com.system.handler.DockerServiceDtoTypeHandler},
#{remark}
......@@ -42,7 +43,7 @@
<update id="licInfoUpdate" parameterType="com.system.transfer.lic.LicInfoUpdateInVo">
UPDATE tb_lic_info SET
UPDATE tb_lic_info SET tenant_id = #{tenantId},domain_name = #{domainName},
lq_lic_name = #{lqLicName}, mac_address = #{macAddress}, effective_time = #{effectiveTime}, file_effective_time = #{fileEffectiveTime},
verification_interval = #{verificationInterval},
docker_services = #{dockerServices,jdbcType=LONGVARCHAR,typeHandler=com.system.handler.DockerServiceDtoTypeHandler},
......@@ -63,7 +64,7 @@
resultType="com.system.transfer.lic.LicInfoListOutVoRecords">
SELECT
id, lq_lic_name, mac_address, effective_time, file_effective_time, verification_interval, module_verification, docker_services, create_time
id,tenant_id,domain_name, 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}
</select>
......@@ -72,7 +73,7 @@
resultType="com.system.transfer.lic.LicInfoListOutVoRecords">
SELECT
id, lq_lic_name, mac_address, effective_time, file_effective_time, verification_interval, module_verification, docker_services, create_time
id,tenant_id,domain_name, 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}
</select>
......
......@@ -20,8 +20,14 @@ public class LicInfoCreateInVo {
* MAC地址
*/
private String macAddress;
/**
* 租户ID
*/
private String tenantId;
/**
* 租户域名
*/
private String domainName;
/**
* 导入有效时间
*/
......
......@@ -15,7 +15,14 @@ public class LicInfoListOutVoRecords {
* ID
*/
private Integer id;
/**
* 租户ID
*/
private String tenantId;
/**
* 租户域名
*/
private String domainName;
/**
* lic名称
*/
......
......@@ -20,7 +20,14 @@ public class LicInfoUpdateInVo {
* lic名称
*/
private String lqLicName;
/**
* 租户ID
*/
private String tenantId;
/**
* 租户域名
*/
private String domainName;
/**
* MAC地址
*/
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论