Git Product home page Git Product logo

cl-purchase's Introduction

cl-purchase

采购管理系统

一、前置项目依赖

配置中心:https://github.com/pumadong/cl-privilege 商品中心:https://github.com/pumadong/cl-commodity

二、项目说明

采购中心,基于商品中心,管理采购合同、供应商、采购单、发货单、返厂单,其数据是财务与供应商进行结算的依据。

本系统中关于采购相关表单的建立,并没有考虑的非常完整,只演示比较基本的内容,需要根据实际情况,进行增减。

采购中心,如果把结算部分剥离出去,到一个财务系统中去,内容已经比较少了。

采购单号编码规则:P+年份后两位+月份+日期+两位数字,共9位

发货单号编码规则:3位仓库ID(不足3位0补足)+D+年份后两位+月份+日期+两位数字,共12位

返厂单号编码规则:3位仓库ID(不足3位0补足)+B+年份后两位+月份+日期+两位数字,共12位

三、mybatis-generator

ORM框架采用MyBatis,为了提高开发效率,先根据数据库表单结构自动生成Model和MyBatis相关类,生成命令如下:

java -jar mybatis-generator-core-1.3.1.jar -configfile config_purchase.xml -overwrite

生成时需要把mybatis-generator-core-1.3.1.jar、mysql-connector-java-5.1.24-bin.jar、config_privilege.xml放到一个目录下,生成的相关类和XML会放置到CreateResult文件夹下面。

jar下载地址:http://pan.baidu.com/s/1qW98L0C

cl-purchase's People

Contributors

pumadong avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.