检查必填项的调用代码示例。

来源:互联网 发布:sql server 2017 编辑:程序博客网 时间:2024/06/03 16:19


[java] view plaincopy
  1. //检查必填项调用代码  
  2.   
  3. KDLabelContainer[] container = new KDLabelContainer[] {  
  4.   
  5.       contNumber, contName  
  6.   
  7. };  
  8.   
  9. exc = STRequiredUtils.checkRequiredItem(container);  
  10.   
  11.  if (STUtils.isNotNull(exc)) {      
  12.   
  13.      super.handUIExceptionAndAbort(exc);  
  14.   
  15. }  

原创粉丝点击