PickPackDao.java 986 Bytes
package com.cjs.site.dao.user.pick;

import java.util.List;
import java.util.Map;

import com.cjs.site.model.user.pick.OutpropApplyInfo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.cjs.site.model.user.pick.PickPackInfo;
import com.cjs.site.util.db.OracleDao;

/**
 * 提货封装设置(hs_asset)(关联表hs_asset.pick_pack)
 * 
 * @author tongyufu
 *
 */
@Repository
public interface PickPackDao extends OracleDao {

    /**查询所有可用封装方式*/
    List<PickPackInfo> queryAll();

    PickPackInfo queryById(Integer id);

    List<PickPackInfo>  queryUserPosition(String userId);

    Map<String,Object> queryUserFundAccount(String userId);

    void ducueUserFundAmount(@Param("money") Double money,@Param("userId")  String userId);

    void ducueUserInventory(@Param("amount") Integer amount,@Param("otcCode")  String otcCode,@Param("userId")  String userId);

    void insertPick(Map<String,Object> map);
}