Commit 06b448ee authored by kdabholkar's avatar kdabholkar

commited new changes related rate

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@173948 ce508802-f39f-4f6c-b175-0d175dae99d5
parent f8de6cf0
......@@ -11553,7 +11553,7 @@ public class DistCommon
return mRate;
}
public double getDiscount(String priceList, Date orderDate, String custCode, String siteCode, String itemCode, String unit, double discMerge, Date pListDate, double quantity, Connection conn) throws ITMException
public double getDiscount(String priceList, Timestamp orderDate, String custCode, String siteCode, String itemCode, String unit, double discMerge, Date pListDate, double quantity, Connection conn) throws ITMException
{
String listType = "", itmSer = "";
double disc = 0;
......@@ -11576,8 +11576,9 @@ public class DistCommon
pstmt.setDouble(4, quantity);
pstmt.setDouble(5, quantity);
pstmt.setDouble(6, quantity);
pstmt.setDate(7, (java.sql.Date) orderDate);
pstmt.setDate(8, (java.sql.Date) orderDate);
pstmt.setTimestamp(7, orderDate);
pstmt.setTimestamp(8, orderDate);
rs = pstmt.executeQuery();
while (rs.next())
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment