Commit 98c9756e authored by Quxl's avatar Quxl

x

parent 01737795
...@@ -98,8 +98,8 @@ public class ActivityServiceImpl implements ActivityService { ...@@ -98,8 +98,8 @@ public class ActivityServiceImpl implements ActivityService {
+ " ProjectDays = datediff(dd, a.dStartDate, a.dEndDate) + 1, BeginDate = CONVERT(varchar(100), a.dStartDate, 111) , EndDate = CONVERT(varchar(100), a.dEndDate, 111) , ReturnDate = a.dReturnDate, " + " ProjectDays = datediff(dd, a.dStartDate, a.dEndDate) + 1, BeginDate = CONVERT(varchar(100), a.dStartDate, 111) , EndDate = CONVERT(varchar(100), a.dEndDate, 111) , ReturnDate = a.dReturnDate, "
+ " DiffDay = datediff(d,GETDATE(), a.dEndDate) , LastUpdateTime = dLastUpdateTime, " + " DiffDay = datediff(d,GETDATE(), a.dEndDate) , LastUpdateTime = dLastUpdateTime, "
+ " PicUrl = (select top 1 sZHPicUrl from tZHPic where nProjectID = a.nProjectID and nZHPicTypeID = 1)," + " PicUrl = (select top 1 sZHPicUrl from tZHPic where nProjectID = a.nProjectID and nZHPicTypeID = 1),"
+ " SaleQty =0 ," + " SaleQty = a.nSaleQty ,"
+ " SaleAmount =0 " + " SaleAmount = a.nSaleAmount "
+ " FROM tZHCProject a " + " FROM tZHCProject a "
+ " WHERE a.nTag&2=2 AND a.nTag&1=0 and a.sOrgNO = '"+orgNo+"' AND getdate() BETWEEN a.dStartDate AND a.dEndDate "; + " WHERE a.nTag&2=2 AND a.nTag&1=0 and a.sOrgNO = '"+orgNo+"' AND getdate() BETWEEN a.dStartDate AND a.dEndDate ";
......
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