修复存入Mysql的Viewpoint中数据不正确

This commit is contained in:
ascrutae 2016-04-20 19:16:46 +08:00
parent 706debcbc6
commit e6073931dd
1 changed files with 1 additions and 2 deletions

View File

@ -41,8 +41,7 @@ public class DBCallChainInfoDao {
preparedStatement.setString(1, callChainDetailForMysql.getTreeToken());
preparedStatement.setString(2, callChainDetailForMysql.getUserId());
preparedStatement.setString(3, chainNode.getTraceLevelId());
preparedStatement.setString(4, chainNode.getViewPoint() + ":"
+ chainNode.getBusinessKey());
preparedStatement.setString(4, chainNode.getViewPoint());
preparedStatement.setTimestamp(5,
new Timestamp(System.currentTimeMillis()));
preparedStatement.addBatch();