parent
829c2b9a64
commit
1829fd77f7
@ -0,0 +1,18 @@
|
|||||||
|
package com.ssf.mysqloracletest.mapper;
|
||||||
|
|
||||||
|
import com.ssf.mysqloracletest.domain.TransitUserRecord;
|
||||||
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author 28758
|
||||||
|
* @description 针对表【transit_user_record(人脸记录表)】的数据库操作Mapper
|
||||||
|
* @createDate 2023-12-14 16:46:10
|
||||||
|
* @Entity com.ssf.mysqloracletest.domain.TransitUserRecord
|
||||||
|
*/
|
||||||
|
public interface TransitUserRecordMapper extends BaseMapper<TransitUserRecord> {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -0,0 +1,18 @@
|
|||||||
|
package com.ssf.mysqloracletest.mapper;
|
||||||
|
|
||||||
|
import com.ssf.mysqloracletest.domain.TransitVehicleRecord;
|
||||||
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author 28758
|
||||||
|
* @description 针对表【transit_vehicle_record(车辆记录表)】的数据库操作Mapper
|
||||||
|
* @createDate 2023-12-14 16:47:49
|
||||||
|
* @Entity com.ssf.mysqloracletest.domain.TransitVehicleRecord
|
||||||
|
*/
|
||||||
|
public interface TransitVehicleRecordMapper extends BaseMapper<TransitVehicleRecord> {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -0,0 +1,13 @@
|
|||||||
|
package com.ssf.mysqloracletest.service;
|
||||||
|
|
||||||
|
import com.ssf.mysqloracletest.domain.TransitUserRecord;
|
||||||
|
import com.baomidou.mybatisplus.extension.service.IService;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author 28758
|
||||||
|
* @description 针对表【transit_user_record(人脸记录表)】的数据库操作Service
|
||||||
|
* @createDate 2023-12-14 16:46:10
|
||||||
|
*/
|
||||||
|
public interface TransitUserRecordService extends IService<TransitUserRecord> {
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,13 @@
|
|||||||
|
package com.ssf.mysqloracletest.service;
|
||||||
|
|
||||||
|
import com.ssf.mysqloracletest.domain.TransitVehicleRecord;
|
||||||
|
import com.baomidou.mybatisplus.extension.service.IService;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author 28758
|
||||||
|
* @description 针对表【transit_vehicle_record(车辆记录表)】的数据库操作Service
|
||||||
|
* @createDate 2023-12-14 16:47:49
|
||||||
|
*/
|
||||||
|
public interface TransitVehicleRecordService extends IService<TransitVehicleRecord> {
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,26 @@
|
|||||||
|
package com.ssf.mysqloracletest.service.impl;
|
||||||
|
|
||||||
|
import com.baomidou.dynamic.datasource.annotation.DS;
|
||||||
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||||
|
import com.ssf.mysqloracletest.domain.TransitUserRecord;
|
||||||
|
import com.ssf.mysqloracletest.service.TransitUserRecordService;
|
||||||
|
import com.ssf.mysqloracletest.mapper.TransitUserRecordMapper;
|
||||||
|
import lombok.RequiredArgsConstructor;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author 28758
|
||||||
|
* @description 针对表【transit_user_record(人脸记录表)】的数据库操作Service实现
|
||||||
|
* @createDate 2023-12-14 16:46:10
|
||||||
|
*/
|
||||||
|
@Service
|
||||||
|
@RequiredArgsConstructor
|
||||||
|
@DS("mysql")
|
||||||
|
public class TransitUserRecordServiceImpl extends ServiceImpl<TransitUserRecordMapper, TransitUserRecord>
|
||||||
|
implements TransitUserRecordService{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -0,0 +1,26 @@
|
|||||||
|
package com.ssf.mysqloracletest.service.impl;
|
||||||
|
|
||||||
|
import com.baomidou.dynamic.datasource.annotation.DS;
|
||||||
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||||
|
import com.ssf.mysqloracletest.domain.TransitVehicleRecord;
|
||||||
|
import com.ssf.mysqloracletest.service.TransitVehicleRecordService;
|
||||||
|
import com.ssf.mysqloracletest.mapper.TransitVehicleRecordMapper;
|
||||||
|
import lombok.RequiredArgsConstructor;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author 28758
|
||||||
|
* @description 针对表【transit_vehicle_record(车辆记录表)】的数据库操作Service实现
|
||||||
|
* @createDate 2023-12-14 16:47:49
|
||||||
|
*/
|
||||||
|
@Service
|
||||||
|
@RequiredArgsConstructor
|
||||||
|
@DS("mysql")
|
||||||
|
public class TransitVehicleRecordServiceImpl extends ServiceImpl<TransitVehicleRecordMapper, TransitVehicleRecord>
|
||||||
|
implements TransitVehicleRecordService{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -0,0 +1,48 @@
|
|||||||
|
<?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.ssf.mysqloracletest.mapper.TransitUserRecordMapper">
|
||||||
|
|
||||||
|
<resultMap id="BaseResultMap" type="com.ssf.mysqloracletest.domain.TransitUserRecord">
|
||||||
|
<id property="id" column="id" jdbcType="BIGINT"/>
|
||||||
|
<id property="partitionField" column="partition_field" jdbcType="TIMESTAMP"/>
|
||||||
|
<result property="placeCode" column="place_code" jdbcType="VARCHAR"/>
|
||||||
|
<result property="placeName" column="place_name" jdbcType="VARCHAR"/>
|
||||||
|
<result property="deviceCode" column="device_code" jdbcType="VARCHAR"/>
|
||||||
|
<result property="deviceName" column="device_name" jdbcType="VARCHAR"/>
|
||||||
|
<result property="gbsChannelNo" column="gbs_channel_no" jdbcType="VARCHAR"/>
|
||||||
|
<result property="deviceAddress" column="device_address" jdbcType="VARCHAR"/>
|
||||||
|
<result property="orientation" column="orientation" jdbcType="TINYINT"/>
|
||||||
|
<result property="deviceIp" column="device_ip" jdbcType="VARCHAR"/>
|
||||||
|
<result property="globalPic" column="global_pic" jdbcType="VARCHAR"/>
|
||||||
|
<result property="personPic" column="person_pic" jdbcType="VARCHAR"/>
|
||||||
|
<result property="bodyGlobalPic" column="body_global_pic" jdbcType="VARCHAR"/>
|
||||||
|
<result property="bodyPic" column="body_pic" jdbcType="VARCHAR"/>
|
||||||
|
<result property="userStandardPic" column="user_standard_pic" jdbcType="VARCHAR"/>
|
||||||
|
<result property="userName" column="user_name" jdbcType="VARCHAR"/>
|
||||||
|
<result property="dossierCode" column="dossier_code" jdbcType="VARCHAR"/>
|
||||||
|
<result property="idCard" column="id_card" jdbcType="VARCHAR"/>
|
||||||
|
<result property="phone" column="phone" jdbcType="VARCHAR"/>
|
||||||
|
<result property="recordId" column="record_id" jdbcType="VARCHAR"/>
|
||||||
|
<result property="userVehicleRecordId" column="user_vehicle_record_id" jdbcType="VARCHAR"/>
|
||||||
|
<result property="userBodyRecordId" column="user_body_record_id" jdbcType="VARCHAR"/>
|
||||||
|
<result property="stUserRecordId" column="st_user_record_id" jdbcType="VARCHAR"/>
|
||||||
|
<result property="sourceId" column="source_id" jdbcType="VARCHAR"/>
|
||||||
|
<result property="personImageId" column="person_image_id" jdbcType="VARCHAR"/>
|
||||||
|
<result property="globalImageId" column="global_image_id" jdbcType="VARCHAR"/>
|
||||||
|
<result property="similarity" column="similarity" jdbcType="VARCHAR"/>
|
||||||
|
<result property="isCompare" column="is_compare" jdbcType="TINYINT"/>
|
||||||
|
<result property="direction" column="direction" jdbcType="TINYINT"/>
|
||||||
|
<result property="passTime" column="pass_time" jdbcType="BIGINT"/>
|
||||||
|
<result property="axis" column="axis" jdbcType="VARCHAR"/>
|
||||||
|
<result property="dataSrc" column="data_src" jdbcType="TINYINT"/>
|
||||||
|
<result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
|
||||||
|
<result property="createBy" column="create_by" jdbcType="INTEGER"/>
|
||||||
|
<result property="updateTime" column="update_time" jdbcType="TIMESTAMP"/>
|
||||||
|
<result property="updateBy" column="update_by" jdbcType="INTEGER"/>
|
||||||
|
<result property="isActive" column="is_active" jdbcType="TINYINT"/>
|
||||||
|
</resultMap>
|
||||||
|
|
||||||
|
|
||||||
|
</mapper>
|
@ -0,0 +1,53 @@
|
|||||||
|
<?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.ssf.mysqloracletest.mapper.TransitVehicleRecordMapper">
|
||||||
|
|
||||||
|
<resultMap id="BaseResultMap" type="com.ssf.mysqloracletest.domain.TransitVehicleRecord">
|
||||||
|
<id property="id" column="id" jdbcType="BIGINT"/>
|
||||||
|
<id property="partitionField" column="partition_field" jdbcType="TIMESTAMP"/>
|
||||||
|
<result property="placeCode" column="place_code" jdbcType="VARCHAR"/>
|
||||||
|
<result property="placeName" column="place_name" jdbcType="VARCHAR"/>
|
||||||
|
<result property="deviceCode" column="device_code" jdbcType="VARCHAR"/>
|
||||||
|
<result property="deviceName" column="device_name" jdbcType="VARCHAR"/>
|
||||||
|
<result property="gbsChannelNo" column="gbs_channel_no" jdbcType="VARCHAR"/>
|
||||||
|
<result property="deviceAddress" column="device_address" jdbcType="VARCHAR"/>
|
||||||
|
<result property="orientation" column="orientation" jdbcType="TINYINT"/>
|
||||||
|
<result property="deviceIp" column="device_ip" jdbcType="VARCHAR"/>
|
||||||
|
<result property="plateNo" column="plate_no" jdbcType="VARCHAR"/>
|
||||||
|
<result property="globalPic" column="global_pic" jdbcType="VARCHAR"/>
|
||||||
|
<result property="platePic" column="plate_pic" jdbcType="VARCHAR"/>
|
||||||
|
<result property="recordId" column="record_id" jdbcType="VARCHAR"/>
|
||||||
|
<result property="sourceId" column="source_id" jdbcType="VARCHAR"/>
|
||||||
|
<result property="plateImageId" column="plate_image_id" jdbcType="VARCHAR"/>
|
||||||
|
<result property="globalImageId" column="global_image_id" jdbcType="VARCHAR"/>
|
||||||
|
<result property="userVehicleRecordId" column="user_vehicle_record_id" jdbcType="VARCHAR"/>
|
||||||
|
<result property="ownerPersonPic" column="owner_person_pic" jdbcType="VARCHAR"/>
|
||||||
|
<result property="ownerGlobalPic" column="owner_global_pic" jdbcType="VARCHAR"/>
|
||||||
|
<result property="ownerName" column="owner_name" jdbcType="VARCHAR"/>
|
||||||
|
<result property="idCard" column="id_card" jdbcType="VARCHAR"/>
|
||||||
|
<result property="phone" column="phone" jdbcType="VARCHAR"/>
|
||||||
|
<result property="copilotPersonPic" column="copilot_person_pic" jdbcType="VARCHAR"/>
|
||||||
|
<result property="copilotGlobalPic" column="copilot_global_pic" jdbcType="VARCHAR"/>
|
||||||
|
<result property="copilotOwnerName" column="copilot_owner_name" jdbcType="VARCHAR"/>
|
||||||
|
<result property="copilotIdcard" column="copilot_idcard" jdbcType="VARCHAR"/>
|
||||||
|
<result property="copilotPhone" column="copilot_phone" jdbcType="VARCHAR"/>
|
||||||
|
<result property="direction" column="direction" jdbcType="TINYINT"/>
|
||||||
|
<result property="doorwayCode" column="doorway_code" jdbcType="VARCHAR"/>
|
||||||
|
<result property="roadCode" column="road_code" jdbcType="VARCHAR"/>
|
||||||
|
<result property="passTime" column="pass_time" jdbcType="BIGINT"/>
|
||||||
|
<result property="plateColor" column="plate_color" jdbcType="VARCHAR"/>
|
||||||
|
<result property="vehicleColor" column="vehicle_color" jdbcType="VARCHAR"/>
|
||||||
|
<result property="vehicleType" column="vehicle_type" jdbcType="VARCHAR"/>
|
||||||
|
<result property="vehicleBrand" column="vehicle_brand" jdbcType="VARCHAR"/>
|
||||||
|
<result property="dataSrc" column="data_src" jdbcType="TINYINT"/>
|
||||||
|
<result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
|
||||||
|
<result property="createBy" column="create_by" jdbcType="INTEGER"/>
|
||||||
|
<result property="updateTime" column="update_time" jdbcType="TIMESTAMP"/>
|
||||||
|
<result property="updateBy" column="update_by" jdbcType="INTEGER"/>
|
||||||
|
<result property="isActive" column="is_active" jdbcType="TINYINT"/>
|
||||||
|
</resultMap>
|
||||||
|
|
||||||
|
|
||||||
|
</mapper>
|
Loading…
Reference in new issue