Please use SCMR1 to build the environment, the project will have major updates! !
TeaQL, a new feature of DaaS, is used to support large and complex related applications
Task task = Q . task ( orderId ) // 根据订单找到一个任务
. selectAll () // 取所有字段, 但是不包含子列表
. selectDropOffTaskItemList ( // 选择所有的卸车任务
Q . dropOffTaskItem () // 定制卸车任务
. selectProduct () // 选择产品
. selectCustomOrder ( // 卸车任务上面还关联了一个订单
Q . customOrder () // 定制订单选择
. selectAll () // 选择订单所有字段
. selectCustomOrderItemList () // 选择订单下面的订单项
. selectDeliveryOrderAssetList ( // 选择订单子列表下面的相关资产列表
Q . deliveryOrderAsset () // 定制订单资产列表
. selectAsset ( // 选择资产对象
Q . asset () // 定制资产选择
. selectAssetStatus () // 状态要加上,便于显示资产状态
. where ( // 把不合法的资产过滤出去
Asset . ASSET_STATUS_PROPERTY ,
QueryOperator . NOT_EQUAL ,
AssetStatus . INVALID ))))). execute ( ctx );
TeaQL is a newly invented application language based on various programming languages by the Dual-Chain team, which provides assistance for the development of large-scale applications with high complexity and long-term maintenance.
Integrated supply chain suite (all source code)
A highly customizable retail supply chain middle-end basic system. The middle-end management interface can be customized through JavaScript high-order functions. The Java backend can be flexibly customized by adding methods or rewriting a large number of existing methods.
The code of this system uses self-developed knowledge graph and causal network processing system to automatically generate highly maintainable source code.
Traditional development methods cannot develop such a large-scale application system and make changes flexibly. We used the self-developed cloud development tool DaaS (Development as a Service) to develop this platform. It has been adopted by many companies. Please refer to DaaS Start Kit. The model file of this project, retailscm.xml, is also in it (registration is required to run the model). Note: DaaS is not required to run this project, please refer to the deployment manual directly.
For a simple example of intelligent development, please see the doctor scheduling system
For fresh food supply chain, please visit:
- https://demo.doublechaintech.com/admin/freshchain/index.html
Role | username | password |
---|
platform | 13900000001 | admin123 |
Merchant 1 | 13900000002 | admin123 |
Merchant 2 | 13900000003 | admin123 |
The main features are as follows:
- The fresh food supply chain is a system built based on the point-to-point multi-merchant model.
- The relationship between merchants is equal, even among core merchants.
- Each merchant has its own organizational structure, including a purchasing catalog and a sales catalog. In this way, the information flow, business flow, and logistics between merchants can be linked to form a supply chain.
- Traditional supply chain systems like SAP are based on core enterprises as the objects of use. Upstream and downstream cooperative enterprises do not have supply chain accounts available.
- This supply chain enables upstream and downstream enterprises to exchange human resources, product information, inventory, etc. through management. Different applications can be achieved by customizing this system.
Table of contents
- Integrated supply chain suite
- Table of contents
- Business coverage
- Core features
- Architecture
- Front-end architecture
- Backend architecture
- Permission management
- Deployment architecture
- Project concept comes from database design
- How to use
- license
- Technical support
- Compatibility, the following environment test passed
- Secondary development
- deploy
- Online demonstration system (IE is not supported, it is best to use Chrome)
- Headquarters and branch operations
- business expansion
- Implemented business operations
- Procurement and supplier management
- Integrated management of warehouse and distribution
- human resources management
- User rights management
- components
- bizcore: Server-side core code project, Business Core
- bizui: middle-end integrated interface project, Business UI, don’t shut up!
- Data center (independent product used in this project)
- Supporting large data screen
- Core functions
- Additional database support
- Participate in this project
Business coverage
- Refer to the picture below
Core features
- This system includes front-end, back-end, and data screen. The data structure and basic data are developed through self-developed software.
- It is highly customizable. You do not need to change the generated code to add, modify, or block interfaces and background functions. You just need to add code to the custom layer. See explanation later.
- Developed with the retail platform as the core, it integrates five streams: information flow, business flow, logistics, capital flow, and talent flow.
Architecture
Front-end architecture
Backend architecture
Permission management
Deployment architecture
Project concept comes from database design
- Sankey diagram, showing conceptual lineage
The interactive viewing model can be seen at https://demo.doublechaintech.com/admin/design/retail_design.html
How to use
- On this basis, the business system can be customized. On this basis, the business system can be customized by adding code in the front and backends.
- Establish a data center so that the source code rarely needs to be modified. This system provides a large number of interfaces that allow the business system to insert data through APIs and can be regarded as an independent microservice.
- for teaching and practice
license
Except for the logo, login page and home page pictures, the source code of this system is Apache 2 License and can be used for commercial purposes.
Technical support
This system provides commercial system support and free technical support based on Issue
Compatibility, the following environment test passed
- Hardware environment: Amd64/ARM64/Huawei Kunpeng server
- Operating system environment: CentOS 6+/Ubuntu 16.04+
- Database: MySQL 5.7+, GBase 8s, Informix 11, PostgreSQL 9.3+
- Cache system: Redis 3.2+
- Event streaming system: Kafka
Secondary development
- Please see the Java development manual: https://kdocs.cn/l/sUdwkkyZD?f=130
- Database Design Document (94 pages in total): Database Design
- Detailed design document including sequence diagram (more than 200 pages in total): Detailed Design
deploy
If you want to deploy it yourself, please refer to the deployment guide
Online demonstration system (IE is not supported, it is best to use Chrome)
The system platform framework naturally supports multiple apps for one user. Demo accounts are established for 18 roles below. Each role can log in and represents different resources managed by different users.
- Latest support for data search
- Functional grouping
Headquarters and branch operations
Role | username | password |
---|
National Center for Retail Stores | 13900000001 | admin123 |
retail store provincial center | 13900000002 | admin123 |
retail store city service center | 13900000003 | admin123 |
Demo address: https://demo.doublechaintech.com/admin/retailscm/index.html
business expansion
Role | username | password |
---|
city partners | 13900000004 | admin123 |
potential customers | 13900000005 | admin123 |
Demo address: https://demo.doublechaintech.com/admin/retailscm/index.html
Implemented business operations
Role | username | password |
---|
retail store | 13900000006 | admin123 |
retail store membership | 13900000007 | admin123 |
Demo address: https://demo.doublechaintech.com/admin/retailscm/index.html
Procurement and supplier management
Role | username | password |
---|
Consumer's order | 13900000008 | admin123 |
product supplier | 13900000009 | admin123 |
supply order | 13900000010 | admin123 |
Retail store orders | 13900000011 | admin123 |
Demo address: https://demo.doublechaintech.com/admin/retailscm/index.html
Integrated management of warehouse and distribution
Role | username | password |
---|
storehouse | 13900000012 | admin123 |
shelves | 13900000013 | admin123 |
transport fleet | 13900000014 | admin123 |
transportation tasks | 13900000015 | admin123 |
Accounting documents | 13900000017 | admin123 |
Demo address: https://demo.doublechaintech.com/admin/retailscm/index.html
human resources management
Role | username | password |
---|
pay grade | 13900000018 | admin123 |
staff | 13900000020 | admin123 |
Demo address: https://demo.doublechaintech.com/admin/retailscm/index.html
User rights management
Role | username | password |
---|
user domain | 13900000021 | admin123 |
Demo address: https://demo.doublechaintech.com/admin/retailscm/index.html
components
bizcore: Server-side core code project, Business Core
The backend Java/Spring/Redis/MySQL/ArrangoDB/Kafka Java source code is under bizcore/WEB-INF/
caf_core_src: 通用框架库核心代码,包含技术框架,基础设施
caf_custom_src: 通用框架库,主要包含配置文件
retailscm_core_src: 零售业务核心代码
retailscm_custom_src: 零售业务定制代码,如果要定制,在此处增加类,继承retail_core_src的相应类,可以调用或者重写父类,core里面的类提供大量可以重用的方法。
bizui: middle-end integrated interface project, Business UI, don’t shut up!
Front-endReact/dvajs/antd/echarts/Redux
Data middle platform (an independent product is used in this project, using many new technologies such as graph computing. It can assist in making business decisions, but cannot be used as a data source for reports, settlements, etc.)
- A new generation of graph computing real-time engine
- Data analysis results management and sharing
- Support clients to call data through API to achieve closed-loop feedback
- Real-time push and subscription demo address: https://demo.doublechaintech.com/admin/dmos/
- Username/Password: 13900000005/admin123
- Browse any dataset->menu selection->common functions->candidate datasets
Supporting large data screen
Core functions
- Platform management, bird’s eye view of the platform
- Business development management (CRM), manage contacts, sales progress, and complete partner conversion
- Xiaochao member management, member management orders, payments, mailing addresses, etc.
- Human resource management (HRM) can manage onboarding, performance appraisal, salary payment, experience, education experience, training and examination records
future development
- Progressive model, from the centralized SaaS model of a single core enterprise to multi-core enterprise multi-center SaaS
- Apply blockchain technology to expand to multiple centers
- Change control: All data changes are subject to control procedures, and data sources can be explained
- A stronger basic analysis workbench: supports multiple dimensions to analyze data in a single list.
Additional database support
Currently supports PGSQL9.5+ and GBASE 8S
Participate in this project
- Discuss supply chain development trends
- Explore supply chain related technologies and products
- Discuss and share market opportunities
- Please enter supply chain-related nouns when verifying: scm, gyl, supply chain
Upgrade plan
- This project was developed in 2017 and open sourced in early 2019. The development team has acquired further supply chain knowledge in four years, and the model requirements have been updated.
- Model like peer-to-peer supply chain development
- Business operations will improve the traceability of operations
- Upgrade to new base platform
- JSON defines dynamic frontend