pk whole no substr
This commit is contained in:
parent
e51e1f748d
commit
27bb38334a
@ -596,3 +596,7 @@ ALTER TABLE `ry-cloud`.`t_iccard_info`
|
||||
|
||||
ALTER TABLE `xhpc_statistics_station`
|
||||
ADD COLUMN `source` INT(4) NULL COMMENT '订单来源(0 C端用户 1 流量方用户 2社区用户 3B端用户)' AFTER `tenant_id`;
|
||||
|
||||
ALTER TABLE `xhpc_operator`
|
||||
CHANGE COLUMN `corp_no` `corp_no` VARCHAR(30) NULL COMMENT '运营商代码,用于桩编号前缀,如80836代表翔桦' AFTER `name`,
|
||||
ADD UNIQUE INDEX `corp_no` (`corp_no`);
|
||||
|
||||
@ -42,9 +42,9 @@ public class RateModelTask {
|
||||
}
|
||||
}
|
||||
if (!charging) {
|
||||
ClientHandler handler = getHandler(pk.substring(5));
|
||||
ClientHandler handler = getHandler(pk);
|
||||
if (handler != null && handler.isOpen()) {
|
||||
String rsmsg = RateModelRequestLogic.translate(pk.substring(5), rateModelIdStation, "0058");
|
||||
String rsmsg = RateModelRequestLogic.translate(pk, rateModelIdStation, "0058");
|
||||
try {
|
||||
handler.sendClientBinary(HexUtils.toBytes(rsmsg));
|
||||
log.info("pile[{}] rate model[{}] sent ⚪", pk, rateModelIdPile);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user