11
This commit is contained in:
@@ -38,7 +38,7 @@ namespace Pilot_KD_Parino.SQL
|
|||||||
FROM T_AR_RECEIVEBILL A
|
FROM T_AR_RECEIVEBILL A
|
||||||
WHERE A.FDOCUMENTSTATUS = 'C'
|
WHERE A.FDOCUMENTSTATUS = 'C'
|
||||||
AND A.FISINIT != '1'
|
AND A.FISINIT != '1'
|
||||||
AND A.FRECAMOUNTFOR >= A.F_AMOUNT {where}
|
AND A.FRECAMOUNTFOR > A.F_AMOUNT {where}
|
||||||
order by FCONTACTUNIT,A.FID desc ", FORGID);
|
order by FCONTACTUNIT,A.FID desc ", FORGID);
|
||||||
return DBServiceHelper.ExecuteDynamicObject(ctx, sql.ToString(), null, null, CommandType.Text, null);
|
return DBServiceHelper.ExecuteDynamicObject(ctx, sql.ToString(), null, null, CommandType.Text, null);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -275,10 +275,14 @@ namespace Pilot_KD_Parino.Sal_Order
|
|||||||
orderSheet["F_SFHW"] = "2";
|
orderSheet["F_SFHW"] = "2";
|
||||||
|
|
||||||
//this.View.ShowMessage("更新了1");
|
//this.View.ShowMessage("更新了1");
|
||||||
|
if (beiHuoName3 == "香港派诺")
|
||||||
|
{
|
||||||
|
beiHuoName3 = "派诺科技(香港)有限公司";
|
||||||
|
}
|
||||||
string sqltemp1 = $@"/*dialect*/ SELECT FUseOrgId,a.FNUMBER,b.FNAME,a.FCUSTID FROM T_BD_CUSTOMER a
|
string sqltemp1 = $@"/*dialect*/ SELECT FUseOrgId,a.FNUMBER,b.FNAME,a.FCUSTID FROM T_BD_CUSTOMER a
|
||||||
LEFT JOIN T_BD_CUSTOMER_L b ON a.FCUSTID=b.FCUSTID
|
LEFT JOIN T_BD_CUSTOMER_L b ON a.FCUSTID=b.FCUSTID
|
||||||
WHERE FUseOrgId={SupplierId_Id} AND FNAME LIKE '%{beiHuoName3}%' ";
|
WHERE FUseOrgId={SupplierId_Id} AND FNAME LIKE '%{beiHuoName3}%' ";
|
||||||
|
Logger.Error("客户组织",sqltemp1, new Exception());
|
||||||
var keHuList = DBServiceHelper.ExecuteDynamicObject(this.Context, sqltemp1, null, null, CommandType.Text, null);
|
var keHuList = DBServiceHelper.ExecuteDynamicObject(this.Context, sqltemp1, null, null, CommandType.Text, null);
|
||||||
|
|
||||||
if (keHuList != null && keHuList.Count > 0)
|
if (keHuList != null && keHuList.Count > 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user