关于EAS bos 界面印证必录项代码和重复分录代码

关于EAS bos 界面验证必录项代码和重复分录代码 //存放的都是容器对象 KDLabelContainer[] container ne

关于EAS bos 界面验证必录项代码和重复分录代码

 //存放的都是容器对象 

KDLabelContainer[] container = new KDLabelContainer[] { contNumber,
    contnoticeNumber, contunit, contauditType, contstartDate,
    contDataDate, contpostDate, contstate };
  STException exc = STRequiredUtils.checkRequiredItem(container);
  if (STUtils.isNotNull(exc)) {
   super.handUIExceptionAndAbort(exc);
  }

//校验分录必录项
  String[] columnNames = new String[] { "quename", "queDesc" };
  STException exc2 = STRequiredUtils.checkEntryRequiredItem(kdtEntrys,
    columnNames);
  if (STUtils.isNotNull(exc2)) {
   super.handUIExceptionAndAbort(exc2);
  }