Commit a8910596 authored by Quxl's avatar Quxl

x

parent 32b68a63
......@@ -28,7 +28,7 @@ public class BrandServiceImpl implements BrandService {
@Override
public List<Map<String,Object>> listBanner(Map<String,Object> params, Page page){
String orgNO = params.get("orgNO")+"";
String sql = "select nItem, nIdx, sTitle, sLinkType, sLinkPath, sImagePath from tBanner"
String sql = "select nItem BannerID, nIdx Idx, sTitle Title, sLinkType LinkType, sLinkPath LinkUrl, sImagePath ImgPath from tBanner"
+ " where CONVERT(varchar(100), dStartTime, 23) <= CONVERT(varchar(100),getdate(), 23) "
+ " AND CONVERT(varchar(100), dEndTime, 23) >= CONVERT(varchar(100),getdate(), 23) "
+ " AND nTag&1=0 ";
......
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