@@ -217,10 +217,6 @@ public class GoodsServiceImpl implements GoodsService {
...
@@ -217,10 +217,6 @@ public class GoodsServiceImpl implements GoodsService {
returnpics;
returnpics;
}
}
publicstaticvoidmain(String[]args){
System.out.println((154&3));
}
/**
/**
* 收藏及取消收藏
* 收藏及取消收藏
* @Title: updateFlavor
* @Title: updateFlavor
...
@@ -292,4 +288,14 @@ public class GoodsServiceImpl implements GoodsService {
...
@@ -292,4 +288,14 @@ public class GoodsServiceImpl implements GoodsService {
}
}
publicstaticvoidmain(String[]arg){
StringorgNo="1001";
List<String>args=newArrayList<String>();
args.add("(t.sAgentContractNO = '600001001' and t.nGoodsID = 519)");
Stringsql1="select t.sAgentContractNO, t.nGoodsID, p.sPromoTheme, p.sPromoName, p.sPromoPaperNO, p.sPromoActionTypeID, t.sGroupNO sPromoGroupNO from tYWPromoDtl t, tYWPromoMain p where p.sPromoActionTypeID != '3' and t.sPromoPaperNO = p.sPromoPaperNO and p.nTag&3 = 2 and p.sOrgNO = '"+orgNo+"' "+StringUtil.join(" OR "," and (",")"," and (1 = 0) ",args)+" group by t.sAgentContractNO, t.nGoodsID, p.sPromoTheme, p.sPromoName, p.sPromoPaperNO, p.sPromoActionTypeID, t.sGroupNO";