@@ -28,4 +32,9 @@ public interface LogMapper extends BaseMapper {
intupdateByPrimaryKeySelective(Logrecord);
intupdateByPrimaryKey(Logrecord);
@Select("select operate as personUnid,count as picNum,u.name as username,log.create_time as finishTime from "+
"(select person_unid,count(*) from d_pic where pack_id=#{packId} and status=3 group by person_unid) as pic left join "+
"(select * from (select *,row_number() over (partition by operate order by create_time desc) row_id from s_log where operate_type=5 and operate_date between #{start} and #{end} ) t where t.row_id=1 ) as log on pic.person_unid=log.operate left join s_user u on log.operate_user=u.id where operate_user is not null")