团体测评数量
This commit is contained in:
parent
4b747e0e86
commit
196b398b22
|
@ -66,6 +66,12 @@ public class MyServiceImpl implements IMyService {
|
|||
.eq(ReservationOrder::getCreateBy, userId)
|
||||
.eq(ReservationOrder::getOrderStatus, 2));
|
||||
list.add(new StatisticNumVo("intervene", orderNum.intValue()));
|
||||
|
||||
Long publishNum = evaluationRecordMapper.selectCount(new LambdaQueryWrapper<SysEvaluationRecord>()
|
||||
.eq(SysEvaluationRecord::getUserId, userId)
|
||||
.eq(SysEvaluationRecord::getPublishFlag, 1)
|
||||
.le(SysEvaluationRecord::getStatus, StatusEnum.DISABLED.getValue()));
|
||||
list.add(new StatisticNumVo("publish", publishNum.intValue()));
|
||||
return list;
|
||||
}
|
||||
|
||||
|
|
|
@ -5,6 +5,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
<mapper namespace="org.dromara.scale.mapper.ActivityEnterMapper">
|
||||
|
||||
<update id="updateActivityEnterNum">
|
||||
update m_activity set enter_nums = enter_nums +1 where id = #{activityId}
|
||||
update m_activity set enter_nums = enter_nums + 1 where id = #{activityId}
|
||||
</update>
|
||||
</mapper>
|
||||
|
|
Loading…
Reference in New Issue