|
|
@@ -78,7 +78,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
order by create_time desc
|
|
|
</select>
|
|
|
<select id="sumIntegralByLogTypeAndCreateTime" resultType="java.lang.Long">
|
|
|
- SELECT COALESCE(SUM(integral), 0) FROM fs_user_integral_logs where log_type = #{logType} and <include refid="timeCondition"/>
|
|
|
+ SELECT COALESCE(SUM(a.integral), 0) FROM fs_user_integral_logs a where a.log_type = #{logType} and <include refid="timeCondition"/>
|
|
|
</select>
|
|
|
|
|
|
<insert id="insertFsUserIntegralLogs" parameterType="FsUserIntegralLogs" useGeneratedKeys="true" keyProperty="id">
|