コード例 #1
0
  public void updateTestActivityEffort() throws Exception {

    activityObj.setActivityId("001");
    effortObj.setActivityObj(activityObj);

    effortObj.setEffortDescription("Well");
    System.out.println(tmsManager.updateTestActivityEffort(effortObj));
  }
コード例 #2
0
  public void addTestActivityEffort() throws Exception {

    activityObj.setActivityId("001");
    effortObj.setActivityObj(activityObj);
    userObj.setEmpNo("1");
    effortObj.setUserObj(userObj);

    effortObj.setEffortDate(new Date(2010, 10, 01));

    effortObj.setStartDate(new Date(2010, 10, 02));

    effortObj.setEndDate(new Date(2010, 11, 01));

    effortObj.setEffort(4);

    effortObj.setEffortDescription("I dont Know");

    effortObj.setEffortTimeStamp("2010-11-17");

    System.out.println(tmsManager.addTestActivityEffort(effortObj));
  }