需求中遇到“空”的情况时,要确定处理办法

尤其是两个系统进行数据交互时,要注意这种问题

1.如果一条数据为空,是彻底给空,还是给一个只含主键的空记录,还是给一条错误信息?

2.如果一个容器内的数据都空了,是彻底给空,还是给空容器?

Leave a Comment

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.