Commit a6dedc49 authored by 廖旭伟's avatar 廖旭伟

修改测试bug

parent d403431c
......@@ -41,9 +41,14 @@
<profiles.platform.type>standalone</profiles.platform.type>
<profiles.server.port>21086</profiles.server.port>
<profiles.server.path>/enterprise</profiles.server.path>
<profiles.nacos.server-addr>127.0.0.1:8848</profiles.nacos.server-addr>
<profiles.nacos.server-addr>192.168.0.252:8848</profiles.nacos.server-addr>
<profiles.nacos.group>DEFAULT_GROUP</profiles.nacos.group>
<profiles.nacos.namespace>smart-gov</profiles.nacos.namespace>
<profiles.rabbitmq.host>192.168.0.251</profiles.rabbitmq.host>
<profiles.rabbitmq.port>5672</profiles.rabbitmq.port>
<profiles.rabbitmq.username>root_mq</profiles.rabbitmq.username>
<profiles.rabbitmq.password>xhx@2022</profiles.rabbitmq.password>
<profiles.rabbitmq.virtualhost>/</profiles.rabbitmq.virtualhost>
<profiles.log.path>/home/mortals/app/logs</profiles.log.path>
<profiles.log.level>info</profiles.log.level>
<profiles.publish.path>/home/publish</profiles.publish.path>
......
......@@ -51,7 +51,7 @@ public class BussinesscardRecordServiceImpl extends AbstractCRUDServiceImpl<Buss
orConditionList.add(realName);
UserQuery query = new UserQuery();
query.setOrConditionList(orConditionList);
query.setOrderColList(Arrays.asList(new OrderCol("viewTime", OrderCol.DESCENDING)));
params.setOrderColList(Arrays.asList(new OrderCol("viewTime", OrderCol.DESCENDING)));
UserEntity userEntity = userService.selectOne(query);
if(userEntity!=null){
params.setViewId(userEntity.getId());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment