|
|
@@ -1281,6 +1281,7 @@ namespace Dongke.IBOSS.PRD.Service.PMModuleLogic
|
|
|
if (paras[7].Value.ToString() == "null") //只有正确的条码,读注浆信息
|
|
|
{
|
|
|
|
|
|
+ //2020-03-04 添加关联字典表取釉料属性
|
|
|
sqlString = @"select
|
|
|
tp_pm_inproduction.GoodsName,
|
|
|
tp_pm_inproduction.GroutingUserID,
|
|
|
@@ -1296,7 +1297,9 @@ namespace Dongke.IBOSS.PRD.Service.PMModuleLogic
|
|
|
--gt.gt.goodstypecode,gt.goodstypename,a.workcode,
|
|
|
tp_mst_logo.logocode,
|
|
|
u.username as GroutingUserName,
|
|
|
- tp_mst_logo.logoname
|
|
|
+ tp_mst_logo.logoname,
|
|
|
+ --xuwei add line 2020-03-04
|
|
|
+ glaze.DICTIONARYVALUE AS GLAZENAME
|
|
|
from tp_pm_inproduction
|
|
|
left join TP_PM_GroutingDailyDetail gdd on gdd.GroutingDailyDetailID = tp_pm_inproduction.GroutingDailyDetailID
|
|
|
left join tp_mst_logo
|
|
|
@@ -1305,6 +1308,8 @@ namespace Dongke.IBOSS.PRD.Service.PMModuleLogic
|
|
|
LEFT JOIN TP_MST_GOODS G ON G.GoodsID = tp_pm_inproduction.goodsid
|
|
|
--left join tp_mst_goodstype gt on gt.goodstypeid = g.goodstypeid
|
|
|
--left join tp_mst_account a on a.accountid = gdd.accountid
|
|
|
+ --xuwei add line 2020-03-04
|
|
|
+ LEFT JOIN TP_MST_DataDictionary glaze ON glaze.DICTIONARYID = gdd.GLAZETYPEID
|
|
|
where tp_pm_inproduction.BarCode=:barcode";
|
|
|
paras = new OracleParameter[]{
|
|
|
new OracleParameter(":barcode",barcode),
|