扫码售后系统功能实现:
1.工单进度同步
管理员派单,工人手机接单,客户微信查单。像查快递一样简单。
2.派单抢单模式
扫码售后软件能对自有工人进行指派工单,对合作工人采用抢单模式,降低用工成本。
3.设备维保模式
在每个上面赋予一个专属的二维码,消费者通过用微信扫二维码在线报单,工人扫二维码查看设备详情维保记录.适合于设备维保行业。
4.微信在线下单
扫码售后软件,实现服务展示、在线下单,在线查单等功能。订单直接转到扫码售后软件,用于工单的指派。
5.客户资料管理
管理客户资料,查看客户历史服务工单,工人手机查询客户服务历史记录。
6.实时位置跟进
工人开启实时位置,管理员可以实时查看工人所在位置,适用于车队管理,配送行业等。
数据库访问驱动层--大家都知道EF,NH跟Ado.net或者你自己实现的,这些都是为我们访问数据库或对数据库操作建立了桥梁,当然数据库也可能是不同的数据库,这些都是根据项目需求来定的,至于选择哪个则要视情况而定了.这里我就用了EF--model-first.我是直接在edmx里面设计模型,然后生成实体跟数据库,具体如下,做了个简单的权限管理(还没完全实现)..
扫码售后系统开发,扫码售后系统平台开发,找谢健:134.2220.2839,java,.net,php,sass优化,扫码售后系统软件开发框架搭建
public class BaseRepository<T>:IDAL.IBaseRepository<T> where T:class
{
private DbContext container = EFContentFactory.GetCurrentContext();
#region 增加
public T AddEntity(T entity)
{
container.Set<T>().Add(entity);
return entity;
}
#endregion
#region 删除
public bool DeleteEntity(T entity)
{
container.Set<T>().Attach(entity);
container.Entry(entity).State = EntityState.Deleted;
return true;
}
#endregion
#region 修改
public bool UpdateEntity(T entity)
{
container.Set<T>().Attach(entity);
container.Entry(entity).State = EntityState.Modified;
return true;
}
#endregion
#region 查询
public IQueryable<T> GetEntities(Func<T, bool> lambdaWhere)
{
IQueryable<T> entities = container.Set<T>().Where(lambdaWhere).AsQueryable();
return entities;
}
#endregion
#region 分页
public IQueryable<T> GetEntitiesByPageIndex<TS>(int pageIndex, int pageSize, out int totalCount, Func<T, bool> lambdaWhere, Func<T, TS> orderByRole, bool descending)
{
var temp = container.Set<T>().Where(lambdaWhere).AsQueryable();
totalCount = temp.Count();
if (descending)
{
temp = temp.OrderByDescending(orderByRole)
.Skip(pageSize * (pageIndex - 1))
.Take(pageSize).AsQueryable();
}
else
{
temp = temp.OrderBy(orderByRole)
.Skip(pageSize * (pageIndex - 1))
.Take(pageSize).AsQueryable();
}
return temp;
}
#endregion
}
异步模块,缓存模块,配置模块,数据模块,邮箱模块,随机值模块,Session模块,短信模块这8个模块
如邮箱模块:
/// 邮件管理类
public class BSPEmail{
private static IEmailStrategy _emailstrategy = null;//邮件策略
static BSPEmail(){
Load();
}
/// 邮件策略实例
public static IEmailStrategy Instance{
get { return _emailstrategy; }
}
/// 加载邮件策略
private static void Load(){
try{
string[] fileNameList = Directory.GetFiles(System.Web.HttpRuntime.BinDirectory, "BrnShop.EmailStrategy.*.dll", SearchOption.TopDirectoryOnly);
_emailstrategy = (IEmailStrategy)Activator.CreateInstance(Type.GetType(string.Format("EmailStrategy.{0}.EmailStrategy, EmailStrategy.{0}", fileNameList[0].Substring(fileNameList[0].IndexOf("EmailStrategy.") + 14).Replace(".dll", "")),false,true));
}catch{
throw new BSPException("创建\"邮件策略对象\"失败,可能存在的原因:未将\"邮件策略程序集\"添加到bin目录中;将多个\"邮件策略程序集\"添加到bin目录中;\"邮件策略程序集\"文件名不符合\"EmailStrategy.{策略名称}.dll\"格式");
}
}
}
商城网站前台:使用ASP.NET MVC3实现: