|
@@ -356,7 +356,7 @@ public class workorder extends Controller {
|
|
|
RowsMap workorderteamRowsMap = workorderteamRows.toRowsMap("ownerid");
|
|
RowsMap workorderteamRowsMap = workorderteamRows.toRowsMap("ownerid");
|
|
|
|
|
|
|
|
/** 工单节点物料查询 **/
|
|
/** 工单节点物料查询 **/
|
|
|
- Rows workorderitemRows = dbConnect.runSqlQuery("select t1.*,t2.itemno,t2.model,t2.itemname,t2.spec,t7.bomfullname,ifnull(t1.isnew,0) isnew from sa_workorder_node_items t1 left join plm_item t2 on t1.itemid=t2.itemid and t1.siteid=t2.siteid " + "LEFT JOIN sa_itemsalebom t6 on t1.itemid=t6.itemid and t6.siteid = t1.siteid " + "LEFT JOIN plm_bom t7 on t7.plm_bomid=t6.plm_bomid and t6.siteid = t7.siteid where t1.sa_workorderid=" + sa_workorderid + " and t1.siteid='" + siteid + "'");
|
|
|
|
|
|
|
+ Rows workorderitemRows = dbConnect.runSqlQuery("select t1.*,t2.marketprice,t2.itemno,t2.model,t2.itemname,t2.spec,t7.bomfullname,ifnull(t1.isnew,0) isnew from sa_workorder_node_items t1 left join plm_item t2 on t1.itemid=t2.itemid and t1.siteid=t2.siteid " + "LEFT JOIN sa_itemsalebom t6 on t1.itemid=t6.itemid and t6.siteid = t1.siteid " + "LEFT JOIN plm_bom t7 on t7.plm_bomid=t6.plm_bomid and t6.siteid = t7.siteid where t1.sa_workorderid=" + sa_workorderid + " and t1.siteid='" + siteid + "'");
|
|
|
// 默认商品图片
|
|
// 默认商品图片
|
|
|
Rows defaultImageRows = beans.Item.Item.getItemdefaultImage(this);
|
|
Rows defaultImageRows = beans.Item.Item.getItemdefaultImage(this);
|
|
|
// 附件
|
|
// 附件
|