二次版本提交
This commit is contained in:
@@ -0,0 +1,15 @@
|
|||||||
|
package com.njcn.gather.event.transientes.mapper;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||||
|
import com.njcn.gather.event.transientes.pojo.po.PqsOnlinerate;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* Description:
|
||||||
|
* Date: 2025/07/29 下午 6:40【需求编号】
|
||||||
|
*
|
||||||
|
* @author clam
|
||||||
|
* @version V1.0.0
|
||||||
|
*/
|
||||||
|
public interface PqsOnlinerateMapper extends BaseMapper<PqsOnlinerate> {
|
||||||
|
}
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
<?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.njcn.gather.event.transientes.mapper.PqsOnlinerateMapper">
|
||||||
|
<resultMap id="BaseResultMap" type="com.njcn.gather.event.transientes.pojo.po.PqsOnlinerate">
|
||||||
|
<!--@mbg.generated-->
|
||||||
|
<!--@Table PQS_ONLINERATE-->
|
||||||
|
<id column="TIMEID" jdbcType="TIMESTAMP" property="timeid" />
|
||||||
|
<id column="DEV_INDEX" jdbcType="DECIMAL" property="devIndex" />
|
||||||
|
<result column="ONLINEMIN" jdbcType="DECIMAL" property="onlinemin" />
|
||||||
|
<result column="OFFLINEMIN" jdbcType="DECIMAL" property="offlinemin" />
|
||||||
|
</resultMap>
|
||||||
|
<sql id="Base_Column_List">
|
||||||
|
<!--@mbg.generated-->
|
||||||
|
TIMEID, DEV_INDEX, ONLINEMIN, OFFLINEMIN
|
||||||
|
</sql>
|
||||||
|
</mapper>
|
||||||
@@ -0,0 +1,34 @@
|
|||||||
|
package com.njcn.gather.event.transientes.pojo.po;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.IdType;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableField;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableId;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
|
import java.time.LocalDateTime;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.NoArgsConstructor;
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* Description:
|
||||||
|
* Date: 2025/07/29 下午 6:40【需求编号】
|
||||||
|
*
|
||||||
|
* @author clam
|
||||||
|
* @version V1.0.0
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@NoArgsConstructor
|
||||||
|
@TableName(value = "PQS_ONLINERATE")
|
||||||
|
public class PqsOnlinerate {
|
||||||
|
@TableField(value = "TIMEID" )
|
||||||
|
private LocalDateTime timeid;
|
||||||
|
|
||||||
|
@TableField(value = "DEV_INDEX")
|
||||||
|
private Integer devIndex;
|
||||||
|
|
||||||
|
@TableField(value = "ONLINEMIN")
|
||||||
|
private Integer onlinemin;
|
||||||
|
|
||||||
|
@TableField(value = "OFFLINEMIN")
|
||||||
|
private Integer offlinemin;
|
||||||
|
}
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
package com.njcn.gather.event.transientes.service;
|
||||||
|
|
||||||
|
import com.njcn.gather.event.transientes.pojo.po.PqsOnlinerate;
|
||||||
|
import com.baomidou.mybatisplus.extension.service.IService;
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* Description:
|
||||||
|
* Date: 2025/07/29 下午 6:40【需求编号】
|
||||||
|
*
|
||||||
|
* @author clam
|
||||||
|
* @version V1.0.0
|
||||||
|
*/
|
||||||
|
public interface PqsOnlinerateService extends IService<PqsOnlinerate>{
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,21 @@
|
|||||||
|
package com.njcn.gather.event.transientes.service.impl;
|
||||||
|
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import java.util.List;
|
||||||
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||||
|
import com.njcn.gather.event.transientes.mapper.PqsOnlinerateMapper;
|
||||||
|
import com.njcn.gather.event.transientes.pojo.po.PqsOnlinerate;
|
||||||
|
import com.njcn.gather.event.transientes.service.PqsOnlinerateService;
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* Description:
|
||||||
|
* Date: 2025/07/29 下午 6:40【需求编号】
|
||||||
|
*
|
||||||
|
* @author clam
|
||||||
|
* @version V1.0.0
|
||||||
|
*/
|
||||||
|
@Service
|
||||||
|
public class PqsOnlinerateServiceImpl extends ServiceImpl<PqsOnlinerateMapper, PqsOnlinerate> implements PqsOnlinerateService{
|
||||||
|
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user