Add files via upload

This commit is contained in:
gopi17701 2018-08-22 17:32:15 -04:00 committed by GitHub
parent 17a6be72bd
commit c5c055ca00
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,6 +6,7 @@ import com.astute.model.PODetail;
import java.sql.Date;
import java.sql.SQLException;
import java.text.ParseException;
import java.util.List;
import static com.astute.dao.DAO.getDao;
@ -15,7 +16,7 @@ public class POService extends Service{
super();
}
public List<PO> getPOMaster(String PONum, String contractNum, Date PODate, String astuteProjectNumber)
public List<PO> getPOMaster(String PONum, String contractNum, String PODate, String astuteProjectNumber)
throws AstuteException {
return getDao().getPOMaster(PONum, contractNum, PODate, astuteProjectNumber);
}
@ -27,8 +28,9 @@ public class POService extends Service{
}
public void updatePOMaster(String PONum, String contractNum, Date PODate, Double contractAmt, String astuteProjectNumber, String title)
public void updatePOMaster(String PONum, String contractNum, String PODate, Double contractAmt, String astuteProjectNumber, String title)
throws AstuteException {
System.out.print("PODate in Service is "+ PODate);
getDao().updatePOMaster(PONum, contractNum, PODate, contractAmt, astuteProjectNumber, title);
}
@ -37,8 +39,8 @@ public class POService extends Service{
getDao().updatePODetail(POnum, lineItemNo, serviceDesc, feeTypeId, qty, fee, serviceTypeId, remainingQuantity);
}
public void createPOMaster(String PONum, String contractNum, Date PODate, Double contractAmt, String customerId, String astuteProjectNumber, String title)
throws AstuteException {
public void createPOMaster(String PONum, String contractNum, String PODate, Double contractAmt, String customerId, String astuteProjectNumber, String title)
throws AstuteException, ParseException {
getDao().createPOMaster(PONum, contractNum, PODate, contractAmt, customerId, astuteProjectNumber, title);
}