예제 #1
0
 // 没有关联修改链接
 public String getCommonOperateTextNoRelate() {
   List<MyLabel> myLabels = new ArrayList<MyLabel>();
   if (this.tranType == null || this.status == null) {
     return "";
   } else {
     getGenalManageLabel(myLabels);
     getRemarkLabel(myLabels);
   }
   String commonOperateText = commonOperate.getOperateText();
   // System.out.println(commonOperateText);
   return commonOperateText;
 }
예제 #2
0
  public String getTradeOperate() {
    List<MyLabel> myLabels = new ArrayList<MyLabel>();
    if (this.tranType == null) {
      System.out.println("order id:" + this.id + "tranType is null");
      return "";
    }

    if (this.status == null) {
      System.out.println("order id:" + this.id + "status is null");
      return "";
    }

    getGeneralOperate(myLabels);

    String operateText = operate.getOperateText();

    return operateText;
  }