ShenZhenCHJY
dengyu 1 day ago
parent 7c218a2951
commit e29ae70b1a

@ -375,6 +375,11 @@ namespace DSWeb.MvcShipping.Controllers
} }
if (!strSql.ToString().Contains(" A "))
{
strSql = strSql.Replace(" A.ACCDATE", " B.ACCDATE");
}
var jsonRespose = new JsonResponse var jsonRespose = new JsonResponse
{ {
Success = true, Success = true,
@ -628,7 +633,10 @@ namespace DSWeb.MvcShipping.Controllers
strSql.Append(" Where " + condition); strSql.Append(" Where " + condition);
} }
if (!strSql.ToString().Contains(" A "))
{
strSql = strSql.Replace(" A.ACCDATE", " B.ACCDATE");
}
if ((!string.IsNullOrEmpty(printstr)) && (printstr == "true")) if ((!string.IsNullOrEmpty(printstr)) && (printstr == "true"))
{ {
@ -812,7 +820,10 @@ namespace DSWeb.MvcShipping.Controllers
} }
strSql.Append(" Group by B.SALE "); strSql.Append(" Group by B.SALE ");
if (!strSql.ToString().Contains(" A "))
{
strSql = strSql.Replace(" A.ACCDATE", " B.ACCDATE");
}
if ((!string.IsNullOrEmpty(printstr)) && (printstr == "true")) if ((!string.IsNullOrEmpty(printstr)) && (printstr == "true"))
{ {
@ -1007,7 +1018,10 @@ namespace DSWeb.MvcShipping.Controllers
} }
strSql.Append(" Group by F.CUSTOMERNAME,C.[DESCRIPTION],P.PRMBDR,P.PUSDDR,P.PRMBCR,P.PUSDCR "); strSql.Append(" Group by F.CUSTOMERNAME,C.[DESCRIPTION],P.PRMBDR,P.PUSDDR,P.PRMBCR,P.PUSDCR ");
if (!strSql.ToString().Contains(" A "))
{
strSql = strSql.Replace(" A.ACCDATE", " B.ACCDATE");
}
if ((!string.IsNullOrEmpty(printstr)) && (printstr == "true")) if ((!string.IsNullOrEmpty(printstr)) && (printstr == "true"))
{ {

@ -45,7 +45,7 @@
<add key="crmCsDataName" value="qidedongshengdata" /> <add key="crmCsDataName" value="qidedongshengdata" />
<!--<add key="RemoteServer" value="."/>--> <!--<add key="RemoteServer" value="."/>-->
<!-- 中棉 --> <!-- 中棉 -->
<add key="RemoteServer" value="27.223.68.70" /> <add key="RemoteServer" value="119.23.249.201,12356" />
<!--注册服务器地址--> <!--注册服务器地址-->
<add key="RegServer" value="http://47.104.102.13:8081" /> <add key="RegServer" value="http://47.104.102.13:8081" />
<add key="isly" value="1" /> <add key="isly" value="1" />

Loading…
Cancel
Save