公告权限
This commit is contained in:
parent
41c4d3c5ba
commit
190c3529eb
|
@ -128,8 +128,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
<if test="query.cancelRemark != null and query.cancelRemark != ''"> and bo.cancel_remark like concat('%', #{query.cancelRemark}, '%')</if>
|
||||
<if test="query.payDate != null "> and date(bp.pay_time) = #{query.payDate}</if>
|
||||
<if test="query.payChannelId != null "> and bp.channel_id = #{query.payChannelId}</if>
|
||||
<if test="query.payExpireTimeEnd != null "> and bp.pay_expire_time <= #{query.payExpireTimeEnd}</if>
|
||||
<if test="query.payExpireTimeStart != null "> and bp.pay_expire_time >= #{query.payExpireTimeStart}</if>
|
||||
<if test="query.payExpireTimeEnd != null "> and bo.pay_expire_time <= #{query.payExpireTimeEnd}</if>
|
||||
<if test="query.payExpireTimeStart != null "> and bo.pay_expire_time >= #{query.payExpireTimeStart}</if>
|
||||
<if test="query.bonusUserId != null ">
|
||||
and bo.id in (
|
||||
select distinct bb.bst_id from bst_bonus bb
|
||||
|
@ -463,7 +463,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
where bo.id = #{id} and bo.total_fee + #{deductionFee} <= bo.deposit_fee
|
||||
</update>
|
||||
|
||||
<!-- selectIdByQuery -->
|
||||
<!-- selectIdByQuery -->
|
||||
|
||||
<select id="selectIdByQuery" resultType="Long">
|
||||
select bo.id
|
||||
|
@ -472,5 +472,5 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
<include refid="searchCondition"/>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
|
||||
</mapper>
|
||||
|
|
|
@ -5,6 +5,7 @@ import com.ruoyi.bst.agreement.domain.AgreementQuery;
|
|||
import com.ruoyi.bst.agreement.domain.AgreementVO;
|
||||
import com.ruoyi.bst.agreement.domain.enums.AgreementContentType;
|
||||
import com.ruoyi.bst.agreement.service.AgreementService;
|
||||
import com.ruoyi.common.annotation.Anonymous;
|
||||
import com.ruoyi.common.core.controller.BaseController;
|
||||
import com.ruoyi.common.core.domain.AjaxResult;
|
||||
import com.ruoyi.common.utils.collection.CollectionUtils;
|
||||
|
@ -21,6 +22,7 @@ public class AppAgreementController extends BaseController {
|
|||
|
||||
@ApiOperation("查询最新协议")
|
||||
@GetMapping("/latest")
|
||||
@Anonymous
|
||||
public AjaxResult getAgreement(AgreementQuery query) {
|
||||
PageHelper.startPage(1, 1);
|
||||
PageHelper.orderBy("create_time desc");
|
||||
|
|
Loading…
Reference in New Issue
Block a user