|
|
@@ -1219,11 +1219,11 @@ public class QueryDB { |
|
|
|
* @param |
|
|
|
* @return |
|
|
|
*/ |
|
|
|
public static BPA_GOODSRECIPENAME GetGoodsRecipeNameDesignId(String zfid) { |
|
|
|
public static BPA_GOODSRECIPENAME GetGoodsRecipeNameDesignId(String zfid,String goodid) { |
|
|
|
try { |
|
|
|
String orderby = Desc_Time_Up;//出料顺序 |
|
|
|
String where = "isDelete=? and design=?"; |
|
|
|
String[] args = new String[]{"0", zfid}; |
|
|
|
String where = "isDelete=? and design=? and goodsID=?"; |
|
|
|
String[] args = new String[]{"0", zfid,goodid}; |
|
|
|
ArrayList<BPA_GOODSRECIPENAME> data = new ArrayList<>(); |
|
|
|
ArrayList<Object> obj = Get(BPA_GOODSRECIPENAME.class, where, args, orderby); |
|
|
|
for (Object k : obj) { |
|
|
@@ -2416,7 +2416,7 @@ public class QueryDB { |
|
|
|
* @return |
|
|
|
*/ |
|
|
|
public static ArrayList<BPA_SUGAR> GetSugarALL() { |
|
|
|
String orderby = Desc_Time_Up;//先按排序 创建时间倒序 |
|
|
|
String orderby = Desc_Time_Down;//先按排序 创建时间倒序 |
|
|
|
String where = "isDelete=?"; |
|
|
|
String[] args = new String[]{"0"}; |
|
|
|
ArrayList<BPA_SUGAR> data = new ArrayList<>(); |
|
|
|