main
parent
ec5da156e2
commit
f668c92908
@ -0,0 +1,8 @@
|
||||
# Default ignored files
|
||||
/shelf/
|
||||
/workspace.xml
|
||||
# Editor-based HTTP Client requests
|
||||
/httpRequests/
|
||||
# Datasource local storage ignored files
|
||||
/dataSources/
|
||||
/dataSources.local.xml
|
||||
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="Encoding">
|
||||
<file url="file://$PROJECT_DIR$/.gitignore" charset="GBK" />
|
||||
</component>
|
||||
</project>
|
||||
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectModuleManager">
|
||||
<modules>
|
||||
<module fileurl="file://$PROJECT_DIR$/.idea/ku.iml" filepath="$PROJECT_DIR$/.idea/ku.iml" />
|
||||
</modules>
|
||||
</component>
|
||||
</project>
|
||||
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="VcsDirectoryMappings">
|
||||
<mapping directory="$PROJECT_DIR$" vcs="Git" />
|
||||
</component>
|
||||
</project>
|
||||
@ -0,0 +1,25 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||
<parent>
|
||||
<artifactId>demay</artifactId>
|
||||
<groupId>com.ssm</groupId>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
<relativePath>../pom.xml</relativePath>
|
||||
</parent>
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<artifactId>dm_api</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>com.ssm</groupId>
|
||||
<artifactId>dm_bean</artifactId>
|
||||
<version>1.0-SNAPSHOT</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<build>
|
||||
<finalName>${project.artifactId}-${project.version}</finalName>
|
||||
</build>
|
||||
</project>
|
||||
@ -0,0 +1,36 @@
|
||||
package com.ssm.core.service;
|
||||
import com.ssm.manage.entity.SmsException;
|
||||
import java.util.List;
|
||||
public interface BaseService<Pojo>{
|
||||
|
||||
Pojo selectByPrimaryKey(Object key);
|
||||
|
||||
Pojo selectOne(Pojo pojo);
|
||||
|
||||
List<Pojo> selectByExample(Object example);
|
||||
|
||||
List<Pojo> selectAll();
|
||||
|
||||
int save(Pojo entity);
|
||||
|
||||
int saveNotNull(Pojo entity);
|
||||
|
||||
int deleteByPrimaryKey(Object key);
|
||||
int delete(Pojo pojo) throws SmsException;
|
||||
|
||||
int updateByPrimaryKey(Pojo entity);
|
||||
|
||||
int updateNotNull(Pojo entity);
|
||||
|
||||
// public Pojo selectOneByExample(Pojo example);
|
||||
|
||||
public int selectCountByExample(Object example);
|
||||
|
||||
public int insertList(List<Pojo> list);
|
||||
|
||||
public int selectCount(Pojo entity);
|
||||
|
||||
public List<Pojo> select(Pojo entity);
|
||||
|
||||
public int updateByExampleSelective(Pojo pojo, Object o);
|
||||
}
|
||||
@ -0,0 +1,12 @@
|
||||
package com.ssm.manage.service;
|
||||
|
||||
import com.github.pagehelper.PageInfo;
|
||||
import com.ssm.manage.entity.AbnormalClockInRecord;
|
||||
import com.ssm.manage.query.AbnormalClockInRecordPageQuery;
|
||||
import com.ssm.manage.vo.AbnormalClockInRecordsVo;
|
||||
|
||||
import javax.validation.constraints.NotNull;
|
||||
|
||||
public interface AbnormalClockInRecordService {
|
||||
PageInfo<AbnormalClockInRecord> page(@NotNull AbnormalClockInRecordPageQuery pageQuery);
|
||||
}
|
||||
@ -0,0 +1,8 @@
|
||||
package com.ssm.manage.service;
|
||||
|
||||
import javax.validation.constraints.NotNull;
|
||||
import java.util.Date;
|
||||
|
||||
public interface AbsenteeismRecordService {
|
||||
void generateRecords(@NotNull Date date);
|
||||
}
|
||||
@ -0,0 +1,19 @@
|
||||
package com.ssm.manage.service;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
import com.github.pagehelper.PageInfo;
|
||||
import com.ssm.core.service.BaseService;
|
||||
import com.ssm.manage.dto.BeisenUserListDto;
|
||||
import com.ssm.manage.entity.BeisenUserList;
|
||||
|
||||
/**
|
||||
* (BeisenUserList)表服务接口
|
||||
*
|
||||
* @author makejava
|
||||
* @since 2024-01-12 15:26:22
|
||||
*/
|
||||
public interface BeisenUserListService extends BaseService<BeisenUserList> {
|
||||
|
||||
PageInfo<BeisenUserList> selectPage(BeisenUserListDto dto);
|
||||
}
|
||||
@ -0,0 +1,27 @@
|
||||
package com.ssm.manage.service;
|
||||
|
||||
import com.github.pagehelper.PageInfo;
|
||||
import com.ssm.core.service.BaseService;
|
||||
import com.ssm.manage.dto.BlackListDto;
|
||||
import com.ssm.manage.entity.BlackList;
|
||||
import com.ssm.manage.entity.StaffTemporary;
|
||||
import com.ssm.manage.response.BlackListVo;
|
||||
import com.ssm.manage.response.JobContentListVo;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* (BlackList)表服务接口
|
||||
*
|
||||
* @author makejava
|
||||
* @since 2023-12-20 11:41:45
|
||||
*/
|
||||
public interface BlackListService extends BaseService<BlackList> {
|
||||
|
||||
PageInfo<BlackListVo> selectPage(BlackListDto dto);
|
||||
List<BlackListVo> selectAll(BlackListDto dto);
|
||||
|
||||
PageInfo<StaffTemporary> getStaffTemporary(BlackListDto dto);
|
||||
|
||||
PageInfo<JobContentListVo> getJonContent(BlackListDto dto);
|
||||
}
|
||||
@ -0,0 +1,42 @@
|
||||
package com.ssm.manage.service;
|
||||
|
||||
import com.github.pagehelper.PageInfo;
|
||||
import com.ssm.manage.dto.CouponShareDto;
|
||||
import com.ssm.manage.entity.BaseProject;
|
||||
import com.ssm.manage.entity.CooperateList;
|
||||
import com.ssm.manage.entity.CouponShare;
|
||||
import com.ssm.manage.entity.SmsException;
|
||||
import com.ssm.manage.query.CooperateListRequest;
|
||||
import com.ssm.manage.query.CouponShareRequest;
|
||||
import com.ssm.manage.query.ProjectRequest;
|
||||
import com.ssm.manage.response.CooperateResponse;
|
||||
import com.ssm.manage.response.GenericResponse;
|
||||
import com.ssm.manage.response.PageResponse;
|
||||
|
||||
import javax.servlet.http.HttpSession;
|
||||
import java.io.Serializable;
|
||||
import java.text.ParseException;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* (CouponShare)表服务接口
|
||||
*
|
||||
* @author makejava
|
||||
* @since 2022-06-11 15:00:06
|
||||
*/
|
||||
public interface CooperateListService {
|
||||
|
||||
int insert(CooperateListRequest cooperateListRequest, HttpSession session);
|
||||
|
||||
int update(CooperateListRequest cooperateListRequest, HttpSession session);
|
||||
|
||||
int delete(Long id);
|
||||
|
||||
PageResponse<CooperateList> page(CooperateListRequest cooperateListRequest);
|
||||
|
||||
PageResponse<CooperateList> bind(CooperateListRequest cooperateListRequest);
|
||||
|
||||
PageResponse<BaseProject> cooperateProjectPage(ProjectRequest baseProject);
|
||||
|
||||
GenericResponse<List<CooperateResponse>> cooperByDate(ProjectRequest baseProject) throws ParseException, SmsException;
|
||||
}
|
||||
@ -0,0 +1,32 @@
|
||||
package com.ssm.manage.service;
|
||||
|
||||
import com.ssm.manage.entity.BaseProject;
|
||||
import com.ssm.manage.entity.CooperateList;
|
||||
import com.ssm.manage.entity.SmsException;
|
||||
import com.ssm.manage.query.CooperateListRequest;
|
||||
import com.ssm.manage.query.CooperateProjectRequst;
|
||||
import com.ssm.manage.query.ProjectRequest;
|
||||
import com.ssm.manage.response.CooperateResponse;
|
||||
import com.ssm.manage.response.GenericResponse;
|
||||
import com.ssm.manage.response.PageResponse;
|
||||
|
||||
import javax.servlet.http.HttpSession;
|
||||
import java.text.ParseException;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* (CouponShare)表服务接口
|
||||
*
|
||||
* @author makejava
|
||||
* @since 2022-06-11 15:00:06
|
||||
*/
|
||||
public interface CooperateProjectService {
|
||||
|
||||
GenericResponse insert(CooperateProjectRequst cooperateProject, HttpSession session);
|
||||
|
||||
GenericResponse delete(Long id);
|
||||
|
||||
PageResponse page(CooperateProjectRequst cooperateProject);
|
||||
|
||||
GenericResponse update(CooperateProjectRequst cooperateListRequest, HttpSession session);
|
||||
}
|
||||
@ -0,0 +1,63 @@
|
||||
package com.ssm.manage.service;
|
||||
|
||||
import com.github.pagehelper.PageInfo;
|
||||
import com.ssm.manage.dto.CouponShareDto;
|
||||
import com.ssm.manage.entity.CouponShare;
|
||||
import com.ssm.manage.entity.SmsException;
|
||||
import com.ssm.manage.query.CouponShareRequest;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* (CouponShare)表服务接口
|
||||
*
|
||||
* @author makejava
|
||||
* @since 2022-06-11 15:00:06
|
||||
*/
|
||||
public interface CouponShareService {
|
||||
|
||||
/**
|
||||
* 通过主键查询单条数据
|
||||
*
|
||||
* @param id 主键
|
||||
* @return
|
||||
*/
|
||||
CouponShare queryById(Serializable id);
|
||||
|
||||
/**
|
||||
* 分页查询
|
||||
*
|
||||
* @param dto
|
||||
* @return
|
||||
*/
|
||||
PageInfo<CouponShare> queryByPage(CouponShareDto dto);
|
||||
|
||||
/**
|
||||
* 新增
|
||||
*
|
||||
* @param couponShare
|
||||
* @return
|
||||
*/
|
||||
int add(CouponShare couponShare) throws SmsException;
|
||||
|
||||
/**
|
||||
* 编辑
|
||||
*
|
||||
* @param couponShare
|
||||
* @return
|
||||
*/
|
||||
int edit(CouponShare couponShare);
|
||||
|
||||
/**
|
||||
* 根据主键删除
|
||||
*
|
||||
* @param id 主键
|
||||
* @return
|
||||
*/
|
||||
int delete(Serializable id);
|
||||
|
||||
int share(CouponShareDto dto);
|
||||
|
||||
List<CouponShareRequest> personalPage(CouponShareDto dto);
|
||||
}
|
||||
@ -0,0 +1,9 @@
|
||||
package com.ssm.manage.service;
|
||||
|
||||
import com.ssm.core.service.BaseService;
|
||||
import com.ssm.manage.entity.ClockService;
|
||||
import com.ssm.manage.entity.CouponStore;
|
||||
|
||||
public interface CouponStoreService extends BaseService<CouponStore> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,16 @@
|
||||
package com.ssm.manage.service;
|
||||
|
||||
import com.ssm.core.service.BaseService;
|
||||
import com.ssm.manage.entity.CourseMoney;
|
||||
import com.ssm.manage.entity.StoreWechat;
|
||||
import com.ssm.manage.extendEntity.NegativeDayStatistic;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface CourseMoneyService extends BaseService<CourseMoney> {
|
||||
List<CourseMoney> selectByDate(String rechargeDate);
|
||||
|
||||
void saveList(List<CourseMoney> courseInsert);
|
||||
|
||||
List<CourseMoney> fixedNegativeCardByCourse(NegativeDayStatistic negativeDayStatistic);
|
||||
}
|
||||
@ -0,0 +1,26 @@
|
||||
package com.ssm.manage.service;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.io.Serializable;
|
||||
import java.text.ParseException;
|
||||
|
||||
import com.github.pagehelper.PageInfo;
|
||||
import com.ssm.core.service.BaseService;
|
||||
import com.ssm.manage.dto.JobContentListDto;
|
||||
import com.ssm.manage.entity.JobContentList;
|
||||
import com.ssm.manage.response.JobContentListVo;
|
||||
import com.ssm.manage.response.StaffResponse;
|
||||
|
||||
/**
|
||||
* 工作内容
|
||||
* (JobContentList)表服务接口
|
||||
*
|
||||
* @author makejava
|
||||
* @since 2023-12-19 13:56:51
|
||||
*/
|
||||
public interface JobContentListService extends BaseService<JobContentList> {
|
||||
|
||||
PageInfo<JobContentListVo> selectPage(JobContentListDto dto);
|
||||
|
||||
PageInfo<JobContentListVo> getJobContext(StaffResponse staffResponse,String starttime,String endtime) throws IOException, ParseException;
|
||||
}
|
||||
@ -0,0 +1,11 @@
|
||||
package com.ssm.manage.service;
|
||||
|
||||
import com.ssm.core.service.BaseService;
|
||||
import com.ssm.manage.entity.CourseMoney;
|
||||
import com.ssm.manage.entity.MemberLoginRecording;
|
||||
import com.ssm.manage.extendEntity.NegativeDayStatistic;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface MemberLoginRecordingService extends BaseService<MemberLoginRecording> {
|
||||
}
|
||||
@ -0,0 +1,90 @@
|
||||
package com.ssm.manage.service;
|
||||
|
||||
|
||||
import com.github.pagehelper.PageInfo;
|
||||
import com.ssm.manage.dto.PlatformCouponDto;
|
||||
import com.ssm.manage.entity.PlatformCoupon;
|
||||
import com.ssm.manage.entity.SmsException;
|
||||
import com.ssm.manage.entity.UploadFiles;
|
||||
import com.ssm.manage.query.PlatformCouponRequest;
|
||||
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import javax.servlet.http.HttpSession;
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* (PlatformCoupon)表服务接口
|
||||
*
|
||||
* @author makejava
|
||||
* @since 2022-06-11 14:58:52
|
||||
*/
|
||||
public interface PlatformCouponService {
|
||||
|
||||
/**
|
||||
* 通过主键查询单条数据
|
||||
*
|
||||
* @param id 主键
|
||||
* @return
|
||||
*/
|
||||
public PlatformCoupon queryById(Serializable id);
|
||||
|
||||
/**
|
||||
* 分页查询
|
||||
*
|
||||
* @param dto
|
||||
* @return
|
||||
*/
|
||||
public PageInfo<PlatformCoupon> queryByPage(PlatformCouponDto dto);
|
||||
|
||||
/**
|
||||
* 新增
|
||||
*
|
||||
* @param platformCoupon
|
||||
* @return
|
||||
*/
|
||||
public int add(PlatformCouponRequest platformCoupon, String key, List<UploadFiles> uploadFilesInfo) throws SmsException;
|
||||
|
||||
/**
|
||||
* 编辑
|
||||
*
|
||||
* @param platformCoupon
|
||||
* @return
|
||||
*/
|
||||
public int edit(PlatformCouponRequest platformCoupon,String key,List<UploadFiles> uploadFilesInfo) throws SmsException;
|
||||
|
||||
/**
|
||||
* 根据主键删除
|
||||
*
|
||||
* @param id 主键
|
||||
* @return
|
||||
*/
|
||||
public int delete(Serializable id);
|
||||
|
||||
|
||||
/**
|
||||
* 审核
|
||||
*/
|
||||
int audit(PlatformCouponRequest platformCoupon,String key) throws SmsException;
|
||||
|
||||
|
||||
int newCheck(PlatformCoupon platformCoupon,String key) throws SmsException;//新建审核
|
||||
int shopCheck(PlatformCouponRequest platformCoupon,String key) throws SmsException;//门店审核
|
||||
int platformCheck(PlatformCouponRequest platformCoupon,String key) throws SmsException;//平台审核
|
||||
|
||||
int moneyReceipt(PlatformCouponRequest platformCoupon, String key, List<UploadFiles> uploadFilesInfo) throws SmsException;
|
||||
|
||||
List<PlatformCoupon> shareDiscounts(PlatformCouponDto dto);
|
||||
|
||||
void thePublic(HttpServletRequest request, HttpServletResponse response,String key) throws Exception;
|
||||
void thePublic(HttpServletRequest request, HttpServletResponse response, String key, HttpSession session) throws Exception;
|
||||
|
||||
List<String> obtainOpenid(HttpServletRequest request, HttpServletResponse response);
|
||||
|
||||
String obtainPhone(String accessToken, String code);
|
||||
|
||||
String generateUniPayXml(String openId ,String ipAddress, String money);
|
||||
Map<String, String> secondSign(Map<String, String> unifiedOrderMap);
|
||||
}
|
||||
@ -0,0 +1,14 @@
|
||||
package com.ssm.manage.service;
|
||||
|
||||
import com.ssm.manage.entity.PromotionRechargeList;
|
||||
import com.ssm.manage.query.PromotionListRequest;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface PromotionRechargeListService {
|
||||
int addPromotionRechargeList(List<PromotionRechargeList> promotionRechargeLists);
|
||||
|
||||
List<PromotionRechargeList> selectList(PromotionListRequest promotionListRequest);
|
||||
|
||||
int delete(PromotionRechargeList rechargeList);
|
||||
}
|
||||
@ -0,0 +1,9 @@
|
||||
package com.ssm.manage.service;
|
||||
|
||||
|
||||
import com.ssm.manage.entity.StoreWechat;
|
||||
import com.ssm.manage.query.AlarmParamsDTO;
|
||||
|
||||
public interface PushMessageService {
|
||||
void pushMessage(AlarmParamsDTO alarmParamsDTO, Long id, StoreWechat storeWechat);
|
||||
}
|
||||
@ -0,0 +1,16 @@
|
||||
package com.ssm.manage.service;
|
||||
|
||||
import com.ssm.core.service.BaseService;
|
||||
import com.ssm.manage.entity.RechargeMoney;
|
||||
import com.ssm.manage.entity.StoreWechat;
|
||||
import com.ssm.manage.extendEntity.NegativeDayStatistic;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface RechargeMoneyService extends BaseService<RechargeMoney> {
|
||||
List<RechargeMoney> selectByDate(String rechargeDate);
|
||||
|
||||
void saveList(List<RechargeMoney> rechargeInsert);
|
||||
|
||||
List<RechargeMoney> fixedNegativeCardByRecharge(NegativeDayStatistic negativeDayStatistic);
|
||||
}
|
||||
@ -0,0 +1,19 @@
|
||||
package com.ssm.manage.service;
|
||||
|
||||
import com.ssm.core.service.BaseService;
|
||||
import com.ssm.manage.dto.RegionListDto;
|
||||
import com.ssm.manage.entity.RegionList;
|
||||
import com.ssm.manage.query.RegionListVo;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* (RegionList)表服务接口
|
||||
*
|
||||
* @author makejava
|
||||
* @since 2023-12-16 11:26:09
|
||||
*/
|
||||
public interface RegionListService extends BaseService<RegionList> {
|
||||
|
||||
List<RegionListVo> selectPage(RegionListDto dto);
|
||||
}
|
||||
@ -0,0 +1,19 @@
|
||||
package com.ssm.manage.service;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
import com.github.pagehelper.PageInfo;
|
||||
import com.ssm.core.service.BaseService;
|
||||
import com.ssm.manage.dto.RlMenuPowerDto;
|
||||
import com.ssm.manage.entity.RlMenuPower;
|
||||
|
||||
/**
|
||||
* 菜单权限(RlMenuPower)表服务接口
|
||||
*
|
||||
* @author makejava
|
||||
* @since 2023-12-13 15:34:05
|
||||
*/
|
||||
public interface RlMenuPowerService extends BaseService<RlMenuPower> {
|
||||
|
||||
PageInfo<RlMenuPower> selectPage(RlMenuPowerDto dto);
|
||||
}
|
||||
@ -0,0 +1,21 @@
|
||||
package com.ssm.manage.service;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
import com.github.pagehelper.PageInfo;
|
||||
import com.ssm.core.service.BaseService;
|
||||
import com.ssm.manage.dto.RlPowerDto;
|
||||
import com.ssm.manage.entity.RlPower;
|
||||
|
||||
/**
|
||||
* 权限(RlPower)表服务接口
|
||||
*
|
||||
* @author makejava
|
||||
* @since 2023-12-13 15:34:05
|
||||
*/
|
||||
public interface RlPowerService extends BaseService<RlPower> {
|
||||
|
||||
PageInfo<RlPower> selectPage(RlPowerDto dto);
|
||||
|
||||
int add(RlPowerDto rlPower);
|
||||
}
|
||||
@ -0,0 +1,20 @@
|
||||
package com.ssm.manage.service;
|
||||
|
||||
import com.ssm.manage.entity.RlRole;
|
||||
import com.ssm.manage.dto.RlRoleDto;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
import com.github.pagehelper.PageInfo;
|
||||
import com.ssm.core.service.BaseService;
|
||||
|
||||
/**
|
||||
* 角色(RlRole)表服务接口
|
||||
*
|
||||
* @author makejava
|
||||
* @since 2023-12-13 15:08:34
|
||||
*/
|
||||
public interface RlRoleService extends BaseService<RlRole> {
|
||||
|
||||
PageInfo<RlRole> selectPage(RlRoleDto dto);
|
||||
}
|
||||
@ -0,0 +1,19 @@
|
||||
package com.ssm.manage.service;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
import com.github.pagehelper.PageInfo;
|
||||
import com.ssm.core.service.BaseService;
|
||||
import com.ssm.manage.dto.RlRoleStaffDto;
|
||||
import com.ssm.manage.entity.RlRoleStaff;
|
||||
|
||||
/**
|
||||
* 角色(RlRoleStaff)表服务接口
|
||||
*
|
||||
* @author makejava
|
||||
* @since 2023-12-13 15:34:07
|
||||
*/
|
||||
public interface RlRoleStaffService extends BaseService<RlRoleStaff> {
|
||||
|
||||
PageInfo<RlRoleStaff> selectPage(RlRoleStaffDto dto);
|
||||
}
|
||||
@ -0,0 +1,23 @@
|
||||
package com.ssm.manage.service;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
import com.github.pagehelper.PageInfo;
|
||||
import com.ssm.core.service.BaseService;
|
||||
import com.ssm.manage.dto.RlStaffDto;
|
||||
import com.ssm.manage.entity.RlStaff;
|
||||
import com.ssm.manage.entity.SmsException;
|
||||
import com.ssm.manage.query.RlStaffVo;
|
||||
|
||||
/**
|
||||
* 门店员工档案(RlStaff)表服务接口
|
||||
*
|
||||
* @author makejava
|
||||
* @since 2023-12-13 15:34:07
|
||||
*/
|
||||
public interface RlStaffService extends BaseService<RlStaff> {
|
||||
|
||||
PageInfo<RlStaff> selectPage(RlStaffDto dto);
|
||||
|
||||
RlStaffVo phoneLogin(RlStaffDto rlStaffDto) throws SmsException;
|
||||
}
|
||||
@ -0,0 +1,21 @@
|
||||
package com.ssm.manage.service;
|
||||
|
||||
import com.github.pagehelper.PageInfo;
|
||||
import com.ssm.core.service.BaseService;
|
||||
import com.ssm.manage.entity.SmsBalance;
|
||||
import com.ssm.manage.entity.SmsRechargeList;
|
||||
import com.ssm.manage.query.SmsBalanceRequest;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface SmsBalanceService extends BaseService<SmsBalance> {
|
||||
SmsBalance selectBystoreId(SmsBalance smsBalance);
|
||||
|
||||
PageInfo<SmsBalance> page(SmsBalanceRequest smsBalance);
|
||||
|
||||
List<SmsBalance> selectBySmsBalance(SmsBalance smsBalance);
|
||||
|
||||
int insert(SmsBalance smsBalance);
|
||||
|
||||
int updateById(SmsBalance smsBalance);
|
||||
}
|
||||
@ -0,0 +1,25 @@
|
||||
package com.ssm.manage.service;
|
||||
|
||||
import com.ssm.core.service.BaseService;
|
||||
import com.ssm.manage.entity.RechargeMoney;
|
||||
import com.ssm.manage.entity.SmsFix;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface SmsFixService extends BaseService<SmsFix> {
|
||||
int saveSmsFix(SmsFix smsFix);
|
||||
|
||||
List<SmsFix> selectBystoreId(SmsFix smsFix);
|
||||
|
||||
int updateUnAudit(SmsFix smsFix);
|
||||
|
||||
void unAudit(SmsFix smsFix);
|
||||
|
||||
void updateBySmsFix(SmsFix smsFix);
|
||||
|
||||
int deleteById(Long id);
|
||||
|
||||
List<SmsFix> selectByTypeAndStoreId(SmsFix smsFix);
|
||||
|
||||
List<SmsFix> pageByPingTai(SmsFix smsFix);
|
||||
}
|
||||
@ -0,0 +1,17 @@
|
||||
package com.ssm.manage.service;
|
||||
|
||||
import com.github.pagehelper.PageInfo;
|
||||
import com.ssm.core.service.BaseService;
|
||||
import com.ssm.manage.entity.SmsMessages;
|
||||
import com.ssm.manage.query.SmsMessagesRequest;
|
||||
import com.ssm.manage.response.SmsMessageResponse;
|
||||
|
||||
import java.util.Collection;
|
||||
import java.util.List;
|
||||
|
||||
public interface SmsMessagesService extends BaseService<SmsMessages> {
|
||||
PageInfo<SmsMessages> list(SmsMessagesRequest messages);
|
||||
|
||||
SmsMessageResponse ratio(SmsMessagesRequest messages);
|
||||
//查询短信成功率
|
||||
}
|
||||
@ -0,0 +1,28 @@
|
||||
package com.ssm.manage.service;
|
||||
|
||||
import com.github.pagehelper.PageInfo;
|
||||
import com.ssm.core.service.BaseService;
|
||||
import com.ssm.manage.entity.SmsException;
|
||||
import com.ssm.manage.entity.SmsFix;
|
||||
import com.ssm.manage.entity.SmsRechargeList;
|
||||
import com.ssm.manage.query.SmsRechargeListRequest;
|
||||
|
||||
import javax.servlet.http.HttpSession;
|
||||
import java.util.List;
|
||||
|
||||
public interface SmsRechargeListService extends BaseService<SmsRechargeList> {
|
||||
int saveRechargeList(SmsRechargeListRequest smsRechargeListRequest,String phone) throws SmsException;
|
||||
|
||||
int updateByRechargeList(SmsRechargeListRequest smsRechargeListRequest,String phone) throws SmsException;
|
||||
|
||||
int deleteById(Long id);
|
||||
|
||||
PageInfo<SmsRechargeList> selectByList(SmsRechargeListRequest smsRechargeListRequest);
|
||||
|
||||
int sendAudit(SmsRechargeListRequest smsRechargeListRequest, HttpSession session) throws SmsException;
|
||||
|
||||
int audit(SmsRechargeListRequest smsRechargeListRequest, HttpSession session )throws SmsException;
|
||||
int unAudit(SmsRechargeListRequest smsRechargeListRequest, HttpSession session )throws SmsException;
|
||||
|
||||
int cancel(SmsRechargeListRequest smsRechargeListRequest, HttpSession session)throws SmsException;
|
||||
}
|
||||
@ -0,0 +1,22 @@
|
||||
package com.ssm.manage.service;
|
||||
|
||||
import com.github.pagehelper.PageInfo;
|
||||
import com.ssm.core.service.BaseService;
|
||||
import com.ssm.manage.entity.SmsException;
|
||||
import com.ssm.manage.entity.SmsRechargeList;
|
||||
import com.ssm.manage.entity.SmsType;
|
||||
import com.ssm.manage.query.SmsTypeRequest;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface SmsTypeService extends BaseService<SmsType> {
|
||||
int saveSmsType(SmsType smsType,String phone);
|
||||
|
||||
PageInfo<SmsType> selectBystoreId(SmsTypeRequest smsType);
|
||||
|
||||
int updateBySmsType(SmsType smsType,String phone) throws SmsException;
|
||||
|
||||
int deleteById(Long id) throws SmsException;
|
||||
|
||||
int updateState(SmsType smsType, String loginAccount);
|
||||
}
|
||||
@ -0,0 +1,33 @@
|
||||
package com.ssm.manage.service;
|
||||
|
||||
import com.github.pagehelper.PageInfo;
|
||||
import com.ssm.core.service.BaseService;
|
||||
import com.ssm.manage.entity.AccountTradeRecord;
|
||||
import com.ssm.manage.entity.SmsException;
|
||||
import com.ssm.manage.query.AccountTradeRecordRequest;
|
||||
import com.ssm.manage.response.AccountTradeRecordResponse;
|
||||
|
||||
import java.text.ParseException;
|
||||
import java.util.List;
|
||||
|
||||
public interface SsmAccountTradeRecordService extends BaseService<AccountTradeRecord> {
|
||||
void createTable();
|
||||
|
||||
int addRecord(AccountTradeRecord accountTradeRecord) throws SmsException;
|
||||
int addRecord1(AccountTradeRecord accountTradeRecord) throws SmsException;
|
||||
|
||||
List<AccountTradeRecord> selectList(AccountTradeRecordRequest tradeRecordRequest);
|
||||
List<AccountTradeRecord> selectById(AccountTradeRecordRequest tradeRecordRequest);
|
||||
|
||||
PageInfo<AccountTradeRecord> selectPage(AccountTradeRecordRequest tradeRecordRequest);
|
||||
PageInfo<AccountTradeRecordResponse> selectPages(AccountTradeRecordRequest tradeRecordRequest);
|
||||
PageInfo<AccountTradeRecordResponse> selectPagesNew(AccountTradeRecordRequest tradeRecordRequest);
|
||||
|
||||
int insertBatch(List<AccountTradeRecord> list);
|
||||
//补单短信重发
|
||||
AccountTradeRecord retransmission(AccountTradeRecord accountTradeRecord) throws SmsException, ParseException;
|
||||
|
||||
List<AccountTradeRecord> selectListByMonthly(AccountTradeRecordRequest accountTradeRecordRequest);
|
||||
|
||||
int updateMemberName(AccountTradeRecordRequest accountTradeRecordRequest);
|
||||
}
|
||||
@ -0,0 +1,8 @@
|
||||
package com.ssm.manage.service;
|
||||
|
||||
import com.ssm.core.service.BaseService;
|
||||
import com.ssm.manage.entity.AllinpayCashList;
|
||||
|
||||
public interface SsmAllinpayCashListService extends BaseService<AllinpayCashList> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,8 @@
|
||||
package com.ssm.manage.service;
|
||||
|
||||
import com.ssm.core.service.BaseService;
|
||||
import com.ssm.manage.entity.BaseCoupon;
|
||||
import com.ssm.manage.entity.BaseGrouponCard;
|
||||
|
||||
public interface SsmBaseCouponService extends BaseService<BaseCoupon> {
|
||||
}
|
||||
@ -0,0 +1,34 @@
|
||||
package com.ssm.manage.service;
|
||||
|
||||
import com.github.pagehelper.PageInfo;
|
||||
import com.ssm.core.service.BaseService;
|
||||
import com.ssm.manage.entity.BaseGrouponCard;
|
||||
import com.ssm.manage.entity.SmsException;
|
||||
import com.ssm.manage.query.BaseGrouponCardRequest;
|
||||
import com.ssm.manage.response.BaseGrouponCardResponse;
|
||||
import com.ssm.manage.response.RechargeTurnCoursesResponse;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
public interface SsmBaseGrouponCardService extends BaseService<BaseGrouponCard> {
|
||||
PageInfo<BaseGrouponCardResponse> selectPage(BaseGrouponCardRequest baseGrouponCardRequest)throws SmsException;
|
||||
int add(BaseGrouponCardRequest baseGrouponCardRequest,String key) throws SmsException;
|
||||
int update(BaseGrouponCardRequest baseGrouponCardRequest,String key) throws SmsException, IOException;
|
||||
int updateState(BaseGrouponCardRequest baseGrouponCardRequest,String key) throws SmsException;
|
||||
int delete(BaseGrouponCardRequest baseGrouponCardRequest) throws SmsException;
|
||||
|
||||
//算业绩提成
|
||||
List<BaseGrouponCardResponse> selectDates(Long storeId, String date);
|
||||
List<BaseGrouponCard> selectFKJ(BaseGrouponCard baseGrouponCard);
|
||||
List<BaseGrouponCard> selectFKJByDate(BaseGrouponCard baseGrouponCard);
|
||||
//重算业绩
|
||||
List<BaseGrouponCard> selectDateschia(Long StoreId, Date startDate, Date endDate);
|
||||
|
||||
List<BaseGrouponCard> selectNew(List<Long> baseGrouponCard);
|
||||
|
||||
String sendSms(BaseGrouponCardRequest baseGrouponCardRequest, String key) throws SmsException;
|
||||
|
||||
String sendSmsMemberPhone(BaseGrouponCardRequest baseGrouponCardRequest, String key)throws SmsException;
|
||||
}
|
||||
@ -0,0 +1,17 @@
|
||||
package com.ssm.manage.service;
|
||||
|
||||
import com.ssm.core.service.BaseService;
|
||||
import com.ssm.manage.entity.BaseGrouponCard;
|
||||
import com.ssm.manage.entity.BaseGrouponList;
|
||||
import com.ssm.manage.entity.RechargeType;
|
||||
import com.ssm.manage.entity.SmsException;
|
||||
import com.ssm.manage.query.BaseGrouponCardRequest;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface SsmBaseGrouponListService extends BaseService<BaseGrouponList> {
|
||||
int add(BaseGrouponCardRequest baseGrouponCardRequest,Long groupId) throws SmsException;
|
||||
int update(BaseGrouponCardRequest baseGrouponCardRequest,String key) throws SmsException;
|
||||
List<BaseGrouponList> insertBatch(List<BaseGrouponList> list, Long grouponCardId) throws SmsException;
|
||||
int insertBatch(List<BaseGrouponList> list) throws SmsException;
|
||||
}
|
||||
@ -0,0 +1,8 @@
|
||||
package com.ssm.manage.service;
|
||||
|
||||
import com.ssm.core.service.BaseService;
|
||||
import com.ssm.manage.entity.BaseGrouponList;
|
||||
import com.ssm.manage.entity.BaseNegativeKazin;
|
||||
|
||||
public interface SsmBaseNegativeKazinService extends BaseService<BaseNegativeKazin> {
|
||||
}
|
||||
@ -0,0 +1,19 @@
|
||||
package com.ssm.manage.service;
|
||||
|
||||
import com.github.pagehelper.PageInfo;
|
||||
import com.ssm.core.service.BaseService;
|
||||
import com.ssm.manage.entity.BaseNegativeKazin;
|
||||
import com.ssm.manage.entity.BasePost;
|
||||
import com.ssm.manage.entity.SmsException;
|
||||
import com.ssm.manage.entity.StoreRoom;
|
||||
import com.ssm.manage.query.BasePostRequest;
|
||||
import com.ssm.manage.query.StoreRoomRequest;
|
||||
|
||||
import java.text.ParseException;
|
||||
|
||||
public interface SsmBasePostService extends BaseService<BasePost> {
|
||||
PageInfo<BasePost> selectPage(BasePostRequest storeRoomRequest) throws SmsException, ParseException;
|
||||
int add(BasePostRequest storeRoomRequest, String phone) throws SmsException;
|
||||
int update(BasePostRequest storeRoomRequest, String phone) throws SmsException;
|
||||
int detele(BasePostRequest storeRoomRequest) throws SmsException;
|
||||
}
|
||||
@ -0,0 +1,65 @@
|
||||
package com.ssm.manage.service;
|
||||
|
||||
import com.github.pagehelper.PageInfo;
|
||||
import com.ssm.core.service.BaseService;
|
||||
import com.ssm.manage.entity.BaseStaff;
|
||||
import com.ssm.manage.entity.SmsException;
|
||||
import com.ssm.manage.query.CourseAccountRequest;
|
||||
import com.ssm.manage.query.MemberRequest;
|
||||
import com.ssm.manage.query.StaffRequest;
|
||||
import com.ssm.manage.response.PersonZBResponse;
|
||||
import com.ssm.manage.response.StaffResponse;
|
||||
import com.ssm.manage.response.StaffTemporaryVo;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface SsmBaseStaffService extends BaseService<BaseStaff> {
|
||||
PageInfo<StaffResponse> selectPage(StaffRequest staffRequest);
|
||||
PageInfo<StaffResponse> selectPageNew(StaffRequest staffRequest);
|
||||
PageInfo<StaffResponse> parentsStaff(StaffRequest staffRequest);
|
||||
PageInfo<StaffResponse> selectPagestaff(StaffRequest staffRequest);
|
||||
|
||||
int addStaff(StaffRequest staffRequest, String phone) throws SmsException;
|
||||
int addStaffTransition(StaffRequest staffRequest) throws SmsException;
|
||||
int addStaff(BaseStaff baseStaff);
|
||||
int updateStaff(StaffRequest staffRequest, String phone) throws SmsException;
|
||||
int updateStaffStore(StaffRequest staffRequest);
|
||||
|
||||
BaseStaff selectOne(StaffRequest staffRequest);
|
||||
|
||||
int setMonthjob(StaffRequest staffRequest);
|
||||
|
||||
int staffLeave(StaffRequest staffRequest);
|
||||
int staffStop(StaffRequest staffRequest);
|
||||
|
||||
int staffReinstated(StaffRequest staffRequest) throws SmsException;
|
||||
|
||||
PageInfo<StaffResponse> staffMemberPage(StaffRequest staffRequest);
|
||||
|
||||
List<BaseStaff> selectList(StaffRequest staffRequest);
|
||||
List<BaseStaff> selectListtype(StaffRequest staffRequest);
|
||||
int start(StaffRequest staffRequest) throws SmsException;
|
||||
|
||||
int insertBatch(List<BaseStaff> list);
|
||||
|
||||
List<PersonZBResponse> selectPersonZB(CourseAccountRequest request);
|
||||
//校验,查询当前当前门店是否有这个员工
|
||||
List<StaffRequest> selectCheck(BaseStaff baseStaff);
|
||||
|
||||
List<BaseStaff> selectByAllSalemans();
|
||||
|
||||
void staffAddRole(StaffRequest staffRequest);
|
||||
|
||||
StaffTemporaryVo staffLoginAndAddByWeChat(StaffRequest staffRequest) throws SmsException;
|
||||
|
||||
StaffTemporaryVo staffAddByWeChat(StaffRequest staffRequest) throws SmsException;
|
||||
StaffTemporaryVo staffAddByPc(StaffRequest staffRequest) throws SmsException;
|
||||
StaffTemporaryVo staffAddByWeChatNew(StaffRequest staffRequest) throws SmsException;
|
||||
|
||||
StaffTemporaryVo staffLogin(StaffRequest staffRequest) throws SmsException;
|
||||
|
||||
StaffTemporaryVo uniPhoneLogin(MemberRequest memberRequest) throws SmsException;
|
||||
StaffTemporaryVo uniPhoneLoginNew(MemberRequest memberRequest) throws SmsException;
|
||||
|
||||
Boolean staffSelect(StaffRequest staffRequest);
|
||||
}
|
||||
@ -0,0 +1,62 @@
|
||||
package com.ssm.manage.service;
|
||||
|
||||
import com.github.pagehelper.PageInfo;
|
||||
import com.ssm.core.service.BaseService;
|
||||
import com.ssm.manage.entity.BaseStore;
|
||||
import com.ssm.manage.entity.BaseStores;
|
||||
import com.ssm.manage.entity.SmsException;
|
||||
import com.ssm.manage.query.StoreRequest;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.util.List;
|
||||
import java.util.stream.Stream;
|
||||
|
||||
public interface SsmBaseStoreService extends BaseService<BaseStore> {
|
||||
int addStore(StoreRequest storeRequest, String userNum) throws SmsException;
|
||||
|
||||
PageInfo<StoreRequest> selectPage(StoreRequest storeRequest);
|
||||
PageInfo<BaseStores> selectPages(StoreRequest storeRequest);
|
||||
PageInfo<BaseStores> pagesparent(StoreRequest storeRequest);
|
||||
List<BaseStores> pagesorganization(StoreRequest storeRequest);
|
||||
List<BaseStores> pagesorganizationim(StoreRequest storeRequest);
|
||||
List<BaseStores> pagesorganizationimZONDDIAN(StoreRequest storeRequest);
|
||||
List<BaseStores> pagesorganizations(StoreRequest storeRequest);
|
||||
BaseStores pagesorganizationone(StoreRequest storeRequest);
|
||||
|
||||
BaseStore selectOne(StoreRequest storeRequest);
|
||||
|
||||
int updateStore(StoreRequest storeRequest, String userNum) throws SmsException;
|
||||
|
||||
int auditStore(StoreRequest storeRequest, String userNum) throws Exception;
|
||||
//发送短信详细
|
||||
int again(StoreRequest storeRequest) throws Exception;
|
||||
int unauditStore(StoreRequest storeRequest, String userNum) throws SmsException;
|
||||
|
||||
int start(StoreRequest storeRequest, String userNum) throws SmsException;
|
||||
int stop(StoreRequest storeRequest, String userNum) throws SmsException;
|
||||
|
||||
int addSms(StoreRequest storeRequest) throws SmsException;
|
||||
|
||||
int auditFiled(StoreRequest storeRequest, String userNum);
|
||||
|
||||
|
||||
List<BaseStore> selects(BaseStore baseStore);
|
||||
|
||||
int updateName(String memberName ) throws SmsException;
|
||||
|
||||
List<BaseStores> getBaseStoresByChildAndParent(Long storeId);
|
||||
|
||||
List<BaseStores> selectByStore(StoreRequest storeRequest);
|
||||
|
||||
List<BaseStore> selectChildren(Long storeId);
|
||||
|
||||
List<BaseStores> selectStoreS(List<Long> storeIds);
|
||||
|
||||
List<String> selectDescription();
|
||||
|
||||
List<String> selectGroup();
|
||||
|
||||
List<BaseStore> selectByIds(List<Long> storeIds);
|
||||
|
||||
PageInfo<BaseStore> PageResponse(StoreRequest storeRequest);
|
||||
}
|
||||
@ -0,0 +1,21 @@
|
||||
package com.ssm.manage.service;
|
||||
|
||||
import com.github.pagehelper.PageInfo;
|
||||
import com.ssm.core.service.BaseService;
|
||||
import com.ssm.manage.entity.BasePost;
|
||||
import com.ssm.manage.entity.BaseStore;
|
||||
import com.ssm.manage.entity.BaseWorkType;
|
||||
import com.ssm.manage.entity.SmsException;
|
||||
import com.ssm.manage.query.BasePostRequest;
|
||||
import com.ssm.manage.query.BaseWorkTypeRequest;
|
||||
|
||||
import java.text.ParseException;
|
||||
import java.util.List;
|
||||
|
||||
public interface SsmBaseWorkTypeService extends BaseService<BaseWorkType> {
|
||||
List<BaseWorkType> selectPage(BaseWorkTypeRequest baseWorkTypeRequest) throws SmsException, ParseException;
|
||||
int add(BaseWorkTypeRequest baseWorkTypeRequest,String phone) throws SmsException;
|
||||
int update(BaseWorkTypeRequest baseWorkTypeRequest,String phone) throws SmsException;
|
||||
int updateState(BaseWorkTypeRequest baseWorkTypeRequest,String phone) throws SmsException;
|
||||
int delete(BaseWorkTypeRequest baseWorkTypeRequest) throws SmsException;
|
||||
}
|
||||
@ -0,0 +1,9 @@
|
||||
package com.ssm.manage.service;
|
||||
|
||||
import com.ssm.core.service.BaseService;
|
||||
import com.ssm.manage.entity.BaseZengkaIssue;
|
||||
import com.ssm.manage.entity.BaseZengkaIssueRequest;
|
||||
|
||||
public interface SsmBaseZengkaIssueService extends BaseService<BaseZengkaIssue> {
|
||||
int insert(BaseZengkaIssue baseZengkaIssue);
|
||||
}
|
||||
@ -0,0 +1,27 @@
|
||||
package com.ssm.manage.service;
|
||||
|
||||
import com.github.pagehelper.PageInfo;
|
||||
import com.ssm.core.service.BaseService;
|
||||
import com.ssm.manage.entity.BaseZengka;
|
||||
import com.ssm.manage.entity.BaseZengkaIssue;
|
||||
import com.ssm.manage.entity.BaseZengkaRequest;
|
||||
import com.ssm.manage.entity.SmsException;
|
||||
import com.ssm.manage.query.StoreDailyRequest;
|
||||
import com.ssm.manage.response.BaseZengkaResponse;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.List;
|
||||
|
||||
public interface SsmBaseZengkaService extends BaseService<BaseZengka> {
|
||||
PageInfo<BaseZengkaResponse> selectPage(BaseZengkaRequest baseZengkaRequest) throws SmsException;
|
||||
int add(BaseZengkaRequest baseZengkaRequest,String key) throws SmsException;
|
||||
int update(BaseZengkaRequest baseZengkaRequest,String key) throws SmsException;
|
||||
int updateState(BaseZengkaRequest baseZengkaRequest,String key,Long storeId) throws SmsException;
|
||||
int updateState1(BaseZengkaRequest baseZengkaRequest,String key,Long storeId) throws SmsException;
|
||||
List seleZengkaIssue(List<BaseZengka> z)throws SmsException;
|
||||
List<BaseZengkaIssue> seleZengkaIssueNew(List<BaseZengka> z)throws SmsException;
|
||||
|
||||
BigDecimal NegativeKazinByDate(StoreDailyRequest storeDailyRequest);
|
||||
|
||||
List<BaseZengkaRequest> selectList(BaseZengkaRequest baseZengkaRequest);
|
||||
}
|
||||
@ -0,0 +1,19 @@
|
||||
package com.ssm.manage.service;
|
||||
|
||||
import com.ssm.core.service.BaseService;
|
||||
import com.ssm.manage.entity.SmsException;
|
||||
import com.ssm.manage.extendEntity.CallEntity;
|
||||
import com.ssm.manage.query.CashListRequest;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface SsmCallNumberService extends BaseService<CallEntity> {
|
||||
List<CallEntity> selectList(CallEntity callEntity);
|
||||
int addNumber(CallEntity callEntity);
|
||||
|
||||
void callNumber(CallEntity callEntity);
|
||||
|
||||
int addCashList(List<CashListRequest> listRequests, Long storeId, String storeName) throws SmsException;
|
||||
|
||||
void deleteCallNum(Long storeId);
|
||||
}
|
||||
@ -0,0 +1,30 @@
|
||||
package com.ssm.manage.service;
|
||||
|
||||
import com.github.pagehelper.PageInfo;
|
||||
import com.ssm.core.service.BaseService;
|
||||
import com.ssm.manage.entity.CancelDebtList;
|
||||
import com.ssm.manage.entity.SmsException;
|
||||
import com.ssm.manage.extendEntity.CallEntity;
|
||||
import com.ssm.manage.query.CancelDebtListRequest;
|
||||
import com.ssm.manage.query.CashListRequest;
|
||||
import com.ssm.manage.response.CancelDebtListReponse;
|
||||
import com.ssm.manage.response.CashListResponse;
|
||||
|
||||
import java.text.ParseException;
|
||||
|
||||
public interface SsmCancelDebtListService extends BaseService<CancelDebtList> {
|
||||
PageInfo<CancelDebtListReponse> selectPage(CancelDebtListRequest cashListRequest) throws SmsException, ParseException;
|
||||
PageInfo<CancelDebtListReponse> selectById(CancelDebtListRequest cashListRequest) throws SmsException, ParseException;
|
||||
|
||||
int add(CancelDebtListRequest cancelDebtListRequest,String staffPhone) throws SmsException;
|
||||
int update(CancelDebtListRequest cancelDebtListRequest,String staffPhone) throws SmsException;
|
||||
int audit(CancelDebtList cancelDebtListRequest,String staffPhone) throws SmsException;
|
||||
int submit(CancelDebtList cancelDebtListRequest,String staffPhone) throws SmsException;
|
||||
int recycle(CancelDebtList cancelDebtListRequest,String staffPhone) throws SmsException;
|
||||
int theaudit(CancelDebtList cancelDebtListRequest,String staffPhone) throws SmsException;
|
||||
int delete(CancelDebtList cancelDebtListRequest) throws SmsException;
|
||||
|
||||
void insert(CancelDebtList cancelDebtList);
|
||||
|
||||
void deleteByDocNum(CancelDebtList cancelDebtList);
|
||||
}
|
||||
@ -0,0 +1,10 @@
|
||||
package com.ssm.manage.service;
|
||||
|
||||
import com.ssm.core.service.BaseService;
|
||||
import com.ssm.manage.entity.CancelDebtList;
|
||||
import com.ssm.manage.entity.CancelDebtMx;
|
||||
|
||||
public interface SsmCancelDebtMxService extends BaseService<CancelDebtMx> {
|
||||
|
||||
}
|
||||
|
||||
@ -0,0 +1,26 @@
|
||||
package com.ssm.manage.service;
|
||||
|
||||
import com.ssm.core.service.BaseService;
|
||||
import com.ssm.manage.entity.CardChangeInProject;
|
||||
import com.ssm.manage.entity.CardChangeList;
|
||||
import com.ssm.manage.entity.SmsException;
|
||||
import com.ssm.manage.query.CardChangeInProjectRequest;
|
||||
import com.ssm.manage.query.CardChangeListRequest;
|
||||
import com.ssm.manage.response.CardChangeInProjectResponse;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface SsmCardChangeInProjectService extends BaseService<CardChangeInProject> {
|
||||
List<CardChangeInProjectResponse> selectList(CardChangeListRequest cardChangeListRequest);
|
||||
CardChangeInProject insert(CardChangeList cardChangeList, CardChangeInProjectRequest cardChangeInProjectRequest) throws SmsException;
|
||||
CardChangeInProject insertNew(CardChangeList cardChangeList, CardChangeInProjectRequest cardChangeInProjectRequest) throws SmsException;
|
||||
CardChangeInProject audit(CardChangeList cardChangeList, CardChangeInProject cardChangeInProjectRequest) throws SmsException;
|
||||
int updateStaff(CardChangeInProjectRequest cardChangeInProjectRequest) throws SmsException;
|
||||
int cancel(CardChangeList cardChangeList) throws SmsException;
|
||||
CardChangeInProject insertNT(CardChangeList cardChangeList, CardChangeInProjectRequest cardChangeInProjectRequest) throws SmsException;
|
||||
int audit(CardChangeList cardChangeList) throws SmsException;
|
||||
int unAudit(CardChangeList cardChangeList) throws SmsException;
|
||||
List<CardChangeInProject> selectListCard(Long storeId,String dateStr) throws SmsException;
|
||||
|
||||
List<CardChangeInProject> selectListNew(CardChangeListRequest cardChangeListRequest);
|
||||
}
|
||||
@ -0,0 +1,31 @@
|
||||
package com.ssm.manage.service;
|
||||
|
||||
import com.ssm.core.service.BaseService;
|
||||
import com.ssm.manage.entity.CardChangeList;
|
||||
import com.ssm.manage.entity.CardChangeOutProject;
|
||||
import com.ssm.manage.entity.SmsException;
|
||||
import com.ssm.manage.query.CardChangeInProjectRequest;
|
||||
import com.ssm.manage.query.CardChangeListRequest;
|
||||
import com.ssm.manage.query.CardChangeOutProjectRequest;
|
||||
import com.ssm.manage.response.CardChangeOutProjectResponse;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface SsmCardChangeOutProjectService extends BaseService<CardChangeOutProject> {
|
||||
List<CardChangeOutProject> selectList(CardChangeOutProjectRequest cardChangeOutProjectRequest);
|
||||
List<CardChangeOutProjectResponse> selectList1(CardChangeOutProjectRequest cardChangeOutProjectRequest);
|
||||
int insert(CardChangeList cardChangeList, List<CardChangeOutProjectRequest> cardChangeOutProjectRequests) throws SmsException;
|
||||
int insertNew(CardChangeList cardChangeList, List<CardChangeOutProjectRequest> cardChangeOutProjectRequests) throws SmsException;
|
||||
int inserts(CardChangeList cardChangeList, List<CardChangeOutProject> cardChangeOutProjectRequests) throws SmsException;
|
||||
int cancel(CardChangeList cardChangeList) throws SmsException;
|
||||
int updateStaff(List<CardChangeOutProjectRequest> cardChangeOutProjectRequestList) throws SmsException;
|
||||
int insertNT(CardChangeList cardChangeList, List<CardChangeOutProjectRequest> cardChangeOutProjectRequests) throws SmsException;
|
||||
int audit(CardChangeList cardChangeList) throws SmsException;
|
||||
int unAudit(CardChangeList cardChangeList) throws SmsException;
|
||||
|
||||
int insertLCNT(CardChangeList cardChangeList, CardChangeListRequest cardChangeListRequest) throws SmsException;
|
||||
|
||||
int updateStaffLCNT(List<CardChangeOutProjectRequest> cardChangeOutProjectRequests) throws SmsException;
|
||||
|
||||
List<CardChangeOutProject> selectNew(CardChangeListRequest cardChangeListRequest);
|
||||
}
|
||||
@ -0,0 +1,59 @@
|
||||
package com.ssm.manage.service;
|
||||
|
||||
import com.github.pagehelper.PageInfo;
|
||||
import com.ssm.core.service.BaseService;
|
||||
import com.ssm.manage.entity.CardChangeInProject;
|
||||
import com.ssm.manage.entity.CardChangeList;
|
||||
import com.ssm.manage.entity.CardChangeOutProject;
|
||||
import com.ssm.manage.entity.SmsException;
|
||||
import com.ssm.manage.extendEntity.StoreDaily;
|
||||
import com.ssm.manage.query.CardChangeListRequest;
|
||||
import com.ssm.manage.query.StoreDailyRequest;
|
||||
import com.ssm.manage.response.CardChangeDayVo;
|
||||
import com.ssm.manage.response.CardChangeInProjectResponse;
|
||||
import com.ssm.manage.response.CardChangeOutProjectResponse;
|
||||
|
||||
import javax.smartcardio.Card;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
public interface SsmCardChangeService extends BaseService<CardChangeList> {
|
||||
PageInfo<CardChangeList> selectPage(CardChangeListRequest cardChangeListRequest);
|
||||
PageInfo<CardChangeList> selectPageNew(CardChangeListRequest cardChangeListRequest);
|
||||
PageInfo<CardChangeList> pageDetail(CardChangeListRequest cardChangeListRequest);
|
||||
|
||||
int add(CardChangeListRequest cardChangeListRequest) throws SmsException;
|
||||
int addNew(CardChangeListRequest cardChangeListRequest) throws SmsException;
|
||||
|
||||
int updateStaff(CardChangeListRequest cardChangeListRequest) throws SmsException;
|
||||
|
||||
int cancel(CardChangeListRequest cardChangeListRequest) throws SmsException;
|
||||
|
||||
int NTAdd(CardChangeListRequest cardChangeListRequest) throws SmsException;
|
||||
|
||||
int sendAudit(CardChangeListRequest cardChangeListRequest)throws SmsException;
|
||||
|
||||
int revoke(CardChangeListRequest cardChangeListRequest)throws SmsException;
|
||||
|
||||
int audit(CardChangeListRequest cardChangeListRequest)throws SmsException;
|
||||
|
||||
int unAudit(CardChangeListRequest cardChangeListRequest)throws SmsException;
|
||||
List<CardChangeInProjectResponse> selectList(Long storeId, String date);
|
||||
List<CardChangeInProjectResponse> selectListByStartTimeAndEndTime(Long storeId, String date,Date startTime,Date endTime);
|
||||
List<CardChangeInProjectResponse> selectListByStartTimeAndEndTime(Long storeId,Date startTime,Date endTime);
|
||||
List<CardChangeInProjectResponse> selectListAbnormal(Long storeId, String date);
|
||||
List<CardChangeInProject> selectListchia(Long storeId, Date startDate, Date endDate);
|
||||
List<CardChangeList> selectListSalem(CardChangeList cardChangeList);
|
||||
int updateState(CardChangeListRequest cardChangeListRequest,String loginAccount)throws SmsException;
|
||||
|
||||
List<CardChangeList> selectFKJ(CardChangeList cardChangeList);
|
||||
List<CardChangeList> selectFKJByDate(CardChangeList cardChangeList);
|
||||
|
||||
List<CardChangeOutProjectResponse> selectOutList(Long storeId, String date);
|
||||
|
||||
List<CardChangeDayVo> selectByDay(List<Long> storeIds, Date startTime, Date endTime);
|
||||
|
||||
List<StoreDaily> selectByDayGroupByDateAndStoreId(StoreDailyRequest storeDailyRequest);
|
||||
|
||||
List<CardChangeList> selectNew(CardChangeListRequest cardChangeListRequest);
|
||||
}
|
||||
@ -0,0 +1,14 @@
|
||||
package com.ssm.manage.service;
|
||||
|
||||
import com.ssm.core.service.BaseService;
|
||||
import com.ssm.manage.entity.CashAccountList;
|
||||
import com.ssm.manage.entity.CashList;
|
||||
import com.ssm.manage.entity.ServiceOrders;
|
||||
import com.ssm.manage.query.RechargeAccountRequest;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface SsmCashAccountSrevice extends BaseService<CashAccountList> {
|
||||
int add(CashAccountList cashAccountList, CashList cashList);
|
||||
int add(CashAccountList cashAccountList, ServiceOrders serviceOrders);
|
||||
}
|
||||
@ -0,0 +1,8 @@
|
||||
package com.ssm.manage.service;
|
||||
|
||||
import com.ssm.core.service.BaseService;
|
||||
import com.ssm.manage.entity.CashDownloadRecord;
|
||||
|
||||
public interface SsmCashDownloadRecordService extends BaseService<CashDownloadRecord> {
|
||||
int addRecord(CashDownloadRecord cashDownloadRecord);
|
||||
}
|
||||
@ -0,0 +1,9 @@
|
||||
package com.ssm.manage.service;
|
||||
|
||||
import com.ssm.core.service.BaseService;
|
||||
import com.ssm.manage.entity.BaseProject;
|
||||
import com.ssm.manage.entity.CashPayment;
|
||||
|
||||
public interface SsmCashPaymentService extends BaseService<CashPayment> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,93 @@
|
||||
package com.ssm.manage.service;
|
||||
|
||||
import com.github.pagehelper.PageInfo;
|
||||
import com.ssm.core.service.BaseService;
|
||||
import com.ssm.manage.entity.*;
|
||||
import com.ssm.manage.extendEntity.StaffProgress;
|
||||
import com.ssm.manage.extendEntity.StoreDaily;
|
||||
import com.ssm.manage.query.AccountTradeRecordRequest;
|
||||
import com.ssm.manage.query.CashListRequest;
|
||||
import com.ssm.manage.query.StoreDailyRequest;
|
||||
import com.ssm.manage.response.CashDayVo;
|
||||
import com.ssm.manage.response.CashListResponse;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.text.ParseException;
|
||||
import java.util.Collection;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
public interface SsmCashService extends BaseService<CashList> {
|
||||
void createTable();
|
||||
PageInfo<CashListResponse> selectPage(CashListRequest cashListRequest) throws SmsException, ParseException;
|
||||
|
||||
PageInfo<CashListResponse> selectCashList(CashListRequest cashListRequest) throws SmsException, ParseException;
|
||||
PageInfo<CashListResponse> selectCashListNew(CashListRequest cashListRequest) throws SmsException, ParseException;
|
||||
PageInfo<CashListResponse> cashListDetail(CashListRequest cashListRequest) throws SmsException, ParseException;
|
||||
PageInfo<CashListResponse> selectCashLists(CashListRequest cashListRequest) throws SmsException, ParseException;
|
||||
|
||||
String getDocNum(CashListRequest cashListRequest,String storeNum);
|
||||
|
||||
List<AccountTradeRecord> doCash(List<CashListRequest> cashListRequestList, String phone, CashSignatureFile cashSignatureFile) throws SmsException, ParseException;
|
||||
List<AccountTradeRecord> doCashSalem(List<CashListRequest> cashListRequestList, String phone, CashSignatureFile cashSignatureFile,Long storeId) throws SmsException, ParseException;
|
||||
List<AccountTradeRecord> doCashsj(List<CashListRequest> cashListRequestList, String phone, CashSignatureFile cashSignatureFile,Long storeId) throws SmsException, ParseException;
|
||||
|
||||
int cancel(List<CashListRequest> cashListRequestList, String phone) throws SmsException;
|
||||
|
||||
int addCashList(CashList cashList) throws SmsException;
|
||||
List<AccountTradeRecord> addCashList(List<CashListRequest> listRequests, Long storeId, String storeName, String phone, CashSignatureFile cashSignatureFile) throws SmsException, ParseException;
|
||||
List<AccountTradeRecord> addCash(List<CashListRequest> listRequests, Long storeId, String storeName, String phone, CashSignatureFile cashSignatureFile) throws SmsException, ParseException;
|
||||
|
||||
int updateStaff(List<CashListRequest> cashListRequestList, Long storeId) throws SmsException;
|
||||
|
||||
int cancelRowOnly(RefundCash refundCash, RefundOrderList refundOrderList) throws SmsException;
|
||||
|
||||
int restoreRowOnly(RefundCash refundCash, RefundOrderList refundOrderList) throws SmsException;
|
||||
|
||||
List<CashListResponse> selectList(Long storeId, String dateStr, Date date) throws SmsException, ParseException;
|
||||
List<CashList> selectListByStartTimeAndEndTime(Long storeId, String dateStr, Date startTime,Date endTime) throws SmsException, ParseException;
|
||||
List<CashListResponse> selectListchia(Long storeId, Date startDate,Date endDate) throws SmsException, ParseException;
|
||||
List<CashListResponse> selectListAbnormal(Long storeId, String dateStr, Date date) throws SmsException, ParseException;
|
||||
List<CashListResponse> selectListAbnormalNew(Long storeId, Date startTime,Date endTime) throws SmsException, ParseException;
|
||||
List<CashListResponse> selectLists(Long storeId, String startDate, String endDate, Date date) throws SmsException, ParseException;
|
||||
|
||||
PageInfo<CashListResponse> selectByMember(CashListRequest cashListRequest) throws SmsException;
|
||||
|
||||
PageInfo<CashListResponse> selectProgress(CashListRequest cashListRequest) throws SmsException, ParseException;
|
||||
|
||||
PageInfo<StaffProgress> selectStaffProgress(StaffProgress staffProgress) throws SmsException;
|
||||
|
||||
List<StoreDaily> selectDayRecord(StoreDailyRequest storeDailyRequest) throws SmsException;
|
||||
List<StoreDaily> selectDayRecordManAndWoman(StoreDailyRequest storeDailyRequest) throws SmsException;
|
||||
List<StoreDaily> selectDayRecordRec(StoreDailyRequest storeDailyRequest) throws SmsException;
|
||||
List<StoreDaily> selectDayRecordRecByDate(StoreDailyRequest storeDailyRequest) throws SmsException;
|
||||
List<StoreDaily> selectDayRecordCou(StoreDailyRequest storeDailyRequest) throws SmsException;
|
||||
List<StoreDaily> selectDayRecordCouByDate(StoreDailyRequest storeDailyRequest) throws SmsException;
|
||||
|
||||
PageInfo<CashListResponse> selectByRecharge(AccountTradeRecordRequest accountTradeRecordRequest);
|
||||
|
||||
List<StoreDaily> selectRecordByMonth(StoreDailyRequest storeDailyRequest) throws SmsException, ParseException;
|
||||
|
||||
List<CashList> selectDownloadRecord(CashListRequest cashListRequest) throws SmsException, ParseException;
|
||||
|
||||
List<CashList> selectList(CashListRequest cashListRequest) throws SmsException, ParseException ;
|
||||
|
||||
List<CashList> selectListSalem(CashList cashList);
|
||||
int updatechia(CashList cashList);
|
||||
|
||||
//补单短信重发
|
||||
AccountTradeRecord retransmission(AccountTradeRecord accountTradeRecord) throws SmsException, ParseException;
|
||||
|
||||
List<CashList> getAllCashList(CashListRequest cashListRequest);
|
||||
|
||||
List<CashDayVo> selectByDay(StoreDailyRequest storeDailyRequest);
|
||||
|
||||
List<StoreDaily> selectByDayGroupByDateAndStoreId(StoreDailyRequest storeDailyRequest);
|
||||
|
||||
List<CashList> selectListByMonthly(CashListRequest cashListRequest);
|
||||
|
||||
BigDecimal selectFKJByRefundCashGifMoney(StoreDailyRequest storeDailyRequest);
|
||||
|
||||
PageInfo<CashListResponse> cashListByDocNum(CashListRequest cashListRequest);
|
||||
|
||||
}
|
||||
@ -0,0 +1,8 @@
|
||||
package com.ssm.manage.service;
|
||||
|
||||
import com.ssm.core.service.BaseService;
|
||||
import com.ssm.manage.entity.CashSignatureFile;
|
||||
|
||||
public interface SsmCashSignatureService extends BaseService<CashSignatureFile> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,12 @@
|
||||
package com.ssm.manage.service;
|
||||
|
||||
import com.ssm.core.service.BaseService;
|
||||
import com.ssm.manage.entity.ClockService;
|
||||
import com.ssm.manage.entity.SmsException;
|
||||
import com.ssm.manage.query.ClockServiceRequest;
|
||||
|
||||
public interface SsmClockServiceService extends BaseService<ClockService> {
|
||||
int add(ClockServiceRequest clockServiceRequest) throws SmsException;
|
||||
int upClock(ClockServiceRequest clockServiceRequest) throws SmsException;
|
||||
int nextClock(ClockServiceRequest clockServiceRequest) throws SmsException;
|
||||
}
|
||||
@ -0,0 +1,21 @@
|
||||
package com.ssm.manage.service;
|
||||
|
||||
import com.github.pagehelper.PageInfo;
|
||||
import com.ssm.core.service.BaseService;
|
||||
import com.ssm.manage.entity.BaseCollectionType;
|
||||
import com.ssm.manage.entity.SmsException;
|
||||
import com.ssm.manage.query.CollectionTypeRequest;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface SsmCollectionTypeService extends BaseService<BaseCollectionType> {
|
||||
PageInfo<BaseCollectionType> selectPage(CollectionTypeRequest collectionTypeRequest);
|
||||
|
||||
int saveCollectionType(CollectionTypeRequest collectionTypeRequest) throws SmsException;
|
||||
|
||||
int updateCollectionType(CollectionTypeRequest collectionTypeRequest) throws SmsException;
|
||||
|
||||
int updateCollectionTypeState(CollectionTypeRequest collectionTypeRequest);
|
||||
|
||||
List<BaseCollectionType> selectList();
|
||||
}
|
||||
@ -0,0 +1,80 @@
|
||||
package com.ssm.manage.service;
|
||||
|
||||
import com.github.pagehelper.PageInfo;
|
||||
import com.ssm.core.service.BaseService;
|
||||
import com.ssm.manage.entity.*;
|
||||
import com.ssm.manage.query.*;
|
||||
import com.ssm.manage.response.CourseAccountResponse;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.List;
|
||||
|
||||
public interface SsmCourseAccountService extends BaseService<CourseAccount> {
|
||||
|
||||
CourseAccount setCourseAccount(CourseList courseList, CourseAccount courseAccount, StoreParament storeParament);
|
||||
CourseAccount setCourseAccountS(CourseList courseList, CourseAccount courseAccount, StoreParament storeParament) throws SmsException;
|
||||
int addCourseAccount(CourseAccount courseAccount) throws SmsException;
|
||||
int updateStore(CourseAccount courseAccount);
|
||||
int repayCourseAccount(RepayAccountListRequest rechargeAccount, RepayTradeRequest repayTradeRequest, RepayList repayList) throws SmsException;
|
||||
int cancelRepayCourseAccount(RepayAccountListRequest rechargeAccount, RepayTradeRequest repayTradeRequest, RepayList repayList) throws SmsException;
|
||||
CourseAccount subCount(CourseAccount courseAccount, Integer subCount, Integer type) throws SmsException;
|
||||
CourseAccount subCountNew(CourseAccount courseAccount, Integer subCount, Integer type) throws SmsException;
|
||||
CourseAccount subCount1(CardChangeList cardChangeList,CourseAccount courseAccount, Integer subCount, Integer type,BigDecimal outMoney) throws SmsException;
|
||||
CourseAccount subCount(CourseAccount courseAccount, Integer subCount, BigDecimal money) throws SmsException;
|
||||
CourseAccount subCount(CourseAccount courseAccount, Integer subCount, Integer type,Integer subCountcoun) throws SmsException;
|
||||
CourseAccount subCount(CourseAccount courseAccount, Integer subCount, Integer type,BigDecimal rechargeMoney) throws SmsException;
|
||||
CourseAccount subCount(CourseAccount courseAccount, Integer subCount, Integer type,CourseList courseList) throws SmsException;
|
||||
CourseAccount addCount(CourseAccount courseAccount, Integer addCount) throws SmsException;
|
||||
CourseAccount addCountNew(CourseAccount courseAccount, CashList cashList) throws SmsException;
|
||||
CourseAccount addCount(CourseAccount courseAccount, Integer addCount,BigDecimal rechargeMoney) throws SmsException;
|
||||
CourseAccount subCount(CourseAccount courseAccount) throws SmsException;
|
||||
List<CourseAccount> selectList(CourseAccountRequest courseAccountRequest);
|
||||
List<CourseAccount> selectListdeal(CourseAccountRequest courseAccountRequest);
|
||||
List<CourseAccount> selectListdeals(CourseAccountRequest courseAccountRequest);
|
||||
List<CourseAccount> selectListdealsalls(CourseAccountRequest courseAccountRequest);
|
||||
|
||||
List<CourseAccount> selectListdelay(CourseAccountRequest courseAccountRequest);
|
||||
|
||||
List<CourseAccount> selectListdealsall(CourseAccountRequest courseAccountRequest);
|
||||
List<CourseAccount> selectListDisable(CourseAccountRequest courseAccountRequest);
|
||||
List<CourseAccount> selectRefundList(CourseAccountRequest courseAccountRequest);
|
||||
List<CourseAccount> selectRefundListone(CourseAccountRequest courseAccountRequest);
|
||||
|
||||
int repay(RepayTradeList repayTradeList, RepayList repayList, DebtList debtList) throws SmsException;
|
||||
int repayNew(RepayTradeList repayTradeList, RepayList repayList, DebtList debtList) throws SmsException;
|
||||
int repayPromotion(RepayTradeList repayTradeList, RepayList repayList, DebtList debtList) throws SmsException;
|
||||
int repayPromotionNew(RepayTradeList repayTradeList, RepayList repayList, DebtList debtList) throws SmsException;
|
||||
int repayPromotionNewByRecharge(RepayTradeList repayTradeList, RepayList repayList, DebtList debtList) throws SmsException;
|
||||
int repayCancel(RepayTradeList repayTradeList, RepayList repayList, DebtList debtList) throws SmsException;
|
||||
int repayCancelNew(RepayTradeList repayTradeList, RepayList repayList, DebtList debtList) throws SmsException;
|
||||
int repayCancelPromotion(RepayTradeList repayTradeList, RepayList repayList, DebtList debtList) throws SmsException;
|
||||
int repayCancelPromotionNew(RepayTradeList repayTradeList, RepayList repayList, DebtList debtList) throws SmsException;
|
||||
int cancelPromotionRecharge(RepayTradeList repayTradeList, RepayList repayList, DebtList debtList) throws SmsException;
|
||||
|
||||
int updateState(Long id, int state);
|
||||
|
||||
CourseAccount subCount(RefundCourse refundCourse) throws SmsException;
|
||||
CourseAccount addCount(RefundCourse refundCourse) throws SmsException;
|
||||
|
||||
CourseAccount addCourseAccount( CourseAccount courseAccount, PromotionProject promotionProject, Integer limitCount) throws SmsException;
|
||||
CourseAccount addCourseAccountByPromotionRecharge( CourseAccount courseAccount, PromotionProject promotionProject, Integer limitCount) throws SmsException;
|
||||
CourseAccount addCourseAccount(CourseAccount courseAccount, PromotionProject promotionProject, Integer limitCount, DocPromotion docPromotion , BigDecimal TotalMoney) throws SmsException;
|
||||
CourseAccount subCourseAccount( DocPromotion promotion, PromotionProject promotionProject) throws SmsException;
|
||||
|
||||
int update(CourseAccountRequest courseAccountRequest, String phone);
|
||||
|
||||
int insertBatch(List<CourseAccount> list, Long storeId, String storeName);
|
||||
|
||||
//会员排行榜查询会员总疗程金额
|
||||
List<CourseAccountResponse> memberCourse(CourseAccountRequest courseAccountRequest);
|
||||
|
||||
CourseAccount addCourseAccount( CourseAccount courseAccount, CardChangeList cardChangeList, CardChangeInProject cardChangeInProject) throws SmsException;
|
||||
|
||||
List<CourseAccount> selectListByJZ(CourseAccountRequest courseAccountRequest);
|
||||
|
||||
List<CourseAccount> selectListByMemberList(CourseAccountRequest courseAccountRequest);
|
||||
|
||||
List<CourseAccount> exportachi(CourseAccountRequest courseAccountRequest);
|
||||
|
||||
PageInfo<CourseAccount> exportachiByPage(CourseAccountRequest courseAccountRequest);
|
||||
}
|
||||
@ -0,0 +1,20 @@
|
||||
package com.ssm.manage.service;
|
||||
|
||||
import com.ssm.core.service.BaseService;
|
||||
import com.ssm.manage.entity.CourseAccount;
|
||||
import com.ssm.manage.entity.CoursePayList;
|
||||
import com.ssm.manage.entity.RechargeTurnCourse;
|
||||
import com.ssm.manage.entity.SmsException;
|
||||
import com.ssm.manage.query.CardChangeOutProjectRequest;
|
||||
import com.ssm.manage.query.CoursePayListRequest;
|
||||
import com.ssm.manage.response.CardChangeOutProjectResponse;
|
||||
import com.ssm.manage.response.CoursePayListResponse;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface SsmCoursePayListService extends BaseService<CoursePayList> {
|
||||
int insert(List<CoursePayListRequest> coursePayListRequests, RechargeTurnCourse rechargeTurnCourse) throws SmsException;
|
||||
List<CoursePayListResponse> selectOutList(Long storeId, String date);
|
||||
|
||||
List<CoursePayList> selectCourseTurnRecharge(List<String> rechargeTurnCoursesDocNum);
|
||||
}
|
||||
@ -0,0 +1,86 @@
|
||||
package com.ssm.manage.service;
|
||||
|
||||
import com.github.pagehelper.PageInfo;
|
||||
import com.ssm.core.service.BaseService;
|
||||
import com.ssm.manage.entity.CourseList;
|
||||
import com.ssm.manage.entity.CourseVo;
|
||||
import com.ssm.manage.entity.SmsException;
|
||||
import com.ssm.manage.extendEntity.StoreDaily;
|
||||
import com.ssm.manage.query.CourseListRequest;
|
||||
import com.ssm.manage.query.CourseListRequestNew;
|
||||
import com.ssm.manage.query.CourseListRequestNews;
|
||||
import com.ssm.manage.query.StoreDailyRequest;
|
||||
import com.ssm.manage.response.CourseDayVo;
|
||||
import com.ssm.manage.response.CourseListResponse;
|
||||
import com.ssm.manage.response.RateContribution;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.text.ParseException;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
public interface SsmCourseService extends BaseService<CourseList> {
|
||||
void createTable();
|
||||
PageInfo<CourseListResponse> selectPage(CourseListRequest courseListRequest) throws SmsException, ParseException;
|
||||
PageInfo<CourseListResponse> selectPageNew(CourseListRequest courseListRequest) throws SmsException, ParseException;
|
||||
PageInfo<CourseListResponse> memberPage(CourseListRequest courseListRequest) throws SmsException, ParseException;
|
||||
PageInfo<CourseListResponse> pageDetail(CourseListRequest courseListRequest) throws SmsException, ParseException;
|
||||
|
||||
int addCourse(CourseListRequest courseListRequest) throws SmsException, IOException;
|
||||
|
||||
int cancel(CourseListRequest courseListRequest) throws SmsException;
|
||||
int memberInitCancel(CourseListRequest courseListRequest) throws SmsException;
|
||||
|
||||
int updateStaff(CourseListRequest courseListRequest) throws SmsException;
|
||||
int updateMemberInitStaff(CourseListRequest courseListRequest) throws SmsException;
|
||||
|
||||
List<CourseListResponse> selectList(Long storeId, String dateStr, Date date) throws SmsException, ParseException;
|
||||
List<CourseList> selectListByStarteTimeAndEndTime(Long storeId, String dateStr, Date startTime,Date endTime) throws SmsException, ParseException;
|
||||
List<CourseListResponse> memberInitStaff(Long storeId, String dateStr, Date date) throws SmsException, ParseException;
|
||||
List<CourseListResponse> selectListchia(Long storeId, Date date) throws SmsException, ParseException;
|
||||
List<CourseListResponse> selectListAbnormal(Long storeId, String dateStr, Date date) throws SmsException, ParseException;
|
||||
List<CourseListResponse> selectLists(Long storeId, String startDate,String endDate, Date date) throws SmsException, ParseException;
|
||||
|
||||
StoreDaily selectDayRecord(StoreDailyRequest storeDailyRequest);
|
||||
//加价转疗程
|
||||
StoreDaily selectOutcourse(StoreDailyRequest storeDailyRequest);
|
||||
StoreDaily NegativeKazin(StoreDailyRequest storeDailyRequest);
|
||||
|
||||
List<CourseList> selectListSalem(CourseList courseList);
|
||||
List<CourseList> selectByCourseListMemberInit(CourseList courseList);
|
||||
CourseList selectOneS(CourseList courseList);
|
||||
int updateOne(CourseList courseList);
|
||||
List<CourseList> selectList(CourseList courseList);
|
||||
List<CourseList> selectMemberInitList(CourseList courseList);
|
||||
List<CourseList> selectList(CourseListRequest courseListRequest);
|
||||
List<CourseList> selectListByMemberInitList(CourseListRequest courseListRequest);
|
||||
|
||||
List<CourseList> selectList2(CourseList courseList);
|
||||
|
||||
List<CourseListResponse> selectListContribution(Long storeId, Date date) throws SmsException, ParseException;
|
||||
|
||||
// void addCourseList(CourseListRequestNews courseListRequestNews) throws SmsException;
|
||||
|
||||
int addCourse1(CourseListRequestNew courseListRequestNew) throws SmsException;
|
||||
int memberInit(CourseListRequestNew courseListRequestNew) throws SmsException;
|
||||
|
||||
StoreDaily selectDocId(StoreDailyRequest storeDailyRequest);
|
||||
|
||||
CourseVo selectCourseOne(CourseListRequest courseListRequest);
|
||||
CourseVo selectCourseMemberInit(CourseListRequest courseListRequest);
|
||||
|
||||
List<CourseDayVo> selectByDay(StoreDailyRequest storeDailyRequest);
|
||||
|
||||
List<CourseDayVo> selectCourseCoopation(StoreDailyRequest storeDailyRequest);
|
||||
|
||||
List<CourseList> selectCourseByProjectAndDocId(CourseList courseList);
|
||||
|
||||
CourseVo selectCourseOneByError(CourseListRequest courseListRequest);
|
||||
|
||||
List<StoreDaily> selectByDayGroupByDateAndStoreId(StoreDailyRequest storeDailyRequest);
|
||||
|
||||
List<CourseList> selectGroupCourse(CourseListRequest courseListRequest);
|
||||
|
||||
StoreDaily NegativeKazinByDate(StoreDailyRequest storeDailyRequest);
|
||||
|
||||
}
|
||||
@ -0,0 +1,26 @@
|
||||
package com.ssm.manage.service;
|
||||
|
||||
import com.github.pagehelper.PageInfo;
|
||||
import com.ssm.core.service.BaseService;
|
||||
import com.ssm.manage.entity.DebtList;
|
||||
import com.ssm.manage.entity.SmsException;
|
||||
import com.ssm.manage.query.DebtListRequest;
|
||||
import com.ssm.manage.response.DebtDayVo;
|
||||
import com.ssm.manage.response.DebtListResponse;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
public interface SsmDebtService extends BaseService<DebtList> {
|
||||
PageInfo<DebtListResponse> selectPage(DebtListRequest debtListRequest) throws SmsException;
|
||||
PageInfo<DebtListResponse> selectPageNew(DebtListRequest debtListRequest);
|
||||
List<DebtList> selectList(DebtListRequest debtListRequest);
|
||||
List<DebtList> selectLists(DebtList debtList);
|
||||
int addDebt(DebtListRequest debtListRequest);
|
||||
|
||||
int deleteDebt(DebtListRequest debtListRequest);
|
||||
|
||||
int insertBatch(List<DebtList> lists, Long storeId, String storeName);
|
||||
|
||||
List<DebtDayVo> selectByDay(List<Long> storeIds, Date startTime, Date endTime);
|
||||
}
|
||||
@ -0,0 +1,11 @@
|
||||
package com.ssm.manage.service;
|
||||
|
||||
import com.ssm.core.service.BaseService;
|
||||
import com.ssm.manage.entity.DocPromotionProject;
|
||||
import com.ssm.manage.query.DocPromotionRequest;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface SsmDocPromotionProjectService extends BaseService<DocPromotionProject> {
|
||||
List<DocPromotionProject> selectList(DocPromotionRequest docPromotionRequest);
|
||||
}
|
||||
@ -0,0 +1,41 @@
|
||||
package com.ssm.manage.service;
|
||||
|
||||
import com.github.pagehelper.PageInfo;
|
||||
import com.ssm.core.service.BaseService;
|
||||
import com.ssm.manage.entity.DocPromotion;
|
||||
import com.ssm.manage.entity.SmsException;
|
||||
import com.ssm.manage.extendEntity.StoreDaily;
|
||||
import com.ssm.manage.query.DocPromotionRequest;
|
||||
import com.ssm.manage.query.StoreDailyRequest;
|
||||
import com.ssm.manage.response.DocPromotionResponse;
|
||||
import com.ssm.manage.response.PromotionDayVo;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
public interface SsmDocPromotionService extends BaseService<DocPromotion> {
|
||||
PageInfo<DocPromotionResponse> selectPage(DocPromotionRequest docPromotionRequest);
|
||||
PageInfo<DocPromotionResponse> selectPageNew(DocPromotionRequest docPromotionRequest);
|
||||
PageInfo<DocPromotionResponse> pageDetail(DocPromotionRequest docPromotionRequest);
|
||||
|
||||
int addDoc(DocPromotionRequest docPromotionRequest) throws SmsException;
|
||||
int addPromotionRechargeList(DocPromotionRequest docPromotionRequest) throws SmsException;
|
||||
|
||||
int cancel(DocPromotionRequest docPromotionRequest) throws SmsException;
|
||||
int cancelPromotionRecharge(DocPromotionRequest docPromotionRequest) throws SmsException;
|
||||
|
||||
int updateStaff(DocPromotionRequest docPromotionRequest) throws SmsException;
|
||||
|
||||
List<DocPromotionResponse> selectList(Long storeId, String dateStr);
|
||||
List<DocPromotion> selectFKJ(DocPromotionRequest docPromotionRequest);
|
||||
List<DocPromotion> selectFKJByDate(DocPromotionRequest docPromotionRequest);
|
||||
List<DocPromotionResponse> selectListAbnormal(Long storeId, String dateStr);
|
||||
List<DocPromotionResponse> selectLists(Long storeId, String startDate,String endDte);
|
||||
StoreDaily selectDayRecord(StoreDailyRequest storeDailyRequest);
|
||||
|
||||
List<PromotionDayVo> selectByDay(List<Long> storeIds, Date startTime, Date endTime);
|
||||
|
||||
List<DocPromotion> selectList(DocPromotionRequest docPromotionRequest);
|
||||
|
||||
List<DocPromotion> selectListByStartTimeAndEndTime(Long id, Date startTime, Date endTime);
|
||||
}
|
||||
@ -0,0 +1,26 @@
|
||||
package com.ssm.manage.service;
|
||||
|
||||
import com.ssm.core.service.BaseService;
|
||||
import com.ssm.manage.entity.SmsException;
|
||||
import com.ssm.manage.extendEntity.HairCallEntity;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface SsmHairCallNumService extends BaseService<HairCallEntity> {
|
||||
List<HairCallEntity> selectList(HairCallEntity hairCallEntity);
|
||||
Integer selectNum(HairCallEntity hairCallEntity);
|
||||
|
||||
HairCallEntity addNum(HairCallEntity hairCallEntity) throws SmsException;
|
||||
|
||||
HairCallEntity callNum(HairCallEntity hairCallEntity) throws SmsException, InterruptedException;
|
||||
|
||||
void passNum(HairCallEntity hairCallEntity);
|
||||
|
||||
void deleteCallNum(HairCallEntity hairCallEntity);
|
||||
|
||||
void connectNum (HairCallEntity hairCallEntity);
|
||||
|
||||
void passCallNum(HairCallEntity hairCallEntity);
|
||||
|
||||
HairCallEntity nextWaitNum(HairCallEntity hairCallEntity);
|
||||
}
|
||||
@ -0,0 +1,17 @@
|
||||
package com.ssm.manage.service;
|
||||
|
||||
import com.github.pagehelper.PageInfo;
|
||||
import com.ssm.core.service.BaseService;
|
||||
import com.ssm.manage.entity.ImgMaintain;
|
||||
import com.ssm.manage.query.ImgMaintainRequest;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface SsmImgMaintainService extends BaseService<ImgMaintain> {
|
||||
PageInfo<ImgMaintain> page(ImgMaintainRequest imgMaintainRequest);
|
||||
|
||||
int saveInfo(List<ImgMaintain> uploadFilesInfo, String userNum);
|
||||
|
||||
int delete(List<ImgMaintain> list);
|
||||
|
||||
}
|
||||
@ -0,0 +1,22 @@
|
||||
package com.ssm.manage.service;
|
||||
|
||||
import com.ssm.core.service.BaseService;
|
||||
import com.ssm.manage.entity.SmsException;
|
||||
import com.ssm.manage.entity.SysUser;
|
||||
import com.ssm.manage.query.UserRequest;
|
||||
import com.ssm.manage.response.UserResponse;
|
||||
|
||||
import javax.servlet.http.HttpSession;
|
||||
|
||||
public interface SsmLoginService extends BaseService<SysUser> {
|
||||
public UserResponse accountLogin(UserRequest userRequest)throws SmsException;
|
||||
public UserResponse phoneLogin(UserRequest userRequest) throws SmsException;
|
||||
|
||||
public UserResponse phonePassLogin(UserRequest userRequest) throws SmsException;
|
||||
|
||||
public UserResponse getSmsCode(UserRequest userRequest) throws SmsException;
|
||||
|
||||
public int changePassword(UserRequest userRequest) throws SmsException;
|
||||
|
||||
void logout(UserRequest userRequest,HttpSession session) throws SmsException;
|
||||
}
|
||||
@ -0,0 +1,24 @@
|
||||
package com.ssm.manage.service;
|
||||
|
||||
|
||||
import com.github.pagehelper.PageInfo;
|
||||
import com.ssm.core.service.BaseService;
|
||||
import com.ssm.manage.entity.MemberAgreement;
|
||||
import com.ssm.manage.entity.RefundOrderList;
|
||||
import com.ssm.manage.entity.SmsException;
|
||||
import com.ssm.manage.query.MemberAgreementRequest;
|
||||
import com.ssm.manage.query.RefundOrderResquest;
|
||||
|
||||
public interface SsmMemberAgreementService extends BaseService<MemberAgreement> {
|
||||
|
||||
int addMemberFile (MemberAgreementRequest memberFileRequest) throws SmsException;
|
||||
|
||||
PageInfo<MemberAgreement> selectPage(MemberAgreementRequest memberFileRequest);
|
||||
MemberAgreement selectOne(MemberAgreementRequest memberFileRequest);
|
||||
|
||||
|
||||
int updateState();
|
||||
int updateStateByStartState(MemberAgreement memberAgreement);
|
||||
|
||||
MemberAgreement selectByMember();
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
package com.ssm.manage.service;
|
||||
|
||||
import com.ssm.core.service.BaseService;
|
||||
import com.ssm.manage.entity.MemberCs;
|
||||
import com.ssm.manage.entity.SmsException;
|
||||
import com.ssm.manage.query.MemberCsRequest;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface SsmMemberCsService extends BaseService<MemberCs> {
|
||||
List<MemberCs> selectRecentRecord(MemberCsRequest memberCsRequest) throws SmsException;
|
||||
|
||||
int addMemberCs(MemberCsRequest memberCsRequest);
|
||||
|
||||
int appraise(MemberCsRequest memberCsRequest);
|
||||
|
||||
List<MemberCs> selectMemberCsByStaff(MemberCsRequest memberCsRequest) throws SmsException;
|
||||
}
|
||||
@ -0,0 +1,9 @@
|
||||
package com.ssm.manage.service;
|
||||
|
||||
|
||||
|
||||
public interface SsmMemberFileService {
|
||||
|
||||
|
||||
|
||||
}
|
||||
@ -0,0 +1,32 @@
|
||||
package com.ssm.manage.service;
|
||||
|
||||
import com.github.pagehelper.PageInfo;
|
||||
import com.ssm.core.service.BaseService;
|
||||
import com.ssm.manage.entity.MemberInit;
|
||||
import com.ssm.manage.entity.SmsException;
|
||||
import com.ssm.manage.extendEntity.StaffStatistic;
|
||||
import com.ssm.manage.query.MemberInitRequest;
|
||||
import com.ssm.manage.response.MemberInitResponse;
|
||||
|
||||
import java.text.ParseException;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
public interface SsmMemberInitService extends BaseService<MemberInit> {
|
||||
PageInfo<MemberInit> selectPage(MemberInitRequest memberInitRequest);
|
||||
int add(MemberInitRequest memberInitRequest,String staffPhone) throws SmsException;
|
||||
|
||||
int update(List<MemberInitRequest> list, String phone);
|
||||
|
||||
int delete(MemberInitRequest memberInitRequest);
|
||||
|
||||
int insertBatch(List<MemberInit> list,String phone);
|
||||
|
||||
PageInfo<MemberInitResponse> checkList(MemberInitRequest memberInitRequest)throws SmsException;
|
||||
|
||||
int memberInit(MemberInitRequest memberInitRequest) throws ParseException;
|
||||
List<MemberInit> selectFKJ(MemberInit memberInit);
|
||||
List<MemberInit> selectFKJByDate(MemberInit memberInit);
|
||||
|
||||
List<StaffStatistic> staff(MemberInitRequest memberInitRequest);
|
||||
}
|
||||
@ -0,0 +1,25 @@
|
||||
package com.ssm.manage.service;
|
||||
|
||||
import com.ssm.core.service.BaseService;
|
||||
import com.ssm.manage.entity.*;
|
||||
import com.ssm.manage.query.MemberRequest;
|
||||
import com.ssm.manage.response.MemberResponse;
|
||||
|
||||
import javax.servlet.http.HttpSession;
|
||||
import java.io.IOException;
|
||||
import java.util.List;
|
||||
|
||||
public interface SsmMemberLoginService extends BaseService<StoreMemberList> {
|
||||
MemberResponse phoneLogin(MemberRequest memberRequest) throws SmsException;
|
||||
MemberResponse phonePassLogin(MemberRequest memberRequest) throws SmsException;
|
||||
MemberResponse getSmsCode(MemberRequest memberRequest) throws SmsException, IOException;
|
||||
int changePassword(MemberRequest memberRequest) throws SmsException;
|
||||
void logout(MemberRequest memberRequest, HttpSession session);
|
||||
void uniLogout(MemberRequest memberRequest);
|
||||
MemberResponse uniPhoneLogin(MemberRequest memberRequest) throws SmsException;
|
||||
MemberResponse uniPhonePassLogin(MemberRequest memberRequest) throws SmsException;
|
||||
|
||||
List<BaseStores> getMemberStore(MemberRequest memberRequest) throws SmsException;
|
||||
|
||||
MemberResponse getStaffCode(MemberRequest memberRequest) throws SmsException, IOException;
|
||||
}
|
||||
@ -0,0 +1,17 @@
|
||||
package com.ssm.manage.service;
|
||||
|
||||
import com.github.pagehelper.PageInfo;
|
||||
import com.ssm.core.service.BaseService;
|
||||
import com.ssm.manage.entity.MemberOrder;
|
||||
import com.ssm.manage.query.MemberOrderRequest;
|
||||
|
||||
public interface SsmMemberOrderService extends BaseService<MemberOrder> {
|
||||
PageInfo<MemberOrder> selectPage(MemberOrderRequest memberOrderRequest);
|
||||
|
||||
int addOrder(MemberOrderRequest memberOrderRequest);
|
||||
|
||||
int updateOrder(MemberOrderRequest memberOrderRequest);
|
||||
|
||||
int deleteOrder(MemberOrderRequest memberOrderRequest);
|
||||
|
||||
}
|
||||
@ -0,0 +1,20 @@
|
||||
package com.ssm.manage.service;
|
||||
|
||||
import com.github.pagehelper.PageInfo;
|
||||
import com.ssm.core.service.BaseService;
|
||||
import com.ssm.manage.entity.MemberList;
|
||||
import com.ssm.manage.entity.SmsException;
|
||||
import com.ssm.manage.query.MemberRequest;
|
||||
import com.ssm.manage.response.MemberResponse;
|
||||
|
||||
public interface SsmMemberService extends BaseService<MemberList> {
|
||||
PageInfo<MemberList> selectPage(MemberRequest memberRequest);
|
||||
|
||||
MemberList selectOne(MemberRequest memberRequest);
|
||||
|
||||
MemberResponse addMember(MemberList memberList) throws SmsException;
|
||||
|
||||
int updateMember(MemberRequest memberRequest) throws SmsException;
|
||||
|
||||
// int updateState(MemberRequest memberRequest);
|
||||
}
|
||||
@ -0,0 +1,13 @@
|
||||
package com.ssm.manage.service;
|
||||
|
||||
import com.github.pagehelper.PageInfo;
|
||||
import com.ssm.core.service.BaseService;
|
||||
import com.ssm.manage.entity.ModifyCourseRecord;
|
||||
import com.ssm.manage.entity.SmsException;
|
||||
import com.ssm.manage.query.ModifyCourseRecordRequest;
|
||||
|
||||
public interface SsmModifyCourseRecordService extends BaseService<ModifyCourseRecord> {
|
||||
PageInfo<ModifyCourseRecord> selectPage(ModifyCourseRecordRequest modifyCourseRecordRequest);
|
||||
|
||||
int add(ModifyCourseRecordRequest modifyCourseRecordRequest, String phone) throws SmsException;
|
||||
}
|
||||
@ -0,0 +1,13 @@
|
||||
package com.ssm.manage.service;
|
||||
|
||||
import com.github.pagehelper.PageInfo;
|
||||
import com.ssm.core.service.BaseService;
|
||||
import com.ssm.manage.entity.ModifyRechargeRecord;
|
||||
import com.ssm.manage.entity.SmsException;
|
||||
import com.ssm.manage.query.ModifyRechargeRecordRequest;
|
||||
|
||||
public interface SsmModifyRechargeRecordService extends BaseService<ModifyRechargeRecord> {
|
||||
PageInfo<ModifyRechargeRecord> selectPage(ModifyRechargeRecordRequest modifyRechargeRecordRequest);
|
||||
|
||||
int add(ModifyRechargeRecordRequest modifyRechargeRecordRequest, String phone) throws SmsException;
|
||||
}
|
||||
@ -0,0 +1,30 @@
|
||||
package com.ssm.manage.service;
|
||||
|
||||
import com.ssm.core.service.BaseService;
|
||||
import com.ssm.manage.entity.CourseMoney;
|
||||
import com.ssm.manage.entity.NegativeCardDayRecord;
|
||||
import com.ssm.manage.entity.RechargeMoney;
|
||||
import com.ssm.manage.extendEntity.CourseNegative;
|
||||
import com.ssm.manage.extendEntity.NegativeDayStatistic;
|
||||
import com.ssm.manage.extendEntity.NegativeKazin;
|
||||
import com.ssm.manage.extendEntity.RechargeNegative;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
public interface SsmNegativeCardService extends BaseService<NegativeCardDayRecord> {
|
||||
List<NegativeDayStatistic> selectDayList(Long storeId, Date date);
|
||||
RechargeNegative rechargeDayStatistic(Long storeId, Date date);
|
||||
RechargeNegative rechargeDayStatisticByDate(Long storeId, Date startTime,Date endTime);
|
||||
CourseNegative CourseDayStatistic(Long storeId, Date date);
|
||||
CourseNegative CourseDayStatisticByDate(Long storeId, Date startTime,Date endTime);
|
||||
// List<NegativeDayStatistic> selectDayListNews(Long storeId, Date date);
|
||||
// List<NegativeDayStatistic> selectNowList(Long storeId);
|
||||
|
||||
int saveNegativeRecord(Date date);
|
||||
void saveNegativeTask();
|
||||
|
||||
List<RechargeMoney> fixedNegativeCardByRecharge(NegativeDayStatistic negativeDayStatistic);
|
||||
|
||||
List<CourseMoney> fixedNegativeCardByCourse(NegativeDayStatistic negativeDayStatistic);
|
||||
}
|
||||
@ -0,0 +1,26 @@
|
||||
package com.ssm.manage.service;
|
||||
|
||||
import com.ssm.core.service.BaseService;
|
||||
import com.ssm.manage.entity.PayList;
|
||||
import com.ssm.manage.entity.SmsException;
|
||||
import com.ssm.manage.query.StoreDailyRequest;
|
||||
import com.ssm.manage.response.PayListVo;
|
||||
import com.ssm.manage.response.StoreDailyResponse;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
public interface SsmPayService extends BaseService<PayList> {
|
||||
int addPayList(List<PayList> payList) throws SmsException;
|
||||
|
||||
List<PayListVo> selectByDay(String tab,List<Long> storeIds, Date startTime, Date endTime);
|
||||
|
||||
void updateByNum(PayList list);
|
||||
|
||||
BigDecimal selectStoreDailys(StoreDailyRequest storeDailyRequest);
|
||||
|
||||
List<PayList> selectList(List<String> courseNums);
|
||||
|
||||
void updateIsCancelById(PayList list);
|
||||
}
|
||||
@ -0,0 +1,14 @@
|
||||
package com.ssm.manage.service;
|
||||
|
||||
import com.github.pagehelper.PageInfo;
|
||||
import com.ssm.core.service.BaseService;
|
||||
import com.ssm.manage.entity.PlatformApi;
|
||||
import com.ssm.manage.query.PlatformApiRequest;
|
||||
|
||||
public interface SsmPlatformApiService extends BaseService<PlatformApi> {
|
||||
|
||||
int add(PlatformApiRequest platformApiRequest);
|
||||
int update(PlatformApiRequest platformApiRequest);
|
||||
|
||||
PageInfo<PlatformApi> selectPage(PlatformApiRequest platformApiRequest);
|
||||
}
|
||||
@ -0,0 +1,11 @@
|
||||
package com.ssm.manage.service;
|
||||
|
||||
import com.ssm.core.service.BaseService;
|
||||
import com.ssm.manage.entity.Platform;
|
||||
import com.ssm.manage.query.PlatformRequest;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface SsmPlatformService extends BaseService<Platform> {
|
||||
List<Platform> selectAll(PlatformRequest platformRequest);
|
||||
}
|
||||
@ -0,0 +1,7 @@
|
||||
package com.ssm.manage.service;
|
||||
|
||||
import com.ssm.core.service.BaseService;
|
||||
import com.ssm.manage.entity.ProjectProgressFile;
|
||||
|
||||
public interface SsmProjectProgressFileService extends BaseService<ProjectProgressFile> {
|
||||
}
|
||||
@ -0,0 +1,15 @@
|
||||
package com.ssm.manage.service;
|
||||
|
||||
import com.github.pagehelper.PageInfo;
|
||||
import com.ssm.core.service.BaseService;
|
||||
import com.ssm.manage.entity.ProjectProgress;
|
||||
import com.ssm.manage.query.ProjectProgressRequest;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface SsmProjectProgressService extends BaseService<ProjectProgress> {
|
||||
PageInfo<ProjectProgress> selectPage(ProjectProgressRequest progressRequest);
|
||||
ProjectProgress selectOne(ProjectProgressRequest progressRequest);
|
||||
int add(ProjectProgressRequest progressRequest);
|
||||
int updateProjectProgress(ProjectProgressRequest progressRequest);
|
||||
}
|
||||
@ -0,0 +1,32 @@
|
||||
package com.ssm.manage.service;
|
||||
|
||||
import com.github.pagehelper.PageInfo;
|
||||
import com.ssm.core.service.BaseService;
|
||||
import com.ssm.manage.entity.BaseProjectType;
|
||||
import com.ssm.manage.entity.SmsException;
|
||||
import com.ssm.manage.query.ProjectTypeRequest;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface SsmProjectTypeService extends BaseService<BaseProjectType> {
|
||||
PageInfo<BaseProjectType> selectPage(ProjectTypeRequest projectTypeRequest);
|
||||
|
||||
int addProjectType(ProjectTypeRequest projectTypeRequest,String key) throws SmsException;
|
||||
|
||||
int updateProjectType(ProjectTypeRequest projectTypeRequest,String key) throws SmsException;
|
||||
|
||||
int deleteProjectType(ProjectTypeRequest projectTypeRequest) throws SmsException;
|
||||
|
||||
int updateStates(ProjectTypeRequest projectTypeRequest) throws SmsException;
|
||||
|
||||
List<BaseProjectType> list(Long storeId);
|
||||
|
||||
List<ProjectTypeRequest> getMenu(ProjectTypeRequest projectTypeRequest);
|
||||
List<ProjectTypeRequest> getMenuId(ProjectTypeRequest projectTypeRequest);
|
||||
|
||||
List<BaseProjectType> insertBatch(List<BaseProjectType> list, Long storeId, String storeName, String key) throws SmsException;
|
||||
|
||||
List<Long> selectByEveryId(BaseProjectType baseProjectType);
|
||||
|
||||
List<Long> selectByChild(BaseProjectType baseProjectType);
|
||||
}
|
||||
@ -0,0 +1,18 @@
|
||||
package com.ssm.manage.service;
|
||||
|
||||
import com.github.pagehelper.PageInfo;
|
||||
import com.ssm.core.service.BaseService;
|
||||
import com.ssm.manage.entity.PromotionList;
|
||||
import com.ssm.manage.entity.PromotionMember;
|
||||
import com.ssm.manage.entity.SmsException;
|
||||
import com.ssm.manage.query.PromotionListRequest;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface SsmPromotionMemberService extends BaseService<PromotionMember> {
|
||||
PageInfo<PromotionMember> selectPage(PromotionListRequest promotionListRequest);
|
||||
|
||||
int addPromotionMember(List<PromotionMember> list, PromotionList promotionList) throws SmsException;
|
||||
|
||||
int updatePromotionMember(List<PromotionMember> list, PromotionList promotionList) throws SmsException;
|
||||
}
|
||||
@ -0,0 +1,21 @@
|
||||
package com.ssm.manage.service;
|
||||
|
||||
import com.ssm.core.service.BaseService;
|
||||
import com.ssm.manage.entity.PromotionList;
|
||||
import com.ssm.manage.entity.PromotionProject;
|
||||
import com.ssm.manage.entity.SmsException;
|
||||
import com.ssm.manage.query.PromotionListRequest;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface SsmPromotionProjectService extends BaseService<PromotionProject> {
|
||||
List<PromotionProject> selectList(PromotionListRequest promotionListRequest);
|
||||
|
||||
int addPromotionProject(List<PromotionProject> list, PromotionList promotionList) throws SmsException;
|
||||
|
||||
int updatePromotionProject(List<PromotionProject> list, PromotionList promotionList) throws SmsException;
|
||||
|
||||
void deleteByPromotionId(Long id);
|
||||
|
||||
List<PromotionProject> selectByPromotionIds(List<Long> promotionIds);
|
||||
}
|
||||
@ -0,0 +1,40 @@
|
||||
package com.ssm.manage.service;
|
||||
|
||||
import com.github.pagehelper.PageInfo;
|
||||
import com.ssm.core.service.BaseService;
|
||||
import com.ssm.manage.entity.PromotionList;
|
||||
import com.ssm.manage.entity.SmsException;
|
||||
import com.ssm.manage.query.PromotionListRequest;
|
||||
import com.ssm.manage.response.PromotionListResponse;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
public interface SsmPromotionService extends BaseService<PromotionList> {
|
||||
PageInfo<PromotionListRequest> selectPage(PromotionListRequest promotionListRequest);
|
||||
List<Map<String,Object>> selectList(PromotionListRequest promotionListRequest);
|
||||
PageInfo<PromotionList> selectPages(PromotionListRequest promotionListRequest);
|
||||
PageInfo<PromotionList> selectPagenew(PromotionListRequest promotionListRequest);
|
||||
|
||||
int addPromotion(PromotionListRequest promotionListRequest) throws SmsException;
|
||||
|
||||
int updatePromotion(PromotionListRequest promotionListRequest) throws SmsException;
|
||||
|
||||
int sendAudit(PromotionListRequest promotionListRequest) throws SmsException;
|
||||
|
||||
int revokeAudit(PromotionListRequest promotionListRequest) throws SmsException;
|
||||
|
||||
int audit(PromotionListRequest promotionListRequest);
|
||||
|
||||
int unAudit(PromotionListRequest promotionListRequest);
|
||||
|
||||
int shutDown(PromotionListRequest promotionListRequest) throws SmsException;
|
||||
|
||||
int push(PromotionListRequest promotionListRequest);
|
||||
|
||||
int addCourseGitRechargePromotion(PromotionListRequest promotionListRequest)throws SmsException;
|
||||
|
||||
int updatePromotionRechargeList(PromotionListRequest promotionListRequest)throws SmsException;
|
||||
|
||||
List<PromotionList> selectPromotionType(PromotionListRequest promotionListRequest);
|
||||
}
|
||||
@ -0,0 +1,12 @@
|
||||
package com.ssm.manage.service;
|
||||
|
||||
import com.ssm.core.service.BaseService;
|
||||
import com.ssm.manage.entity.PromotionMember;
|
||||
import com.ssm.manage.entity.PromotionStore;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface SsmPromotionStoreService extends BaseService<PromotionStore> {
|
||||
int saveBatchPromotionStore(List<PromotionStore> promotionStores);
|
||||
List<PromotionStore> selectList(PromotionStore promotionStores);
|
||||
}
|
||||
@ -0,0 +1,29 @@
|
||||
package com.ssm.manage.service;
|
||||
|
||||
import com.ssm.core.service.BaseService;
|
||||
import com.ssm.manage.entity.AccountTradeRecord;
|
||||
import com.ssm.manage.entity.PromotionUnit;
|
||||
import com.ssm.manage.query.PromotionUnitRequest;
|
||||
|
||||
import java.math.BigInteger;
|
||||
import java.rmi.ServerException;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* (PromotionUnit)表服务接口
|
||||
*
|
||||
* @author makejava
|
||||
* @since 2021-12-24 09:56:42
|
||||
*/
|
||||
public interface SsmPromotionUnitService extends BaseService<PromotionUnit> {
|
||||
|
||||
int add(PromotionUnitRequest promotionUnitRequest) throws ServerException;
|
||||
|
||||
int update(PromotionUnitRequest promotionUnitRequest) throws ServerException;
|
||||
int empty(PromotionUnitRequest promotionUnitRequest);
|
||||
|
||||
int insertupdat(PromotionUnitRequest promotionUnitRequest);
|
||||
|
||||
List<Long> selectallId(PromotionUnit promotionUnit);
|
||||
|
||||
}
|
||||
@ -0,0 +1,10 @@
|
||||
package com.ssm.manage.service;
|
||||
|
||||
import com.ssm.core.service.BaseService;
|
||||
import com.ssm.manage.entity.RechargeAccountGive;
|
||||
|
||||
public interface SsmRechargeAccountGiveService extends BaseService<RechargeAccountGive> {
|
||||
void updateByGifMoney(RechargeAccountGive accountGive);
|
||||
|
||||
int updateByMemberId(RechargeAccountGive accountGive);
|
||||
}
|
||||
@ -0,0 +1,87 @@
|
||||
package com.ssm.manage.service;
|
||||
|
||||
import com.github.pagehelper.PageInfo;
|
||||
import com.ssm.core.service.BaseService;
|
||||
import com.ssm.manage.entity.*;
|
||||
import com.ssm.manage.query.RechargeAccountRequest;
|
||||
import com.ssm.manage.query.RechargeListRequest;
|
||||
import com.ssm.manage.query.RepayAccountListRequest;
|
||||
import com.ssm.manage.query.RepayTradeRequest;
|
||||
import com.ssm.manage.response.RechargeAccountResponse;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.util.List;
|
||||
|
||||
public interface SsmRechargeAccountService extends BaseService<RechargeAccount> {
|
||||
List<RechargeAccount> selectList(RechargeAccountRequest rechargeAccountRequest);
|
||||
List<RechargeAccount> cashSelectList(RechargeAccountRequest rechargeAccountRequest) throws SmsException;
|
||||
List<RechargeAccount> cashSelectListByStore(RechargeAccountRequest rechargeAccountRequest) throws SmsException;
|
||||
List<RechargeAccount> cashSelectListall(RechargeAccountRequest rechargeAccountRequest) throws SmsException;
|
||||
List<RechargeAccount> delay(RechargeAccountRequest rechargeAccountRequest) throws SmsException;
|
||||
List<RechargeAccount> newcashSelectList(RechargeAccountRequest rechargeAccountRequest);
|
||||
RechargeAccount selectOne(RechargeAccountRequest rechargeAccountRequest);
|
||||
int addRechargeAccount(RechargeAccount rechargeAccount) throws SmsException;
|
||||
int repayRechargeAccount(RepayAccountListRequest rechargeAccount, RepayTradeRequest repayTradeRequest,RepayList repayList) throws SmsException;
|
||||
int cancelRepayRechargeAccount(RepayAccountListRequest rechargeAccount, RepayTradeRequest repayTradeRequest,RepayList repayList) throws SmsException;
|
||||
RechargeAccount setRechargeAccount(RechargeType rechargeType, RechargeList rechargeList, RechargeAccount rechargeAccount, StoreParament storeParament);
|
||||
//充值账户添加金额
|
||||
RechargeAccount addMoney(RechargeAccount rechargeAccount, RechargeList rechargeList, RechargeType rechargeType, StoreParament storeParament) throws SmsException;
|
||||
RechargeAccount addMoney(RechargeAccount rechargeAccount) throws SmsException;
|
||||
RechargeAccount addMoneyGrouponCard(RechargeAccount rechargeAccount) throws SmsException;
|
||||
//充值账户扣减金额
|
||||
RechargeAccount subMoney(RechargeAccount rechargeAccount, RechargeList rechargeList,RechargeType rechargeType) throws SmsException;
|
||||
RechargeAccount subMoney(RechargeAccount rechargeAccount) throws SmsException;
|
||||
//充值账户购买疗程作废添加金额
|
||||
int addMoney(List<RechargeAccountRequest> rechargeAccountList, CourseList courseList) throws SmsException;
|
||||
//充值账户购买疗程扣减金额
|
||||
int subMoney(List<RechargeAccountRequest> rechargeAccountList, CourseList courseList) throws SmsException;
|
||||
// int subMoney(List<RechargeAccount> list, CourseList courseList) throws SmsException;
|
||||
|
||||
//充值账户消费收银添加金额
|
||||
int addMoney(List<RechargeAccountRequest> rechargeAccountList, CashList cashList) throws SmsException;
|
||||
int addMoney(List<RechargeAccountRequest> rechargeAccountList, ServiceOrders serviceOrders) throws SmsException;
|
||||
//充值账户消费收银作废扣减金额
|
||||
List<AccountTradeRecord> subMoney(List<RechargeAccountRequest> rechargeAccountList, CashList cashList, List<AccountTradeRecord> list) throws SmsException;
|
||||
List<AccountTradeRecord> subMoney(List<RechargeAccountRequest> rechargeAccountList, ServiceOrders serviceOrders, List<AccountTradeRecord> list) throws SmsException;
|
||||
|
||||
int repay(RepayTradeList repayTradeList, RepayList repayList, DebtList debtList) throws SmsException;
|
||||
int repayNew(RepayTradeList repayTradeList, RepayList repayList, DebtList debtList) throws SmsException;
|
||||
int repayNewPromotionRecharge(RepayTradeList repayTradeList, RepayList repayList, DebtList debtList) throws SmsException;
|
||||
int repay(RepayTradeList repayTradeList, RepayList repayList, DebtList debtList,BigDecimal CardPayMoney) throws SmsException;
|
||||
|
||||
int repayCancel(RepayTradeList repayTradeList, RepayList repayList, DebtList debtList) throws SmsException;
|
||||
int repayCancelNew(RepayTradeList repayTradeList, RepayList repayList, DebtList debtList) throws SmsException;
|
||||
int repayCancelNewPromotionRecharge(RepayTradeList repayTradeList, RepayList repayList, DebtList debtList) throws SmsException;
|
||||
|
||||
int updateState(Long id, int state);
|
||||
//充值账户退款反审核扣减金额
|
||||
RechargeAccount subMoney(RefundRecharge refundRecharge) throws SmsException;
|
||||
//充值账户退款审核添加金额
|
||||
RechargeAccount addMoney(RefundRecharge refundRecharge) throws SmsException;
|
||||
//充值账户消费退审核添加金额
|
||||
RechargeAccount addMoney(CashAccountList cashAccountList,Long storeId) throws SmsException;
|
||||
//充值账户消费退反审核扣减金额
|
||||
RechargeAccount subMoney(CashAccountList cashAccountList,Long storeId) throws SmsException;
|
||||
|
||||
//促销活动购买扣减金额
|
||||
int subMoney(List<RechargeAccountRequest> rechargeAccountList, DocPromotion docPromotion) throws SmsException;
|
||||
//促销活动购买作废添加金额
|
||||
int addMoney(List<RechargeAccountRequest> rechargeAccountList, DocPromotion docPromotion) throws SmsException;
|
||||
|
||||
int update(RechargeAccountRequest rechargeAccountRequest, String phone);
|
||||
int updates(RechargeAccountRequest rechargeAccountRequest, String phone);
|
||||
|
||||
int insertBatch(List<RechargeAccount> list, Long storeId, String storeName);
|
||||
//会员排行榜查询会员总充值金额
|
||||
List<RechargeAccountResponse> memberRecharge(RechargeAccountRequest rechargeAccountRequest);
|
||||
|
||||
List<RechargeAccount> selectByPrimaryKeyList(List<Long> rechargeAccountIdList);
|
||||
|
||||
List<RechargeAccount> selectByIds(List<Long> rechargeAccountIdList);
|
||||
|
||||
RechargeAccount selectByMemberIdAndRechargeTypeIdAndMoney(RechargeAccount rechargeAccount);
|
||||
|
||||
List<RechargeAccount> exportachi(RechargeAccountRequest rechargeAccountRequest);
|
||||
|
||||
PageInfo<RechargeAccount> exportachiByPage(RechargeAccountRequest rechargeAccountRequest);
|
||||
}
|
||||
@ -0,0 +1,20 @@
|
||||
package com.ssm.manage.service;
|
||||
|
||||
import com.github.pagehelper.PageInfo;
|
||||
import com.ssm.core.service.BaseService;
|
||||
import com.ssm.manage.entity.RechargeAccount;
|
||||
import com.ssm.manage.entity.RechargeCardTransition;
|
||||
import com.ssm.manage.entity.SmsException;
|
||||
import com.ssm.manage.entity.TurnMembershipCard;
|
||||
import com.ssm.manage.query.RechargeCardTransitionRequest;
|
||||
import com.ssm.manage.query.TurnMembershipCardRequest;
|
||||
import com.ssm.manage.response.RechargeCardTransitionResponse;
|
||||
|
||||
public interface SsmRechargeCardTransitionService extends BaseService<RechargeCardTransition> {
|
||||
PageInfo<RechargeCardTransitionResponse> selectPage(RechargeCardTransitionRequest turnMembershipCardRequest);
|
||||
PageInfo<RechargeCardTransitionResponse> selectPageNew(RechargeCardTransitionRequest turnMembershipCardRequest);
|
||||
int add(RechargeCardTransitionRequest rechargeCardTransitionRequest,String phone) throws SmsException,Exception;
|
||||
int update(RechargeCardTransitionRequest rechargeCardTransitionRequest,String phone) throws SmsException,Exception;
|
||||
int updateState(RechargeCardTransitionRequest rechargeCardTransitionRequest,String phone) throws SmsException,Exception;
|
||||
int delete(RechargeCardTransitionRequest rechargeCardTransitionRequest) throws SmsException,Exception;
|
||||
}
|
||||
@ -0,0 +1,19 @@
|
||||
package com.ssm.manage.service;
|
||||
|
||||
import com.github.pagehelper.PageInfo;
|
||||
import com.ssm.core.service.BaseService;
|
||||
import com.ssm.manage.entity.RechargeAccount;
|
||||
import com.ssm.manage.entity.RechargeDemotioneingRun;
|
||||
import com.ssm.manage.entity.SmsException;
|
||||
import com.ssm.manage.entity.SysUser;
|
||||
import com.ssm.manage.query.RechargeDemotioneingRunRequest;
|
||||
import com.ssm.manage.query.UserRequest;
|
||||
|
||||
public interface SsmRechargeDemotioneingRunService extends BaseService<RechargeDemotioneingRun> {
|
||||
public PageInfo<RechargeDemotioneingRun> selectByPage(RechargeDemotioneingRunRequest rechargeDemotioneingRunRequest);
|
||||
public PageInfo<RechargeDemotioneingRun> selectByPages(RechargeDemotioneingRunRequest rechargeDemotioneingRunRequest);
|
||||
|
||||
public int saveRechargeDemotioneingRun(RechargeDemotioneingRun rechargeDemotioneingRun);
|
||||
public int updateRechargeDemotioneingRun(RechargeDemotioneingRun rechargeDemotioneingRun);
|
||||
|
||||
}
|
||||
@ -0,0 +1,66 @@
|
||||
package com.ssm.manage.service;
|
||||
|
||||
import com.github.pagehelper.PageInfo;
|
||||
import com.ssm.core.service.BaseService;
|
||||
import com.ssm.manage.entity.BaseGrouponCard;
|
||||
import com.ssm.manage.entity.RechargeList;
|
||||
import com.ssm.manage.entity.SmsException;
|
||||
import com.ssm.manage.extendEntity.StoreDaily;
|
||||
import com.ssm.manage.query.RechargeListRequest;
|
||||
import com.ssm.manage.query.StoreDailyRequest;
|
||||
import com.ssm.manage.response.BaseGrouponCardResponse;
|
||||
import com.ssm.manage.response.RechargeListResponse;
|
||||
import com.ssm.manage.response.RechargeVo;
|
||||
|
||||
import java.text.ParseException;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
public interface SsmRechargeService extends BaseService<RechargeList> {
|
||||
PageInfo<RechargeListResponse> selectPage(RechargeListRequest rechargeListRequest) throws ParseException, SmsException;
|
||||
PageInfo<RechargeListResponse> tstPage(RechargeListRequest rechargeListRequest) throws ParseException, SmsException;
|
||||
PageInfo<RechargeListResponse> selectPageNew(RechargeListRequest rechargeListRequest) throws ParseException, SmsException;
|
||||
PageInfo<RechargeListResponse> pageDetail(RechargeListRequest rechargeListRequest) throws ParseException, SmsException;
|
||||
PageInfo<RechargeList> page(RechargeListRequest rechargeListRequest) throws SmsException, ParseException;
|
||||
void createTable();
|
||||
void createTable1();
|
||||
|
||||
int addRecharge(RechargeListRequest rechargeListRequest) throws SmsException;
|
||||
int addPromotionRecharge(RechargeListRequest rechargeListRequest) throws SmsException;
|
||||
int addRecharges(RechargeListRequest rechargeListRequest) throws SmsException;
|
||||
|
||||
int cancel(RechargeListRequest rechargeListRequest) throws SmsException;
|
||||
int cancelPromotionCourse(RechargeListRequest rechargeListRequest) throws SmsException;
|
||||
|
||||
int updateStaff(RechargeListRequest rechargeListRequest) throws SmsException;
|
||||
|
||||
List<RechargeListResponse> selectList(Long storeId, String dateStr, Date date) throws ParseException, SmsException;
|
||||
List<RechargeListResponse> selectListchia(Long storeId, Date date) throws ParseException, SmsException;
|
||||
List<RechargeListResponse> selectListAbnormal(Long storeId, String dateStr, Date date) throws ParseException, SmsException;
|
||||
List<RechargeListResponse> selectLists(Long storeId, String startDate, String endDate, Date date) throws ParseException, SmsException;
|
||||
|
||||
StoreDaily selectDayRecord(StoreDailyRequest storeDailyRequest);
|
||||
StoreDaily NegativeKazin(StoreDailyRequest storeDailyRequest);
|
||||
StoreDaily NegativeKazinByDate(StoreDailyRequest storeDailyRequest);
|
||||
|
||||
List<RechargeList> selectListSalem(RechargeList rechargeList);
|
||||
|
||||
int updateRatio(RechargeList rechargeList);
|
||||
|
||||
//团购卡次数和金额
|
||||
StoreDaily grouponTuan(StoreDailyRequest dailyRequest);
|
||||
StoreDaily grouponTuanNew(StoreDailyRequest dailyRequest);
|
||||
|
||||
//团购卡次数和金额
|
||||
List<BaseGrouponCardResponse> grouponTuan1(StoreDailyRequest dailyRequest);
|
||||
|
||||
RechargeList selectAchiEntities(RechargeList rechargeList);
|
||||
|
||||
List<RechargeVo> selectByDay(StoreDailyRequest storeDailyRequest);
|
||||
|
||||
List<StoreDaily> selectByDayGroupByDateAndStoreId(StoreDailyRequest storeDailyRequest);
|
||||
|
||||
List<RechargeList> selectList(RechargeListRequest rechargeListRequest);
|
||||
|
||||
PageInfo<RechargeListResponse> rechargeGifList(RechargeListRequest rechargeListRequest) throws ParseException;
|
||||
}
|
||||
@ -0,0 +1,36 @@
|
||||
package com.ssm.manage.service;
|
||||
|
||||
import com.github.pagehelper.PageInfo;
|
||||
import com.ssm.core.service.BaseService;
|
||||
import com.ssm.manage.entity.CardChangeList;
|
||||
import com.ssm.manage.entity.RechargeList;
|
||||
import com.ssm.manage.entity.RechargeTurnCourse;
|
||||
import com.ssm.manage.entity.SmsException;
|
||||
import com.ssm.manage.query.CardChangeOutProjectRequest;
|
||||
import com.ssm.manage.query.RechargeTurnCourseRequest;
|
||||
import com.ssm.manage.response.RechargeTurnCoursesResponse;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
public interface SsmRechargeTurnCourseService extends BaseService<RechargeTurnCourse> {
|
||||
int add(RechargeTurnCourseRequest rechargeTurnCourseRequest,String staffPhone) throws SmsException;
|
||||
int update(RechargeTurnCourseRequest rechargeTurnCourseRequest,String staffPhone) throws SmsException;
|
||||
int submit(RechargeTurnCourseRequest rechargeTurnCourseRequest,String staffPhone) throws SmsException;
|
||||
int recycle(RechargeTurnCourseRequest rechargeTurnCourseRequest,String staffPhone) throws SmsException;
|
||||
int audit(RechargeTurnCourseRequest rechargeTurnCourseRequest,String staffPhone) throws SmsException;
|
||||
int theAudit(RechargeTurnCourseRequest rechargeTurnCourseRequest,String staffPhone) throws SmsException;
|
||||
int cancel(RechargeTurnCourseRequest rechargeTurnCourseRequest,String staffPhone) throws SmsException;
|
||||
int delete(RechargeTurnCourseRequest rechargeTurnCourseRequest) throws SmsException;
|
||||
PageInfo<RechargeTurnCourseRequest> selectPage(RechargeTurnCourseRequest rechargeTurnCourseRequest);
|
||||
PageInfo<RechargeTurnCourseRequest> selectPageNew(RechargeTurnCourseRequest rechargeTurnCourseRequest);
|
||||
PageInfo<RechargeTurnCourseRequest> pageDetail(RechargeTurnCourseRequest rechargeTurnCourseRequest);
|
||||
|
||||
List<RechargeTurnCoursesResponse> selectDate(Long storeId);
|
||||
List<RechargeTurnCoursesResponse> select(Long storeId,String startDate, String endDate);
|
||||
List<RechargeTurnCoursesResponse> selectDates(Long storeId, String date);
|
||||
List<RechargeTurnCoursesResponse> selectBystartAndEndTime(Long storeId, Date startTime,Date endTime);
|
||||
List<RechargeTurnCoursesResponse> selectDateschia(Long storeId, Date startDate, Date endDate);
|
||||
List<RechargeTurnCourse> selectFKJ(RechargeTurnCourse rechargeTurnCourse);
|
||||
List<RechargeTurnCourse> selectFKJByDate(RechargeTurnCourse rechargeTurnCourse);
|
||||
}
|
||||
@ -0,0 +1,43 @@
|
||||
package com.ssm.manage.service;
|
||||
|
||||
import com.github.pagehelper.PageInfo;
|
||||
import com.ssm.core.service.BaseService;
|
||||
import com.ssm.manage.entity.RechargeType;
|
||||
import com.ssm.manage.entity.SmsException;
|
||||
import com.ssm.manage.query.RechargeTypeRequest;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public interface SsmRechargeTypeSevice extends BaseService<RechargeType> {
|
||||
PageInfo<RechargeType> selectPage(RechargeTypeRequest rechargeRequest);
|
||||
PageInfo<RechargeType> selectPagess(RechargeTypeRequest rechargeRequest);
|
||||
PageInfo<RechargeType> selectnewPage(RechargeTypeRequest rechargeRequest);
|
||||
PageInfo<RechargeType> selectnewPages(RechargeTypeRequest rechargeRequest);
|
||||
PageInfo<RechargeType> selectpromotionPage(RechargeTypeRequest rechargeRequest);
|
||||
|
||||
int addRecharge(RechargeTypeRequest rechargeRequest, String phone) throws SmsException;
|
||||
int addPromotionCourse(RechargeTypeRequest rechargeRequest, String phone) throws SmsException;
|
||||
int addRecharges(List<RechargeTypeRequest> rechargeRequest, String phone) throws SmsException;
|
||||
|
||||
int updateRecharge(RechargeTypeRequest rechargeRequest, String phone) throws SmsException;
|
||||
int updatePromotionRecharge(RechargeTypeRequest rechargeRequest, String phone) throws SmsException;
|
||||
|
||||
int deleteRecharge(RechargeTypeRequest rechargeRequest);
|
||||
|
||||
int updateStates(RechargeTypeRequest rechargeRequest);
|
||||
|
||||
List<RechargeType> selectList(RechargeTypeRequest rechargeTypeRequest,Long storeId)throws SmsException;
|
||||
List<RechargeType> selectsjianjiList(RechargeTypeRequest rechargeTypeRequest);
|
||||
List<RechargeType> selectsjianjiLists(RechargeTypeRequest rechargeTypeRequest);
|
||||
RechargeType one(RechargeTypeRequest rechargeTypeRequest);
|
||||
|
||||
List<RechargeType> insertBatch(List<RechargeType> list, Long storeId, String storeName, String phone) throws SmsException;
|
||||
|
||||
int addRecharges(RechargeTypeRequest rechargeRequest, String phone) throws SmsException;
|
||||
|
||||
int updateRecharges(RechargeTypeRequest rechargeRequest, String phone) throws SmsException;
|
||||
|
||||
int deleteRecharges(RechargeTypeRequest rechargeRequest);
|
||||
|
||||
List<RechargeType> selectById(List<Long> rechargeTypeId);
|
||||
}
|
||||
@ -0,0 +1,16 @@
|
||||
package com.ssm.manage.service;
|
||||
|
||||
import com.ssm.core.service.BaseService;
|
||||
import com.ssm.manage.entity.PromotionStore;
|
||||
import com.ssm.manage.entity.RechargeType;
|
||||
import com.ssm.manage.entity.RechargeTypeStore;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
|
||||
public interface SsmRechargeTypeStoreService extends BaseService<RechargeTypeStore> {
|
||||
//int insert (List<RechargeTypeStore> rechargeTypeStoreList);
|
||||
int insert (List<PromotionStore> rechargeTypeStoreList,RechargeType recharge);
|
||||
|
||||
List<RechargeTypeStore> selectStore(RechargeType rechargeType);
|
||||
}
|
||||
@ -0,0 +1,9 @@
|
||||
package com.ssm.manage.service;
|
||||
|
||||
import com.ssm.core.service.BaseService;
|
||||
import com.ssm.manage.entity.RechargeType;
|
||||
import com.ssm.manage.entity.RecordsTrades;
|
||||
|
||||
public interface SsmRecordsTradesService extends BaseService<RecordsTrades> {
|
||||
|
||||
}
|
||||
@ -0,0 +1,35 @@
|
||||
package com.ssm.manage.service;
|
||||
|
||||
import com.ssm.core.service.BaseService;
|
||||
import com.ssm.manage.entity.*;
|
||||
import com.ssm.manage.query.RefundCashReqest;
|
||||
import com.ssm.manage.query.StoreDailyRequest;
|
||||
import com.ssm.manage.response.CashListResponse;
|
||||
import com.ssm.manage.response.RefundCashResponse;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
public interface SsmRefundCashService extends BaseService<RefundCash> {
|
||||
List<RefundCashResponse> selectList(RefundCashReqest refundCashReqest);
|
||||
|
||||
int addRefundCash(List<RefundCashReqest> list, RefundOrderList refundOrderList) throws SmsException;
|
||||
int addRefundCashSalem(List<RefundCashReqest> list, RefundOrderList refundOrderList, BaseStore baseStore1) throws SmsException;
|
||||
|
||||
int updateRefundCash(List<RefundCashReqest> list, RefundOrderList refundOrderList) throws SmsException;
|
||||
|
||||
int audit(RefundOrderList refundOrderList) throws SmsException;
|
||||
|
||||
int unAudit(RefundOrderList refundOrderList) throws SmsException;
|
||||
|
||||
List<RefundCashResponse> selectList(Long storeId, String date);
|
||||
List<CashListResponse> selectLists(Long storeId, String dateStr, Date date);
|
||||
List<RefundCash> selectListsByStartTimeAndEndTime(Long storeId, String dateStr, Date startTime,Date endTime);
|
||||
List<CashListResponse> selectListsDept(Long storeId, String dateStr, Date date);
|
||||
List<RefundCash> selectListschia(Long storeId, Date startDate,Date endDate);
|
||||
List<RefundCashResponse> selectLists(Long storeId, String startDate, String endDate);
|
||||
|
||||
List<RefundCash> selectListNew(RefundCashReqest refundCashReqest);
|
||||
|
||||
List<RefundCash> selectFKJByRefundCashGifMoney(StoreDailyRequest storeDailyRequest);
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue