GithubHelp home page GithubHelp logo

xuxs17 / check Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 3.0 5 KB

实习期间老板交代的任务(某银行食堂财务对账),本人独立完成,目前正在项目中使用(数据库参数隐去了)

Python 100.00%
1

check's Introduction

1.如果需要添加新一季度,在Check.py的__init__的SQL语句尾部直接添加union all select * FROM 表名 ,这样就可以了
2.使用时运行testCheck.py
注:
①用户消费表每季度一张表,每年四张表。
②系统启用时间为2016年5月1日。此时间以后的数据均为有效数据。
③此表仅列出了部分字段名,如需其他字段名,请自行查找。
④用户ID为:'1', '2', '4', '10'的用户为测试用户,计算数据的时候请将这四个用户排除。
⑤同一个用户ID可能拥有多个卡号。

当 总用户余额+总消费金额=总充值金额 时,证明系统数据正确。
当 总用户余额+总消费金额≠总充值金额 时,证明系统数据有误。
当数据有误时,请分析出具体是哪个用户的消费记录有问题。
用户充值表包含用户充值金额(增款),退还押金(减款),退还余额(减款),因错退还的金额不计算在充值金额中。

check's People

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  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.