|
|
|
@ -64,7 +64,7 @@ namespace DSWeb.Areas.MvcShipping.DAL.MsOp_BLISSUE
|
|
|
|
|
strSql.Append(" ,g.TTLDR TTLDR ");
|
|
|
|
|
strSql.Append(" ,B.OPLBNAME,B.STLNAME,B.ISGAIQIAN ");
|
|
|
|
|
strSql.Append(" ,(case when (select COUNT(*) from worklog where bsno=ob.GID and ACTNAME='提单签入')>0 then 1 else 0 end) ISQR,ob.QRDATE,ob.QCDATE ");
|
|
|
|
|
strSql.Append(" ,ose.ORDEROP ");//订舱中心
|
|
|
|
|
strSql.Append(" ,ose.ORDEROP ,ose.BSSOURCE ");//订舱中心
|
|
|
|
|
strSql.Append(" from v_op_blissue_bill B ");
|
|
|
|
|
strSql.Append(" left join op_blissue ob on ob.BSNO=B.BSNO ");
|
|
|
|
|
strSql.Append(" left join v_op_gain_sum_ttl g on g.BSNO=B.BSNO ");
|
|
|
|
@ -258,6 +258,7 @@ namespace DSWeb.Areas.MvcShipping.DAL.MsOp_BLISSUE
|
|
|
|
|
data.DOC = Convert.ToString(reader["DOC"]);
|
|
|
|
|
|
|
|
|
|
data.ORDEROP = Convert.ToString(reader["ORDEROP"]);
|
|
|
|
|
data.BSSOURCE = Convert.ToString(reader["BSSOURCE"]);
|
|
|
|
|
#endregion
|
|
|
|
|
headList.Add(data);
|
|
|
|
|
}
|
|
|
|
@ -692,7 +693,7 @@ namespace DSWeb.Areas.MvcShipping.DAL.MsOp_BLISSUE
|
|
|
|
|
strSql.Append(" ,g.TTLDR TTLDR ");
|
|
|
|
|
strSql.Append(" ,B.OPLBNAME,B.STLNAME,0 ISQR,ob.QRDATE,ob.QCDATE,B.ISGAIQIAN ");
|
|
|
|
|
|
|
|
|
|
strSql.Append(" ,ose.ORDEROP ");
|
|
|
|
|
strSql.Append(" ,ose.ORDEROP ,ose.BSSOURCE ");
|
|
|
|
|
strSql.Append(" from v_op_blissue_bill B ");
|
|
|
|
|
strSql.Append(" left join op_blissue ob on ob.BSNO=B.BSNO ");
|
|
|
|
|
strSql.Append(" left join v_op_blissuelist_Detail obd on obd.BSNO=B.BSNO ");
|
|
|
|
|