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