2025年04月28日 1.0.3 新增接口
查询收费门架费率http://ip:port/FeeUnitQuery/baseinfo/gantryfee 查询连通关系http://ip:port/FeeUnitQuery/baseinfo/gantryinfo 根据参数下载最小费额文件http://ip:port/FeeUnitQuery/baseinfo/minPath 出口交易查询http://ip:port/FeeUnitQuery/baseinfo/QueryExStationTransmain
parent
36724417da
commit
355c01ec78
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module version="4">
|
||||
<component name="SonarLintModuleSettings">
|
||||
<option name="uniqueId" value="f4ba4619-9a22-4a0f-bbde-8741c3c0b23f" />
|
||||
</component>
|
||||
</module>
|
||||
@ -0,0 +1,47 @@
|
||||
package com.nmggs.query.common.utils;
|
||||
|
||||
import com.nmggs.query.common.emnu.MessageEnum;
|
||||
import com.nmggs.query.common.exception.PPException;
|
||||
import org.apache.commons.lang3.ObjectUtils;
|
||||
|
||||
import java.util.Objects;
|
||||
|
||||
/**
|
||||
* @author: shuguang
|
||||
* @date: 2025年04月21日 9:51
|
||||
* @description: 校验工具类
|
||||
*/
|
||||
public class CheckUtils {
|
||||
|
||||
|
||||
public static void checkAddParams(String authKey, String reqAuthKey, String reqMd5, String verifyMd5) {
|
||||
if (ObjectUtils.isEmpty(reqAuthKey)) {
|
||||
throw new PPException(MessageEnum.鉴权码不存在.getCode(), MessageEnum.鉴权码不存在.getMessage());
|
||||
}
|
||||
|
||||
if (!Objects.equals(verifyMd5, reqMd5)) {
|
||||
throw new PPException(MessageEnum.md5校验失败.getCode(), MessageEnum.md5校验失败.getMessage());
|
||||
}
|
||||
if (!authKey.equals(reqAuthKey)) {
|
||||
throw new PPException(MessageEnum.POST参数校验失败.getCode(), MessageEnum.POST参数校验失败.getMessage());
|
||||
}
|
||||
|
||||
}
|
||||
public static void checkParams(String authKey, String reqAuthKey, String reqMd5, String fileName) {
|
||||
if (ObjectUtils.isEmpty(reqAuthKey)) {
|
||||
throw new PPException(MessageEnum.鉴权码不存在.getCode(), MessageEnum.鉴权码不存在.getMessage());
|
||||
}
|
||||
if (ObjectUtils.isEmpty(fileName) || !fileName.contains("_REQ_15_") || !fileName.endsWith(".json")) {
|
||||
throw new PPException(MessageEnum.请求文件名参数校验失败.getCode(), MessageEnum.请求文件名参数校验失败.getMessage());
|
||||
}
|
||||
|
||||
String md5 = MD5Util.md5(authKey + fileName);
|
||||
if (!Objects.equals(md5, reqMd5)) {
|
||||
throw new PPException(MessageEnum.md5校验失败.getCode(), MessageEnum.md5校验失败.getMessage());
|
||||
}
|
||||
if (!authKey.equals(reqAuthKey)) {
|
||||
throw new PPException(MessageEnum.POST参数校验失败.getCode(), MessageEnum.POST参数校验失败.getMessage());
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,144 @@
|
||||
package com.nmggs.query.common.utils;
|
||||
|
||||
import org.springframework.util.DigestUtils;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.FileInputStream;
|
||||
import java.math.BigInteger;
|
||||
import java.nio.MappedByteBuffer;
|
||||
import java.nio.channels.FileChannel;
|
||||
import java.nio.charset.StandardCharsets;
|
||||
import java.security.MessageDigest;
|
||||
import java.security.NoSuchAlgorithmException;
|
||||
|
||||
/**
|
||||
* @author: shuguang
|
||||
* @date: 2022年10月16日 16:46
|
||||
* @description: MD5加密工具
|
||||
*/
|
||||
public class MD5Util {
|
||||
/**
|
||||
* 对字符串进行MD5加密
|
||||
*
|
||||
* @param password 字符串
|
||||
* @return java.lang.String
|
||||
* @author shuguang
|
||||
* @date 2022-10-16 13:30
|
||||
*/
|
||||
public static String md5(String password) {
|
||||
if (password == null) {
|
||||
return null;
|
||||
}
|
||||
try {
|
||||
// 使用UTF-8编码将字符串转换为字节数组
|
||||
byte[] bytes = password.getBytes(StandardCharsets.UTF_8);
|
||||
MessageDigest md = MessageDigest.getInstance("MD5");
|
||||
md.update(bytes);
|
||||
byte[] digest = md.digest();
|
||||
BigInteger no = new BigInteger(1, digest);
|
||||
String hashtext = no.toString(16);
|
||||
while (hashtext.length() < 32) {
|
||||
hashtext = "0" + hashtext;
|
||||
}
|
||||
return hashtext;
|
||||
} catch (NoSuchAlgorithmException e) {
|
||||
// 记录错误日志
|
||||
System.err.println("MD5 algorithm not found: " + e.getMessage());
|
||||
}
|
||||
return null;
|
||||
}
|
||||
//public static String md5(String password) {
|
||||
// //生成一个md5加密器
|
||||
// try {
|
||||
// MessageDigest md = MessageDigest.getInstance("MD5");
|
||||
// //计算MD5 的值
|
||||
// md.update(password.getBytes());
|
||||
// //BigInteger 将8位的字符串 转成16位的字符串 得到的字符串形式是哈希码值
|
||||
// //BigInteger(参数1,参数2) 参数1 是 1为正数 0为零 -1为负数
|
||||
// return new BigInteger(1, md.digest()).toString(16);
|
||||
// } catch (NoSuchAlgorithmException e) {
|
||||
// //log.error(e.getMessage(), e);
|
||||
// LogUtil.WriteLog_Error("报错:"+e.getMessage(), "MD5Util");
|
||||
// }
|
||||
// return null;
|
||||
//}
|
||||
/**
|
||||
* 获取文件的MD5值 首位从不是0开始 不建议使用 与原来的MD5不一样
|
||||
*
|
||||
*
|
||||
* @param file 文件
|
||||
* @return java.lang.String
|
||||
* @author shuguang
|
||||
* @date 2022-10-16 13:30
|
||||
*/
|
||||
//public static String getMd5ByFile(File file) {
|
||||
// String value = null;
|
||||
// FileInputStream in = null;
|
||||
// try {
|
||||
// in = new FileInputStream(file);
|
||||
// MappedByteBuffer byteBuffer = in.getChannel().map(FileChannel.MapMode.READ_ONLY, 0, file.length());
|
||||
// MessageDigest md5 = MessageDigest.getInstance("MD5");
|
||||
// md5.update(byteBuffer);
|
||||
// BigInteger bi = new BigInteger(1, md5.digest());
|
||||
// value = bi.toString(16);
|
||||
// } catch (Exception e) {
|
||||
// LogUtil.WriteLog_Error("报错:"+e.getMessage(), "MD5Util");
|
||||
// } finally {
|
||||
// try {
|
||||
// if(in != null){
|
||||
// in.close();
|
||||
// }
|
||||
// } catch (IOException e) {
|
||||
// LogUtil.WriteLog_Error("报错:"+e.getMessage(), "MD5Util");
|
||||
// }
|
||||
// }
|
||||
// return value;
|
||||
//}
|
||||
|
||||
public static String getMd5ByFile(File file) {
|
||||
String value = null;
|
||||
try (FileInputStream in = new FileInputStream(file);
|
||||
FileChannel channel = in.getChannel()) {
|
||||
MappedByteBuffer byteBuffer = channel.map(FileChannel.MapMode.READ_ONLY, 0, channel.size());
|
||||
MessageDigest md5 = MessageDigest.getInstance("MD5");
|
||||
md5.update(byteBuffer);
|
||||
BigInteger bi = new BigInteger(1, md5.digest());
|
||||
value = bi.toString(16);
|
||||
} catch (Exception e) {
|
||||
LogUtil.WriteLog_Error("报错:" + e.getMessage(), "MD5Util");
|
||||
}
|
||||
return value;
|
||||
}
|
||||
/**
|
||||
* 获取文件的MD5值
|
||||
*
|
||||
* @param filePath 文件路径
|
||||
* @return java.lang.String
|
||||
* @author shuguang
|
||||
* @date 2022-10-16 13:30
|
||||
*/
|
||||
//public static String getMd5ByFilePath(String filePath) {
|
||||
//
|
||||
// String value = null;
|
||||
// try {
|
||||
// value = DigestUtils.md5DigestAsHex(new FileInputStream(filePath));
|
||||
// } catch (Exception e) {
|
||||
// LogUtil.WriteLog_Error("报错:"+e.getMessage(), "MD5Util");
|
||||
// }
|
||||
// return value;
|
||||
//}
|
||||
public static String getMd5ByFilePath(String filePath) {
|
||||
String value = null;
|
||||
try (FileInputStream fis = new FileInputStream(filePath)) {
|
||||
value = DigestUtils.md5DigestAsHex(fis);
|
||||
} catch (Exception e) {
|
||||
LogUtil.WriteLog_Error("报错:" + e.getMessage(), "MD5Util");
|
||||
}
|
||||
return value;
|
||||
}
|
||||
public static void main(String[] args) {
|
||||
String input = "蒙BF626772025-04-202025-04-278c602c65fe6f57c4b721c5078bb8a916";
|
||||
String md5 = MD5Util.md5(input);
|
||||
System.out.println("MD5: " + md5);
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,29 @@
|
||||
package com.nmggs.query.controller;
|
||||
|
||||
import com.nmggs.query.common.utils.UuidUtil;
|
||||
import com.nmggs.query.service.GetDataService;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestBody;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* @author: shuguang
|
||||
* @date: 2025年04月18日 15:43
|
||||
* @description: 基础信息下载接口
|
||||
*/
|
||||
@RestController
|
||||
public class GetDataController {
|
||||
|
||||
@Resource
|
||||
private GetDataService getDataService;
|
||||
|
||||
|
||||
@PostMapping("/getData")
|
||||
public String getData(@RequestBody Map<String, Object> params) {
|
||||
String uuid = UuidUtil.getUuid();
|
||||
return getDataService.getData(params, uuid);
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,24 @@
|
||||
package com.nmggs.query.mapper;
|
||||
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* @author: shuguang
|
||||
* @date: 2025年04月27日 10:39
|
||||
* @description:
|
||||
*/
|
||||
@Mapper
|
||||
public interface AddInterfaceMapper {
|
||||
int getNodefeeMaxIdx();
|
||||
|
||||
List<Map<String, Object>> selectNodefeeList();
|
||||
|
||||
int getNoderelationMaxIdx();
|
||||
|
||||
List<Map<String, Object>> selectNoderelationList();
|
||||
|
||||
List<Map<String, Object>> selectExStationTransList( String vehiclePlate, String dateStart, String dateEnd);
|
||||
}
|
||||
@ -0,0 +1,65 @@
|
||||
<?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路径-->
|
||||
<mapper namespace="com.nmggs.query.mapper.AddInterfaceMapper">
|
||||
|
||||
|
||||
<select id="getNodefeeMaxIdx" resultType="java.lang.Integer">
|
||||
SELECT MAX(idx)
|
||||
FROM NODEFEE_TABLE
|
||||
</select>
|
||||
<select id="selectNodefeeList" resultType="java.util.Map">
|
||||
SELECT "IDX" AS "version",
|
||||
"TOLLINTERVALID" AS "id",
|
||||
"VEHTYPE" AS "vehType",
|
||||
TO_CHAR("VALIDTIME", 'YYYY-MM-DD') AS "validTime"
|
||||
FROM "NODEFEE_TABLE"
|
||||
WHERE "IDX" = (SELECT MAX("IDX") FROM "NODEFEE_TABLE")
|
||||
</select>
|
||||
<select id="getNoderelationMaxIdx" resultType="java.lang.Integer">
|
||||
SELECT MAX(idx)
|
||||
FROM NODERELATION_TABLE
|
||||
</select>
|
||||
<select id="selectNoderelationList" resultType="java.util.Map">
|
||||
SELECT "IDX" AS "version",
|
||||
"ENROADNODEID" AS "enRoadNodeId",
|
||||
"EXROADNODEID" AS "exRoadNodeId",
|
||||
"MILES" AS "miles"
|
||||
FROM "NODERELATION_TABLE"
|
||||
WHERE "IDX" = (SELECT MAX("IDX") FROM "NODERELATION_TABLE")
|
||||
</select>
|
||||
<select id="selectExStationTransList" resultType="java.util.Map">
|
||||
SELECT
|
||||
a."enStationId",
|
||||
a."enLaneId",
|
||||
a."enPassTime",
|
||||
n.GBSTATIONID AS "exStationId",
|
||||
s.GBID AS "exLaneId" ,
|
||||
a."exPassTime",
|
||||
a."fee",
|
||||
a."fee_pay"
|
||||
FROM
|
||||
(
|
||||
SELECT
|
||||
ENTOLLSTATIONHEX AS "enStationId",
|
||||
ENTOLLLANEID AS "enLaneId",
|
||||
IDT AS "enPassTime",
|
||||
stano,
|
||||
PORTNO,
|
||||
DT AS "exPassTime",
|
||||
( INCASH + PAYCASH ) AS "fee_pay",
|
||||
CASH AS "fee"
|
||||
FROM
|
||||
out_port
|
||||
WHERE
|
||||
ACARNO = #{vehiclePlate}
|
||||
AND DT >= TO_DATE( #{dateStart}, 'yyyy-MM-dd' )
|
||||
AND DT <= TO_DATE( #{dateEnd}, 'yyyy-MM-dd' )
|
||||
) a
|
||||
LEFT JOIN NAME_TABLE n ON n.STANO = a.STANO
|
||||
LEFT JOIN SETUP_TABLE s ON s.STANO = a.STANO
|
||||
AND s.PORTNO = a.PORTNO
|
||||
</select>
|
||||
</mapper>
|
||||
@ -0,0 +1,30 @@
|
||||
package com.nmggs.query.mapper;
|
||||
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* @author: shuguang
|
||||
* @date: 2025年04月18日 15:48
|
||||
* @description:
|
||||
*/
|
||||
@Mapper
|
||||
public interface InterfaceQueryMapper {
|
||||
List<Map<String, Object>> getBasicLinkOwnerDownloadReq15();
|
||||
|
||||
List<Map<String, Object>> getBasicTollRoadDownloadReq15();
|
||||
|
||||
List<Map<String, Object>> getBasicSectionDownloadReq15();
|
||||
|
||||
List<Map<String, Object>> getBasicVerticalSectionDownloadReq15();
|
||||
|
||||
List<Map<String, Object>> getBasicTollStationDownloadReq15();
|
||||
|
||||
List<Map<String, Object>> getBasicTollPlazaDownloadReq15();
|
||||
|
||||
List<Map<String, Object>> getBasicTollLaneDownloadReq15();
|
||||
|
||||
List<Map<String, Object>> getBasicTollPointDownloadReq15();
|
||||
}
|
||||
@ -0,0 +1,195 @@
|
||||
<?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路径-->
|
||||
<mapper namespace="com.nmggs.query.mapper.InterfaceQueryMapper">
|
||||
|
||||
<select id="getBasicLinkOwnerDownloadReq15" resultType="java.util.Map">
|
||||
SELECT "GBID" AS "id",
|
||||
"COMNAME" AS "name",
|
||||
"GBCONTACT" AS "contact",
|
||||
"GBTEL" AS "tel",
|
||||
"GBADDRESS" AS "address",
|
||||
"BANK" AS "bank",
|
||||
"BANKADDR" AS "bankAddr",
|
||||
"BANKACCOUNT" AS "bankAccount",
|
||||
"TAXPAYERCODE" AS "taxpayerCode",
|
||||
"CREDITCODE" AS "creditCode"
|
||||
FROM "COMPANY_TABLE"
|
||||
|
||||
|
||||
</select>
|
||||
<select id="getBasicTollRoadDownloadReq15" resultType="java.util.Map">
|
||||
SELECT "GBID" AS "id",
|
||||
"GBLINENAME" AS "name",
|
||||
"GBLEVEL" AS "TECHLEVEL",
|
||||
"GBSTARTSITE" AS "startSite",
|
||||
"GBSTARTSTAKENUM" AS "startStakeNum",
|
||||
"GBSTARTLAT" AS "startLat",
|
||||
"GBSTARTLNG" AS "startLng",
|
||||
"GBSTARTSTATIONID" AS "startStationId",
|
||||
"GBENDSITE" AS "endSite",
|
||||
"GBENDSTAKENUM" AS "endStakeNum",
|
||||
"GBENDLAT" AS "endLat",
|
||||
"GBENDLNG" AS "endLng",
|
||||
"GBENDSTATIONID" AS "endStationId"
|
||||
FROM "ROAD_LINE_TABLE"
|
||||
|
||||
</select>
|
||||
<select id="getBasicSectionDownloadReq15" resultType="java.util.Map">
|
||||
SELECT "GBLINEID" AS "id",
|
||||
"LINENAME" AS "name",
|
||||
"GBROADTYPE" AS "type",
|
||||
"GBMILES" * 1000 AS "length",
|
||||
"GBSTARTLAT" AS "startLat",
|
||||
"GBSTARTLNG" AS "startLng",
|
||||
"GBSTARTSTAKENUM" AS "startStakeNum",
|
||||
"GBENDSTAKENUM" AS "endStakeNum",
|
||||
"GBENDLAT" AS "endLat",
|
||||
"GBENDLNG" AS "endLng",
|
||||
"GBTAX" AS "tax",
|
||||
"GBTAXRATE" AS "taxRate",
|
||||
"GBSECTIONOWNERID" AS "sectionOwnerId",
|
||||
"GBCHARGETYPE" AS "chargeType",
|
||||
"GBTOLLROADS" AS "tollRoads",
|
||||
"GBBUILTTIME" AS "builtTime",
|
||||
"GBSTARTTIME" AS "startTime",
|
||||
"GBENDTIME" AS "endTime"
|
||||
FROM "LINE_TABLE"
|
||||
|
||||
</select>
|
||||
<select id="getBasicVerticalSectionDownloadReq15" resultType="java.util.Map">
|
||||
SELECT "ID" AS "id",
|
||||
"NAME" AS "name",
|
||||
"TYPE" AS "type",
|
||||
"LENGTH" AS "length",
|
||||
"STARTLAT" AS "startLat",
|
||||
"STARTLNG" AS "startLng",
|
||||
"STARTSTAKENUM" AS "startStakeNum",
|
||||
"ENDSTAKENUM" AS "endStakeNum",
|
||||
"ENDLAT" AS "endLat",
|
||||
"ENDLNG" AS "endLng",
|
||||
"TOLLROADS" AS "tollRoads",
|
||||
"PROVINCETYPE" AS "provinceType",
|
||||
"ENDTIME" AS "endTime"
|
||||
FROM "FEEUNIT_TABLE"
|
||||
|
||||
</select>
|
||||
<select id="getBasicTollStationDownloadReq15" resultType="java.util.Map">
|
||||
SELECT "GBSTATIONID" AS "id",
|
||||
"STANAME" AS "name",
|
||||
"GBTOLLPLAZACOUNT" AS "tollPlazaCount",
|
||||
"STATIONHEX" AS "stationHex",
|
||||
"LINETYPE" AS "lineType",
|
||||
"OPERATORS" AS "operators",
|
||||
"DATAMERGEPOINT" AS "dataMergePoint",
|
||||
"IMEI" AS "imei",
|
||||
"IP" AS "ip",
|
||||
"SNMPVERSION" AS "snmpVersion",
|
||||
"SNMPPORT" AS "snmpPort",
|
||||
"COMMUNITY" AS "community",
|
||||
"SECURITYNAME" AS "securityName",
|
||||
"SECURITYLEVEL" AS "securityLevel",
|
||||
"AUTHENTICATION" AS "authentication",
|
||||
"AUTHKEY" AS "authKey",
|
||||
"ENCRYPTION" AS "encryption",
|
||||
"SECRETKEY" AS "secretKey"
|
||||
FROM "NAME_TABLE"
|
||||
WHERE LENGTH("GBSTATIONID") > 2
|
||||
|
||||
</select>
|
||||
<select id="getBasicTollPlazaDownloadReq15" resultType="java.util.Map">
|
||||
SELECT "GBID" AS "id",
|
||||
"GBNAME" AS "name",
|
||||
"GBPLAZATYPE" AS "plazaType",
|
||||
"GBLAT" AS "Lat",
|
||||
"GBLNG" AS "Lng",
|
||||
"GBSTAKENUM" AS "stakeNum",
|
||||
"GBETCLANECOUNT" AS "ETCLaneCount",
|
||||
"GBMTCLANECOUNT" AS "MTCLaneCount",
|
||||
"GBMIXLANECOUNT" AS "mixLaneCount"
|
||||
FROM "TOLLPLAZA_TABLE"
|
||||
</select>
|
||||
<select id="getBasicTollLaneDownloadReq15" resultType="java.util.Map">
|
||||
SELECT "GBID" AS "id",
|
||||
"GBTYPE" AS "type",
|
||||
"GBTIDALTIME" AS "tidalTime",
|
||||
"GBSTARTTIME" AS "startTime",
|
||||
"GBENDTIME" AS "endTime",
|
||||
"GBSTATUS" AS "status",
|
||||
"LANEHEX" AS "laneHex",
|
||||
"RSUMANUID" AS "rsuManUID",
|
||||
"RSUMODEL" AS "rsuModel",
|
||||
"RSUID" AS "rsuID"
|
||||
FROM "SETUP_TABLE"
|
||||
</select>
|
||||
<select id="getBasicTollPointDownloadReq15" resultType="java.util.Map">
|
||||
SELECT "ID" AS "id",
|
||||
"NAME" AS "name",
|
||||
"TYPE" AS "type",
|
||||
"BOUNDARYTYPE" AS "boundaryType",
|
||||
"TOLLINTERVALS" AS "tollIntervals",
|
||||
"LAT" AS "lat",
|
||||
"LNG" AS "lng",
|
||||
"PILENUM" AS "pileNumber",
|
||||
"STATUS" AS "status",
|
||||
"STARTTIME" AS "startTime",
|
||||
"ENDTIME" AS "endTime",
|
||||
"GANTRYHEX" AS "etcGantryHex",
|
||||
"RSUMANUID" AS "rsuManUID",
|
||||
"RSUMODEL" AS "rsuModel",
|
||||
"RSUID" AS "rsuID",
|
||||
"VPLRUID" AS "vplrUID",
|
||||
"VPLRMODEL" AS "vplrModel",
|
||||
"VPLRID" AS "vplrID",
|
||||
"HDVUID" AS "hdvUID",
|
||||
"HDVMODEL" AS "hdvModel",
|
||||
"HDVID" AS "hdvID",
|
||||
"CONTROLLERUID" AS "controllerUID",
|
||||
"CONTROLLERMODEL" AS "controllerModel",
|
||||
"CONTROLLERID" AS "controllerID",
|
||||
"CONTROLLERSYSVER" AS "controllerSysVer",
|
||||
"SERVERUID" AS "serverUID",
|
||||
"SERVERMODEL" AS "serverModel",
|
||||
"SERVERID" AS "serverID",
|
||||
"SERVERSYSVER" AS "serverSysVer",
|
||||
"SERVERDBVER" AS "serverDBVer",
|
||||
"VEHDETECTORUID" AS "vehDetectorUID",
|
||||
"VEHDETECTORMODEL" AS "vehDetectorModel",
|
||||
"VEHDETECTORID" AS "vehDetectorID",
|
||||
"WEATHERDETECTORUID" AS "weatherDetectorUID",
|
||||
"WEATHERDETECTORMODEL" AS "weatherDetectorModel",
|
||||
"WEATHERDETECTORID" AS "weatherDetectorID",
|
||||
"CLASSDETECTORUID" AS "classDetectorUID",
|
||||
"CLASSDETECTORMODEL" AS "classDetectorModel",
|
||||
"CLASSDETECTORID" AS "classDetectorID",
|
||||
"LOADDETECTIONUID" AS "loadDetectionUID",
|
||||
"LOADDETECTIONMODEL" AS "loadDetectionModel",
|
||||
"LOADDETECTIONID" AS "loadDetectionID",
|
||||
"TEMPCONTROLLERUID" AS "tempControllerUID",
|
||||
"TEMPCONTROLLERMODEL" AS "tempControllerModel",
|
||||
"TEMPCONTROLLERID" AS "tempControllerID",
|
||||
"POWERCONTROLLERUID" AS "powerControllerUID",
|
||||
"POWERCONTROLLERMODEL" AS "powerControllerModel",
|
||||
"POWERCONTROLLERID" AS "powerControllerID",
|
||||
"SAFEEQUIPUID" AS "safeEquipUID",
|
||||
"SAFEEQUIPMODEL" AS "safeEquipModel",
|
||||
"SAFEEQUIPID" AS "safeEquipID",
|
||||
"LINETYPE" AS "lineType",
|
||||
"OPERATORS" AS "operators",
|
||||
"DATAMERGEPOINT" AS "dataMergePoint",
|
||||
"IMEI" AS "imei",
|
||||
"IP" AS "ip",
|
||||
"SNMPVERSION" AS "snmpVersion",
|
||||
"SNMPPORT" AS "snmpPort",
|
||||
"COMMUNITY" AS "community",
|
||||
"SECURITYNAME" AS "securityName",
|
||||
"SECURITYLEVEL" AS "securityLevel",
|
||||
"AUTHENTICATION" AS "authentication",
|
||||
"AUTHKEY" AS "authKey",
|
||||
"ENCRYPTION" AS "encryption",
|
||||
"SECRETKEY" AS "secretKey"
|
||||
FROM "GANTRY_TABLE"
|
||||
</select>
|
||||
</mapper>
|
||||
@ -0,0 +1,52 @@
|
||||
package com.nmggs.query.service;
|
||||
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* @author: shuguang
|
||||
* @date: 2025年04月27日 9:51
|
||||
* @description:
|
||||
*/
|
||||
public interface AddInterfaceService {
|
||||
/**
|
||||
* 查询收费门架费率
|
||||
*
|
||||
* @param params 查询参数
|
||||
* @param uuid uuid
|
||||
* @return java.lang.String
|
||||
* @author shuguang
|
||||
* @date 2025-04-27 9:53
|
||||
*/
|
||||
String gantryfee(Map<String, Object> params, String uuid);
|
||||
/**
|
||||
* 查询连通关系
|
||||
*
|
||||
* @param params 查询参数
|
||||
* @param uuid uuid
|
||||
* @return java.lang.String
|
||||
* @author shuguang
|
||||
* @date 2025-04-27 9:53
|
||||
*/
|
||||
String gantryinfo(Map<String, Object> params, String uuid);
|
||||
/**
|
||||
* 根据参数下载最小费额文件
|
||||
*
|
||||
* @param params 参数
|
||||
* @param uuid uuid
|
||||
* @param response HttpServletResponse
|
||||
* @author shuguang
|
||||
* @date 2025-04-27 9:53
|
||||
*/
|
||||
void minPath(Map<String, Object> params, String uuid, HttpServletResponse response);
|
||||
/**
|
||||
* 出口交易查询
|
||||
*
|
||||
* @param params 查询参数
|
||||
* @param uuid uuid
|
||||
* @return java.lang.String
|
||||
* @author shuguang
|
||||
* @date 2025-04-27 9:53
|
||||
*/
|
||||
String QueryExStationTrans(Map<String, Object> params, String uuid);
|
||||
}
|
||||
@ -0,0 +1,20 @@
|
||||
package com.nmggs.query.service;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* @author: shuguang
|
||||
* @date: 2025年04月18日 15:44
|
||||
* @description:
|
||||
*/
|
||||
public interface GetDataService {
|
||||
/**
|
||||
*获取基础信息
|
||||
* @author shuguang
|
||||
* @date 2025-04-18 15:51
|
||||
* @param params 参数
|
||||
* @param uuid uuid
|
||||
* @return java.lang.String
|
||||
*/
|
||||
String getData(Map<String, Object> params, String uuid);
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,30 +1,40 @@
|
||||
com\nmggs\query\common\utils\ClobUtils.class
|
||||
com\nmggs\query\common\config\ErrorConfig.class
|
||||
com\nmggs\query\mapper\AddInterfaceMapper.class
|
||||
com\nmggs\query\service\impl\QueryTableServiceImpl.class
|
||||
com\nmggs\query\controller\GetDataController.class
|
||||
com\nmggs\query\common\exception\Result.class
|
||||
com\nmggs\query\controller\QueryTableController.class
|
||||
com\nmggs\query\service\AddInterfaceService.class
|
||||
com\nmggs\query\common\config\MyEnvironmentPostProcessor.class
|
||||
com\nmggs\query\common\emnu\MessageEnum.class
|
||||
com\nmggs\query\common\utils\DateTimeUtil.class
|
||||
com\nmggs\query\service\QueryTableService.class
|
||||
com\nmggs\query\common\utils\PagesUtils.class
|
||||
com\nmggs\query\common\exception\PPException.class
|
||||
com\nmggs\query\common\utils\LogUtil.class
|
||||
com\nmggs\query\common\config\CaptchaConfig.class
|
||||
com\nmggs\query\test\Test01.class
|
||||
com\nmggs\query\service\impl\AddInterfaceServiceImpl.class
|
||||
com\nmggs\query\common\emnu\Constant.class
|
||||
com\nmggs\query\entity\Res.class
|
||||
com\nmggs\query\test\ListTest.class
|
||||
com\nmggs\query\common\utils\TokenUtil.class
|
||||
com\nmggs\query\common\config\MybatisConfig.class
|
||||
com\nmggs\query\common\exception\PPExceptionHandler.class
|
||||
com\nmggs\query\mapper\SysMapper.class
|
||||
com\nmggs\query\common\config\RedisSessionConfig.class
|
||||
com\nmggs\query\common\utils\UuidUtil.class
|
||||
com\nmggs\query\common\utils\PropertiesUtil.class
|
||||
com\nmggs\query\common\utils\PathUtil.class
|
||||
com\nmggs\query\service\impl\GetDataServiceImpl.class
|
||||
com\nmggs\query\common\utils\ClobUtils.class
|
||||
com\nmggs\query\common\config\ErrorConfig.class
|
||||
com\nmggs\query\common\utils\CheckUtils.class
|
||||
com\nmggs\query\service\GetDataService.class
|
||||
com\nmggs\query\controller\QueryTableController.class
|
||||
com\nmggs\query\common\utils\PagesUtils.class
|
||||
com\nmggs\query\common\utils\LogUtil.class
|
||||
com\nmggs\query\common\config\CaptchaConfig.class
|
||||
com\nmggs\query\test\Test01.class
|
||||
com\nmggs\query\entity\Res.class
|
||||
com\nmggs\query\test\ListTest.class
|
||||
com\nmggs\query\common\config\RedisSessionConfig.class
|
||||
com\nmggs\query\common\config\CorsConfig.class
|
||||
com\nmggs\query\common\config\FilterConfig.class
|
||||
com\nmggs\query\controller\AddInterfaceController.class
|
||||
com\nmggs\query\common\utils\FileUtil.class
|
||||
com\nmggs\query\common\utils\ObjectUtils.class
|
||||
com\nmggs\query\FeeUnitQueryApplication.class
|
||||
com\nmggs\query\common\utils\PropertiesUtil.class
|
||||
com\nmggs\query\common\utils\PathUtil.class
|
||||
com\nmggs\query\common\utils\MD5Util.class
|
||||
com\nmggs\query\mapper\InterfaceQueryMapper.class
|
||||
|
||||
Loading…
Reference in New Issue