优化token接口,避免不配时报错

This commit is contained in:
Harryxzy 2024-11-28 13:33:03 +08:00
parent 866dc1c6ff
commit 9daa406d83
1 changed files with 3 additions and 0 deletions

View File

@ -95,6 +95,9 @@ public class SalaryTokenUtil {
// 获取appid的id
String appidId = baseBean.getPropValue("hrmSalaryBillToken", "appid_id");
if (StringUtils.isBlank(appidId)) {
return resultMap;
}
String ip = baseBean.getPropValue("hrmSalaryBillToken", "ip");
rs.execute("select APPID from ECOLOGY_BIZ_EC where id =" + appidId);
// 获取appid