Search in sources :

Example 6 with UserDynamicDO

use of org.neusoft.neubbs.entity.UserDynamicDO in project neubbs by nuitcoder.

the class UserDynamicDAOTest method testSaveUserDynamic.

/**
 * 测试保存用户动态
 */
@Test
@Transactional
public void testSaveUserDynamic() {
    UserDynamicDO userDynamic = this.saveTestUserDynamicDOToDatabase();
    System.out.println("success save userId=" + userDynamic.getUserId() + " user dynamic information: " + userDynamic);
}
Also used : UserDynamicDO(org.neusoft.neubbs.entity.UserDynamicDO) Test(org.junit.Test) Transactional(javax.transaction.Transactional)

Aggregations

UserDynamicDO (org.neusoft.neubbs.entity.UserDynamicDO)6 Transactional (javax.transaction.Transactional)4 Test (org.junit.Test)4 JSONObject (com.alibaba.fastjson.JSONObject)2 UserDO (org.neusoft.neubbs.entity.UserDO)2 JSONArray (com.alibaba.fastjson.JSONArray)1 UserActionDO (org.neusoft.neubbs.entity.UserActionDO)1