当前位置:网站首页>预交费功能
预交费功能
2022-07-20 19:12:00 【51CTO】
用户需求
l 在正式收费环节之前,可以对项目进行预交费操作。
l 预交费操作记录收费号、交费金额、日期。
l 预交费只作为一个信息在项目上进行记录,不做逻辑判断。
l 项目交费最后记录真实的整个项目的总共实收费用,与预收费没有逻辑关联。
================================================
需求
增加、修改预收费:
预交费包括4项信息:收费号、交易金额、交易时间、预收费人。收费号,用户输入,不能为空,最多50个字符。交易金额,用户输入,必须为正数,保留两位小数。就是新增或修改预收费的时间。预收费人就是业务系统当前操作人。案号默认值000000。
功能入口:
在选中一个案件的右键菜单中增加一个菜单项“预收费”。查看、增加、修改预收费在同一个界面实现。
正式收费以后的环节此菜单隐藏或根本不增加。
以下情况之一,只能查看,不能修改:
a,正式收费环节。
b,已经有收费信息,且预收费人不是当前操作人。
同一个案件只能有一个预收费信息。
设计:
数据库设计:
新增数据表PreCharge,5个字段
WorkID,案件ID,CHAR(32)。主键,外键,非空。
TollNumber,收费号,VARCHAR2(50),非空。
PaymentAmount,交费金额,NUMBER(18,2),非空。
DateTime,日期,DATE ,非空。
界面设计:
交易时间格式:年-月-日 小时:分钟:秒,年4位,其它2位,24小时制)
其它略。
特别说明:
1,9月1号 预收了 30元,不小心记录成25元。9月2号 发现了记录错了,于是改成30元。结果就成了,9月2号收了30元。
此功能非核心功能,所以不必吹毛求疵。
边栏推荐
- 同花顺上开户安全吗,靠谱吗?
- Set shell script to start automatically
- 架构训练营模块七作业
- 云计算与数字化转型的关系,终于有人讲明白了
- Embedded engineers should make good use of the three elements of C language
- Memory allocation method
- Activity registration | expose the insider of Apache Doris data Lake analysis technology? Rare earth Developers Conference free registration!
- IO文件输入输出流
- Detailed explanation of zero length array in C language (2)
- C#中缓存的使用
猜你喜欢
测试/开发程序员怎样渡过中年危机?一眼就看到底了......
[Estimation de la page d'accueil] estimation de la page d'accueil de l'image profonde
QT compile the Internet of things management platform 45- collect data and forward
关于 MySQL 的酸与 MVCC 和面试官小战三十回合
TF 坐标变换
【MLFP】《Face Presentation Attack with Latex Masks in Multispectral Videos》
Redis(12)----Redis服务器
【Homography Estimation】《Deep Image Homography Estimation》
Dart:补充
CAD给实体设置超链接(网页版)
随机推荐
分组查询以及筛选的区别
渗透测试-命令执行注入
架构训练营模块七作业
[Estimation de la page d'accueil] estimation de la page d'accueil de l'image profonde
Safe day 2022 China large scale agile conference will be held on November 5
CAD禁用工具条上某个按钮(网页版)
科学计算工具包SciPy图像处理
Detailed explanation and typical cases of multi-agent system cluster collaborative control experimental platform
云计算与数字化转型的关系,终于有人讲明白了
一元多项式的乘法与加法运算
C# 本地函数与yield语句
5款经典代码阅读器的使用方案对比
C#中缓存的使用
嵌入式工程师,用好C语言这一利器的三要素
Starfish OS: create a new paradigm of the meta universe with reality as the link
出现DTS 写入模块写入目标数据库延迟,主要排查哪几个方面?
测试/开发程序员怎样渡过中年危机?一眼就看到底了......
What are the main aspects of troubleshooting when DTS write module delays writing to the target database?
HSPF(Hydrological Simulation Program Fortran)模型
MySQL---three 多表查询与事务的操作