package com.ibeetl.admin.console.dao; import com.ibeetl.admin.console.model.*; import com.ibeetl.admin.core.entity.CoreUser; import com.ibeetl.admin.core.entity.XzxCityPartner; import org.beetl.sql.core.annotatoin.SqlResource; import org.beetl.sql.core.engine.PageQuery; import org.beetl.sql.core.mapper.BaseMapper; import java.util.List; import java.util.Map; /** * XzxCityPartner Dao */ @SqlResource("console.xzxCityPartner") public interface XzxCityPartnerDao extends BaseMapper{ public PageQuery queryByCondition(PageQuery query); public XzxCityPartner queryEntityByUserIds(String userId); int queryElectronicFenceByPartner(String partnerId); XzxCityPartner queryPartnerById(Long id); XzxCityPartner queryPartnerKeyByOrder(String orderId); PartnerAccountModel queryAccountIdByUserId(String userId); String queryAccountByAdminId(); UserModel queryUserModelbyPartnerId(List partnerId,String userType,String userId,String orderId); public void batchDelXzxCityPartnerByIds(List ids); void insertGaodeInfo(List gaodeModels); void deletePartnerTownCode(String partnerId); public List queryCityPartner(XzxCityPartnerModel model); void updateAccountLimitByPid(PartnerAccountModel pa); List queryUserIdsByPid(String partnerId); List queryGaodeByParentner(String partnerId); List queryAreaByParentner(String partnerId); PartnerGaodeModel queryGaodeAreaByPackageId(String partnerId); int queryCityPartnerCount(XzxCityPartnerModel model); List queryFenceNameList(XzxCityPartnerModel model); String queryAccountByPartnerId(String userId); XzxCityPartner queryPartnerByOther(String receiver); List queryDetailsPresentation(PartnerPayMsgModel model); int queryDetailsPresentationCount(PartnerPayMsgModel model); AreaModel queryAreaLongiLati(AreaModel model); List queryAreaLongiLatiList(String city); String queryAreaCityList(String city); String queryAreaProvinceList(String city); String queryAreaTownList(String city); String queryGaodeByTownId(String townId); String queryPartnerByCity(String city); int addPayInfo(PayInfoModel model); void updateAccountPartner(UserAccountModel accountModel); void updatePartnerAccount(PartnerAccountModel partnerAccountModel); void updatePackageAccount(PartnerAccountModel partnerAccountModel); int addPayInfo1(PayInfoModel model); int addPartnerAccountLog(PartnerAccountLogModel log); int insertRemittance(RemittanceModel remittanceModel); int updatePayInfoPass(PayInfoModel model); PayInfoModel queryPayInfoById(String payOrderId); List queryPartnerFenceList(XzxCityPartnerModel model); List queryPartnerFenceListByUser(XzxCityPartnerModel model); List queryPartnerByMobile(XzxCityPartnerModel model); List queryPartnerFenceAllList(); List queryCitysByPartnerId(String pid); String queryCityNameById(String cityId); CoreUser queryPartnerAdmin(Long id); List queryAllCityPartnerList(String partnerId); int insertGaodeSid(PartnerTraceModel model); List querySidListByPartnerId(String partnerId); int deleteGaodeService(String partnerId); String querySidByPid(String partnerId,String serviceType); List queryTownIdsByPartnerId(String partnerId); List queryTownIdsByPartnerIdList(List partnerIdList); String querySidByPartnerId(String partnerId,String type); String queryOrderById(String orderId,String userId,String startTime,String endTime); List queryOrderByIds(String userId,String startTime,String endTime); void deletePartnerAccount(PartnerAccountModel model); void deleteAccountByUserId(PartnerAccountModel model); List queryPartnerAccountLog(PartnerAccountLogModel model); List queryAdminAccountLog(PartnerAccountLogModel model); int queryPartnerAccountLogCount(PartnerAccountLogModel model); int queryAdminAccountLogCount(PartnerAccountLogModel model); List queryAccountLogByAccount(AccountLogModel model); int queryAccountLogByAccountCount(AccountLogModel model); int queryPartnerAccountLogCount(AccountLogModel model); List> queryPartnerCityById(XzxCityPartner partner); List> queryPidBypartnerId(XzxCityPartner partner); List> queryGaodeByCid(String id,String pid); List> queryGaodeByTid(String id,String cid); String queryCityPartnerByPhone(String mobilePhone); int updateAccountType(AccountMoneyModel model); int queryPartnerGaode(List areaList); int deleteUserByPartnerId(String id); void deleteAccount(String accountId); List queryCityPartnerForOtherUser(List partnerIds,String userType); List> queryOrderByHsy(XzxCityPartnerModel model); List queryPartnerName(List partnerIds); List queryPackageByPartner(List partnerIds); List queryOtherUserByPid(String pid,String userName,String roleType,List packageStationList); List queryAllUserByPid(String userName,String roleType,List townIds); List queryAccountByUserIds(AccountMoneyModel model); int queryAccountByUserIdsCount(AccountMoneyModel model); int updateAccountLimit(AccountMoneyModel model); AccountMoneyModel queryAccountByAccountId(AccountMoneyModel model); List queryAllUserIds(); List queryPackageIdList(String partnerId); }