"from Comment c where c.assetId='"+assetId+"' and c.status='"+status+"'"
这条语句写的有问题
assetId 和status是对应的和实体对象的名字一样 还是和数据库字段名一样呢?