添加在线时长dao

This commit is contained in:
yangjun 2024-06-21 13:13:53 +08:00
parent f420769f28
commit 91b1c68c27
1 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.sqx.modules.bl.userZxsc.dao.BlUserZxscDao">
<select id="selectGrouplist" resultType="com.sqx.modules.bl.userZxsc.entity.BlUserZxsc">
select sum(user_recharge) as user_recharge,artificer_id
from bl_user_zxsc
where create_time >= #{createTime}
and create_time &lt;= concat(#{createTime},' 23:59:59')
GROUP BY artificer_id
</select>
</mapper>