@ -58,8 +58,8 @@ namespace DSWeb.MvcShipping.DAL.MsOpSeaeModuleDAL
strSql . Append ( "PlACERECEIPT,PORTLOADID,PORTLOAD,PORTDISCHARGEID,PORTDISCHARGE,PLACEDELIVERYID,PLACEDELIVERY,DESTINATIONID,DESTINATION," ) ;
strSql . Append ( "PlACERECEIPT,PORTLOADID,PORTLOAD,PORTDISCHARGEID,PORTDISCHARGE,PLACEDELIVERYID,PLACEDELIVERY,DESTINATIONID,DESTINATION," ) ;
strSql . Append ( "NOBILL,ISSUETYPE,ISSUEPLACE,BLFRT,PREPARDAT,PAYABLEAT,[SERVICE],MARKS,NOPKGS,[DESCRIPTION],GOODSNAME," ) ;
strSql . Append ( "NOBILL,ISSUETYPE,ISSUEPLACE,BLFRT,PREPARDAT,PAYABLEAT,[SERVICE],MARKS,NOPKGS,[DESCRIPTION],GOODSNAME," ) ;
strSql . Append ( "GROSSWEIGHT,MEASUREMENT,PKGS,KINDPKGS,KGS,CBM,TOTALNO,INPUTDATE," ) ;
strSql . Append ( "GROSSWEIGHT,MEASUREMENT,PKGS,KINDPKGS,KGS,CBM,TOTALNO,INPUTDATE," ) ;
strSql . Append ( "INPUTBY,PLACERECEIPTID,REMARK S ,HSCODE,CARGOID,COPYNOBILL,[DCLASS],[DUNNO],[REEFERF],[HUMIDITY],[TEMPID],[TEMPSET],[TEMPMAX],") ;
strSql . Append ( "INPUTBY,PLACERECEIPTID,REMARK ,HSCODE,CARGOID,COPYNOBILL,[DCLASS],[DUNNO],[REEFERF],[HUMIDITY],[TEMPID],[TEMPSET],[TEMPMAX],") ;
strSql . Append ( "[TEMPMIN],[DPAGE],[DLABEL],[LINKMAN] ") ;
strSql . Append ( "[TEMPMIN],[DPAGE],[DLABEL],[LINKMAN] ,CUSTOMERNAME ") ;
strSql . Append ( " from op_seae_module " ) ;
strSql . Append ( " from op_seae_module " ) ;
if ( ! string . IsNullOrEmpty ( strCondition ) )
if ( ! string . IsNullOrEmpty ( strCondition ) )
@ -100,8 +100,8 @@ namespace DSWeb.MvcShipping.DAL.MsOpSeaeModuleDAL
strSql . Append ( "PlACERECEIPT,PORTLOADID,PORTLOAD,PORTDISCHARGEID,PORTDISCHARGE,PLACEDELIVERYID,PLACEDELIVERY,DESTINATIONID,DESTINATION," ) ;
strSql . Append ( "PlACERECEIPT,PORTLOADID,PORTLOAD,PORTDISCHARGEID,PORTDISCHARGE,PLACEDELIVERYID,PLACEDELIVERY,DESTINATIONID,DESTINATION," ) ;
strSql . Append ( "NOBILL,ISSUETYPE,ISSUEPLACE,BLFRT,PREPARDAT,PAYABLEAT,[SERVICE],MARKS,NOPKGS,[DESCRIPTION],GOODSNAME," ) ;
strSql . Append ( "NOBILL,ISSUETYPE,ISSUEPLACE,BLFRT,PREPARDAT,PAYABLEAT,[SERVICE],MARKS,NOPKGS,[DESCRIPTION],GOODSNAME," ) ;
strSql . Append ( "GROSSWEIGHT,MEASUREMENT,PKGS,KINDPKGS,KGS,CBM,TOTALNO,INPUTDATE," ) ;
strSql . Append ( "GROSSWEIGHT,MEASUREMENT,PKGS,KINDPKGS,KGS,CBM,TOTALNO,INPUTDATE," ) ;
strSql . Append ( "INPUTBY,PLACERECEIPTID,REMARK S ,HSCODE,CARGOID,COPYNOBILL,[DCLASS],[DUNNO],[REEFERF],[HUMIDITY],[TEMPID],[TEMPSET],[TEMPMAX],") ;
strSql . Append ( "INPUTBY,PLACERECEIPTID,REMARK ,HSCODE,CARGOID,COPYNOBILL,[DCLASS],[DUNNO],[REEFERF],[HUMIDITY],[TEMPID],[TEMPSET],[TEMPMAX],") ;
strSql . Append ( "[TEMPMIN],[DPAGE],[DLABEL],[LINKMAN] ") ;
strSql . Append ( "[TEMPMIN],[DPAGE],[DLABEL],[LINKMAN] ,CUSTOMERNAME ") ;
strSql . Append ( " from op_seae_module " ) ;
strSql . Append ( " from op_seae_module " ) ;
if ( ! string . IsNullOrEmpty ( strCondition ) )
if ( ! string . IsNullOrEmpty ( strCondition ) )
@ -129,8 +129,8 @@ namespace DSWeb.MvcShipping.DAL.MsOpSeaeModuleDAL
strSql . Append ( "PlACERECEIPT,PORTLOADID,PORTLOAD,PORTDISCHARGEID,PORTDISCHARGE,PLACEDELIVERYID,PLACEDELIVERY,DESTINATIONID,DESTINATION," ) ;
strSql . Append ( "PlACERECEIPT,PORTLOADID,PORTLOAD,PORTDISCHARGEID,PORTDISCHARGE,PLACEDELIVERYID,PLACEDELIVERY,DESTINATIONID,DESTINATION," ) ;
strSql . Append ( "NOBILL,ISSUETYPE,ISSUEPLACE,BLFRT,PREPARDAT,PAYABLEAT,[SERVICE],MARKS,NOPKGS,[DESCRIPTION],GOODSNAME," ) ;
strSql . Append ( "NOBILL,ISSUETYPE,ISSUEPLACE,BLFRT,PREPARDAT,PAYABLEAT,[SERVICE],MARKS,NOPKGS,[DESCRIPTION],GOODSNAME," ) ;
strSql . Append ( "GROSSWEIGHT,MEASUREMENT,PKGS,KINDPKGS,KGS,CBM,TOTALNO,INPUTDATE," ) ;
strSql . Append ( "GROSSWEIGHT,MEASUREMENT,PKGS,KINDPKGS,KGS,CBM,TOTALNO,INPUTDATE," ) ;
strSql . Append ( "INPUTBY,PLACERECEIPTID,REMARK S ,HSCODE,CARGOID,COPYNOBILL,[DCLASS],[DUNNO],[REEFERF],[HUMIDITY],[TEMPID],[TEMPSET],[TEMPMAX],") ;
strSql . Append ( "INPUTBY,PLACERECEIPTID,REMARK ,HSCODE,CARGOID,COPYNOBILL,[DCLASS],[DUNNO],[REEFERF],[HUMIDITY],[TEMPID],[TEMPSET],[TEMPMAX],") ;
strSql . Append ( "[TEMPMIN],[DPAGE],[DLABEL],[LINKMAN] ") ;
strSql . Append ( "[TEMPMIN],[DPAGE],[DLABEL],[LINKMAN] ,CUSTOMERNAME ") ;
strSql . Append ( " from op_seae_module " ) ;
strSql . Append ( " from op_seae_module " ) ;
if ( ! string . IsNullOrEmpty ( condition ) )
if ( ! string . IsNullOrEmpty ( condition ) )
@ -206,7 +206,7 @@ namespace DSWeb.MvcShipping.DAL.MsOpSeaeModuleDAL
data . PAYABLEAT = Convert . ToString ( reader [ "PAYABLEAT" ] ) ; //到付地点
data . PAYABLEAT = Convert . ToString ( reader [ "PAYABLEAT" ] ) ; //到付地点
data . SERVICE = Convert . ToString ( reader [ "SERVICE" ] ) ; //运输条款
data . SERVICE = Convert . ToString ( reader [ "SERVICE" ] ) ; //运输条款
data . MARKS = Convert . ToString ( reader [ "MARKS" ] ) ; //唛头
data . MARKS = Convert . ToString ( reader [ "MARKS" ] ) ; //唛头
data . REMARK S = Convert . ToString ( reader [ "REMARK S "] ) ; //唛头
data . REMARK = Convert . ToString ( reader [ "REMARK "] ) ; //唛头
data . DCLASS = Convert . ToString ( reader [ "DCLASS" ] ) ; //唛头
data . DCLASS = Convert . ToString ( reader [ "DCLASS" ] ) ; //唛头
data . DUNNO = Convert . ToString ( reader [ "DUNNO" ] ) ; //发货人
data . DUNNO = Convert . ToString ( reader [ "DUNNO" ] ) ; //发货人
data . REEFERF = Convert . ToString ( reader [ "REEFERF" ] ) ; //发货人
data . REEFERF = Convert . ToString ( reader [ "REEFERF" ] ) ; //发货人
@ -223,6 +223,7 @@ namespace DSWeb.MvcShipping.DAL.MsOpSeaeModuleDAL
data . COPYNOBILL = Convert . ToString ( reader [ "COPYNOBILL" ] ) ; / /
data . COPYNOBILL = Convert . ToString ( reader [ "COPYNOBILL" ] ) ; / /
if ( reader [ "INPUTDATE" ] ! = DBNull . Value )
if ( reader [ "INPUTDATE" ] ! = DBNull . Value )
data . INPUTDATE = Convert . ToDateTime ( reader [ "INPUTDATE" ] ) . ToString ( "yyyy-MM-dd HH:mm:ss" ) ; //签单日期
data . INPUTDATE = Convert . ToDateTime ( reader [ "INPUTDATE" ] ) . ToString ( "yyyy-MM-dd HH:mm:ss" ) ; //签单日期
data . CUSTOMERNAME = Convert . ToString ( reader [ "CUSTOMERNAME" ] ) ; / /
# endregion
# endregion
headList . Add ( data ) ;
headList . Add ( data ) ;
}
}
@ -292,7 +293,7 @@ namespace DSWeb.MvcShipping.DAL.MsOpSeaeModuleDAL
data . PAYABLEAT = Convert . ToString ( reader [ "PAYABLEAT" ] ) ; //到付地点
data . PAYABLEAT = Convert . ToString ( reader [ "PAYABLEAT" ] ) ; //到付地点
data . SERVICE = Convert . ToString ( reader [ "SERVICE" ] ) ; //运输条款
data . SERVICE = Convert . ToString ( reader [ "SERVICE" ] ) ; //运输条款
data . MARKS = Convert . ToString ( reader [ "MARKS" ] ) ; //唛头
data . MARKS = Convert . ToString ( reader [ "MARKS" ] ) ; //唛头
data . REMARK S = Convert . ToString ( reader [ "REMARK S "] ) ; //唛头
data . REMARK = Convert . ToString ( reader [ "REMARK "] ) ; //唛头
data . DCLASS = Convert . ToString ( reader [ "DCLASS" ] ) ; //唛头
data . DCLASS = Convert . ToString ( reader [ "DCLASS" ] ) ; //唛头
data . DUNNO = Convert . ToString ( reader [ "DUNNO" ] ) ; //发货人
data . DUNNO = Convert . ToString ( reader [ "DUNNO" ] ) ; //发货人
data . REEFERF = Convert . ToString ( reader [ "REEFERF" ] ) ; //发货人
data . REEFERF = Convert . ToString ( reader [ "REEFERF" ] ) ; //发货人
@ -387,13 +388,13 @@ namespace DSWeb.MvcShipping.DAL.MsOpSeaeModuleDAL
}
}
else
else
{
{
str = " UPPER(Corpid)='" + companyid + "' ";
str = " 1=1 ";
}
}
}
}
else if ( visiblerange = = "1" )
else if ( visiblerange = = "1" )
{
{
str = " UPPER(Corpid)='" + companyid + "' ";
str = " 1=1 ";
}
}
return str ;
return str ;
}
}