mirror of
https://codeup.aliyun.com/64f7d6b8ce01efaafef1e678/coal/coal.git
synced 2026-01-25 23:57:12 +08:00
bugfix
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package cn.lihongjie.coal.weightDeviceData.service;
|
||||
|
||||
import cn.hutool.core.bean.BeanUtil;
|
||||
import cn.lihongjie.coal.base.dto.CommonQuery;
|
||||
import cn.lihongjie.coal.base.dto.IdRequest;
|
||||
import cn.lihongjie.coal.base.service.BaseService;
|
||||
@@ -384,7 +385,7 @@ where 更新时间>='%s' and 更新时间<='%s'
|
||||
|
||||
result =
|
||||
GroovyScriptUtils.exec(
|
||||
config.getScript(), ReflectUtils.toMap(entity));
|
||||
config.getScript(), BeanUtil.beanToMap(entity));
|
||||
} catch (Exception e) {
|
||||
log.error("exec script error {} {}", config.getCode(), config.getScript(), e);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user