Pharmacy_09_03_18
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.bestray.healthcarepharmacy.controller;
import com.bestray.healthcarecommonutil.exception.ProcessingException;
import com.bestray.healthcarecommonutil.vo.TPharmacyBilling;
import com.bestray.healthcarecommonutil.vo.TPharmacyPurchase;
import com.bestray.healthcarecommonutil.vo.TPharmacySales;
import com.bestray.healthcarepharmacy.service.BillingService;
import java.util.Date;
import java.util.List;
import java.util.Vector;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
/**
*
* @author Bestray
*/
@Controller
public class BillingController {
@Autowired
private BillingService billingService ;
public List<TPharmacyBilling> getBillingData(String billType,Date date)throws ProcessingException {
try{
return billingService.getBillingData(billType,date);
}catch(Exception e){
throw e;
}
}
public TPharmacyBilling getBillingId(String billNo)throws ProcessingException {
try{
return billingService.getBillingId(billNo);
}catch(Exception e){
throw e;
}
}
public List<TPharmacyPurchase> getPurchaseBillingDetails(TPharmacyBilling billingId)throws ProcessingException {
try{
return billingService.getPurchaseBillingDetails(billingId);
}catch(Exception e){
throw e;
}
}
public List<TPharmacySales> getSalesBillingDetails(TPharmacyBilling billingId)throws ProcessingException {
try{
return billingService.getSalesBillingDetails(billingId);
}catch(Exception e){
throw e;
}
}
}
|
Revision |
Author |
Commited |
Message |
1
|
girijabapi
|
Fri 27 Jul, 2018 07:30:57 +0000 |
|