資源簡介
一、源碼介紹
所有行業的ERP系統/進銷存/倉庫系統,該系統為vs2012 .net+MsSQL版,目前標準版功能簡單、明了、滿足公司正常使用,已有多家企業正常使用,成熟穩定,有需要的可以下載看看。
二、主要功能
1、電商管理(可以和公眾號、小程序對接)
微信訂單、小程序訂單、公眾號訂單
參數設置:輪播圖片設置、分類導航設置、小程序參數設置、公眾號參數設置
2、銷售管理:銷售訂單、銷售出庫
3、采購管理:采購訂單、采購入庫
4、生產管
代碼片段和文件信息
using?System;
using?System.IO;
using?System.Data;
using?System.Collections.Generic;
using?Lanwei.Weixin.Common;
namespace?LanweiBLL
{
????///?
????///?系統頻道表
????///?
????public?partial?class?channel
????{
????????private?readonly?Lanwei.Weixin.Model.siteconfig?siteConfig?=?new?LanweiBLL.siteconfig().loadConfig();?//獲得站點配置信息
????????private?readonly?Lanwei.Weixin.DAL.channel?dal;
????????public?channel()
????????{
????????????dal?=?new?Lanwei.Weixin.DAL.channel(siteConfig.sysdatabaseprefix);
????????}
????????#region?基本方法========================================
????????///?
????????///?是否存在該記錄
????????///?
????????public?bool?Exists(int?id)
????????{
????????????return?dal.Exists(id);
????????}
????????///?
????????///?查詢頻道名稱是否存在
????????///?
????????public?bool?Exists(string?name)
????????{
????????????//與站點目錄下的一級文件夾是否同名
????????????if?(DirPathExists(siteConfig.webpath?name))
????????????{
????????????????return?true;
????????????}
????????????//與站點aspx目錄下的一級文件夾是否同名
????????????if?(DirPathExists(siteConfig.webpath?+?“/“?+?MXKeys.DIRECTORY_REWRITE_ASPX?+?“/“?name))
????????????{
????????????????return?true;
????????????}
????????????//與存在的頻道名稱是否同名
????????????if?(dal.Exists(name))
????????????{
????????????????return?true;
????????????}
????????????return?false;
????????}
????????///?
????????///?返回數據總數
????????///?
????????public?int?GetCount(string?strWhere)
????????{
????????????return?dal.GetCount(strWhere);
????????}
????????///?
????????///?增加一條數據
????????///?
????????public?int?Add(Lanwei.Weixin.Model.channel?model)
????????{
????????????//取得所屬頻道分類的生成目錄
????????????string?build_path?=new?LanweiBLL.channel_category().GetBuildPath(model.category_id);
????????????if?(string.IsNullOrEmpty(build_path))
????????????{
????????????????return?0;
????????????}
????????????//開始插入頻道信息
????????????int?channelId?=?dal.Add(model);
????????????if?(channelId?>?0)
????????????{
????????????????//添加導航菜單
????????????????int?newNavId?=?new?LanweiBLL.navigation().Add(“channel_“?+?build_path?“channel_“?+?model.name?model.title?““?model.sort_id?channelId?“Show“);
????????????????if?(newNavId?1)
????????????????{
????????????????????dal.Delete(channelId);
????????????????????return?0;
????????????????}
????????????????//添加子導航菜單
????????????????new?LanweiBLL.navigation().Add(“channel_“?+?model.name?“channel_“?+?model.name?+?“_list“?“內容管理“?“article/article_list.aspx“?99?channelId?“ShowViewAddEditDeleteAudit“);
????????????????new?LanweiBLL.navigation().Add(“channel_“?+?model.name?“channel_“?+?model.name?+?“_category“?“欄目類別“?“article/category_list.aspx“?100?channelId?“ShowViewAddEditDelete“);
????????????????new?LanweiBLL.navigation().Add(“channel_“?+?model.name?“channel_“?+?model.name?+?“_comment“?“評論管理“?“article/comment_list.aspx“?101?channelId
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2019-12-14?13:33??01.code\
?????文件????????6120??2019-10-24?21:41??01.code\Lanwei.Weixin.ERP_2019.sln
?????文件??????120320??2019-10-24?22:53??01.code\Lanwei.Weixin.ERP_2019.v11.suo
?????目錄???????????0??2019-12-14?13:28??01.code\LanweiBLL\
?????文件????????3506??2017-10-06?08:59??01.code\LanweiBLL\Lanwei.Weixin.BLL.csproj
?????目錄???????????0??2019-12-14?13:28??01.code\LanweiBLL\Properties\
?????文件????????1338??2016-06-17?05:04??01.code\LanweiBLL\Properties\AssemblyInfo.cs
?????目錄???????????0??2020-02-24?14:37??01.code\LanweiBLL\bin\
?????文件????????8345??2017-10-06?08:47??01.code\LanweiBLL\channel.cs
?????文件????????8723??2017-10-06?08:47??01.code\LanweiBLL\channel_category.cs
?????文件????????3564??2016-06-17?05:04??01.code\LanweiBLL\manager.cs
?????文件????????3101??2016-06-17?05:04??01.code\LanweiBLL\manager_log.cs
?????文件????????2582??2016-06-17?05:04??01.code\LanweiBLL\manager_role.cs
?????文件????????4838??2017-10-06?08:47??01.code\LanweiBLL\navigation.cs
?????目錄???????????0??2019-12-14?13:28??01.code\LanweiBLL\obj\
?????目錄???????????0??2019-12-14?13:28??01.code\LanweiBLL\obj\Debug\
?????文件????????7292??2019-10-24?22:51??01.code\LanweiBLL\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache
?????文件????????6184??2019-10-24?22:52??01.code\LanweiBLL\obj\Debug\Lanwei.Weixin.BLL.csproj.FileListAbsolute.txt
?????文件???????50701??2019-10-24?22:52??01.code\LanweiBLL\obj\Debug\Lanwei.Weixin.BLL.csprojResolveAssemblyReference.cache
?????文件???????18432??2019-10-24?21:57??01.code\LanweiBLL\obj\Debug\Lanwei.Weixin.BLL.dll
?????文件???????81408??2019-10-24?21:57??01.code\LanweiBLL\obj\Debug\Lanwei.Weixin.BLL.pdb
?????文件????????9076??2017-09-28?23:45??01.code\LanweiBLL\obj\Debug\LanweiBLL.csproj.FileListAbsolute.txt
?????文件???????20635??2017-10-04?13:05??01.code\LanweiBLL\obj\Debug\LanweiBLL.csprojResolveAssemblyReference.cache
?????目錄???????????0??2020-02-24?14:37??01.code\LanweiBLL\obj\Debug\TempPE\
?????文件???????????0??2016-06-17?05:04??01.code\LanweiBLL\obj\Debug\TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs
?????文件???????????0??2016-06-17?05:04??01.code\LanweiBLL\obj\Debug\TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
?????文件???????????0??2016-06-17?05:04??01.code\LanweiBLL\obj\Debug\TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs
?????文件????????1349??2017-10-06?08:47??01.code\LanweiBLL\siteconfig.cs
?????文件????????5417??2017-10-06?08:47??01.code\LanweiBLL\url_rewrite.cs
?????文件????????4266??2017-10-06?08:47??01.code\LanweiBLL\user_amount_log.cs
?????文件????????1333??2017-10-06?08:47??01.code\LanweiBLL\user_config.cs
............此處省略7988個文件信息
- 上一篇:Convert.rar
- 下一篇:基于SSH的汽車4S店管理系統
評論
共有 條評論