| | |
| | | import com.dsh.other.feignclient.activity.model.Coupon; |
| | | import com.dsh.other.feignclient.activity.model.QueryUserCouponByIdAndUserId; |
| | | import com.dsh.other.feignclient.activity.model.UserCoupon; |
| | | import com.dsh.other.feignclient.model.SiteChangeStateVO; |
| | | import com.dsh.other.mapper.SiteMapper; |
| | | import com.dsh.other.model.*; |
| | | import com.dsh.other.service.*; |
| | | import com.dsh.other.util.*; |
| | | import io.swagger.models.auth.In; |
| | | import org.aspectj.weaver.ast.Var; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | |
| | | |
| | | @Autowired |
| | | private PayMoneyUtil payMoneyUtil; |
| | | @Autowired |
| | | private SiteMapper siteMapper; |
| | | |
| | | |
| | | |
| | |
| | | map.put("cash", payMoney); |
| | | return ResultUtil.success(map); |
| | | } |
| | | |
| | | @Override |
| | | public Object changeState(SiteChangeStateVO vo) { |
| | | |
| | | List<Integer> siteIds = vo.getSiteIds(); |
| | | Integer type = vo.getType(); |
| | | return siteMapper.changeState(siteIds,type); |
| | | |
| | | } |
| | | } |