admin
2022-10-28 0e9b6603d4ae9d11c1fbc90257ce816c5807b8ff
app/src/main/java/com/yeshi/makemoney/app/service/inter/goldcorn/GoldCornGetPriceService.java
@@ -6,8 +6,13 @@
import com.yeshi.makemoney.app.entity.SystemEnum;
import com.yeshi.makemoney.app.entity.goldcorn.GoldCornGetType;
import com.yeshi.makemoney.app.entity.user.UserInfo;
import com.yeshi.makemoney.app.exception.goldcorn.GoldCornGetPriceException;
import org.yeshi.utils.bean.BeanUtil;
import java.util.List;
import java.util.Map;
import com.yeshi.makemoney.app.entity.goldcorn.GoldCornGetPrice;
import com.yeshi.makemoney.app.service.inter.goldcorn.GoldCornGetPriceService;
import com.yeshi.makemoney.app.service.query.goldcorn.GoldCornGetPriceQuery;
@@ -16,49 +21,123 @@
public interface GoldCornGetPriceService {
    /**
    * 获取列表
    * @param goldCornGetPriceQuery
    * @param page
    * @param pageSize
    * @return
    */
    public List<GoldCornGetPrice> list(GoldCornGetPriceQuery goldCornGetPriceQuery, int page, int pageSize) ;
     * 获取列表
     *
     * @param goldCornGetPriceQuery
     * @param page
     * @param pageSize
     * @return
     */
    public List<GoldCornGetPrice> list(GoldCornGetPriceQuery goldCornGetPriceQuery, int page, int pageSize);
    /**
    *
    */
    public long count(GoldCornGetPriceQuery goldCornGetPriceQuery) ;
     *
     */
    public long count(GoldCornGetPriceQuery goldCornGetPriceQuery);
    /**
    *
    */
    public GoldCornGetPrice get(String id) ;
     *
     */
    public GoldCornGetPrice get(String id);
    /**
    *
    */
    public void add(GoldCornGetPrice goldCornGetPrice)  throws Exception;
     *
     */
    public void add(GoldCornGetPrice goldCornGetPrice) throws Exception;
    /**
    *
    */
    public void update(GoldCornGetPrice goldCornGetPrice) ;
     *
     */
    public void update(GoldCornGetPrice goldCornGetPrice);
    /**
    *
    */
    public void delete(List<String> idList) ;
     *
     */
    public void delete(List<String> idList);
    /**
     * @author hxh
     * @return com.yeshi.makemoney.app.entity.goldcorn.GoldCornGetPrice
     * @author hxh
     * @description 获取价格
     * @date 18:14 2022/4/6
     * @param: system
     * @param: type
     * @param: date
     * @return com.yeshi.makemoney.app.entity.goldcorn.GoldCornGetPrice
     **/
    public GoldCornGetPrice getPrice(SystemEnum system, GoldCornGetType type,Date date);
    public GoldCornGetPrice getPrice(SystemEnum system, GoldCornGetType type, Date date);
    /**
     * @return java.lang.Integer
     * @author hxh
     * @description 获取价格配置中的金币单价
     * @date 16:06 2022/4/8
     * @param: system
     * @param: type
     * @param: date
     * @param: hasBoss
     **/
    public Integer getPriceCornNum(SystemEnum system, GoldCornGetType type, Date date, boolean hasBoss);
    /**
     * @return java.lang.Integer
     * @author hxh
     * @description 获取签到的价格
     * @date 16:25 2022/4/21
     * @param: continueDay 连续签到天数
     **/
    public Integer getSingInPrice(SystemEnum system, int continueDay);
    /**
     * @return java.util.List<java.lang.Integer>
     * @author hxh
     * @description 获取连续签到的价格列表
     * @date 16:26 2022/4/21
     * @param: system
     **/
    public List<Integer> getSingInPriceList(SystemEnum system);
    /**
     * @return java.lang.Integer
     * @author hxh
     * @description 获取计数价格
     * @date 12:10 2022/4/28
     * @param: type
     * @param: user
     * @param: system
     * @param: date
     * @param: eventCount
     **/
    public Integer getCountPrice(GoldCornGetType type, UserInfo user, SystemEnum system, Date date, long eventCount) throws GoldCornGetPriceException;
    /**
     * @return java.util.Map<com.yeshi.makemoney.app.entity.goldcorn.GoldCornGetType               ,               java.lang.Integer>
     * @author hxh
     * @description 获取计数价格列表
     * @date 13:55 2022/4/28
     * @param: typeList
     * @param: user
     * @param: system
     * @param: date
     **/
    public Map<GoldCornGetType, GoldCornGetPrice> getCountPrice(List<GoldCornGetType> typeList, UserInfo user, SystemEnum system, Date date);
    /**
     * @return com.yeshi.makemoney.app.entity.goldcorn.GoldCornGetPrice
     * @author hxh
     * @description 获取计数价格
     * @date 19:02 2022/4/28
     * @param: type
     * @param: user
     * @param: system
     * @param: date
     **/
    public GoldCornGetPrice getCountPrice(GoldCornGetType type, UserInfo user, SystemEnum system, Date date);
}