~
This commit is contained in:
parent
853f1571eb
commit
2e65b50b11
|
@ -101,7 +101,7 @@ DebugSourceDirs=
|
|||
UsePackages=0
|
||||
[Parameters]
|
||||
RunParams=
|
||||
HostApplication=D:\徐加艳项目代码\项目代码\乐邦\检验管理\testDll.exe
|
||||
HostApplication=D:\Dp7Repo\项目代码\D7DJyuebang\检验管理\testDll.exe
|
||||
Launcher=
|
||||
UseLauncher=0
|
||||
DebugCWD=
|
||||
|
|
|
@ -1574,7 +1574,7 @@ begin
|
|||
begin
|
||||
close;
|
||||
sql.Clear;
|
||||
sql.Add('update WFB_MJJY SET CDList= dbo.F_Get_Order_SubStr(MJID,''MJCDHZSL'')');
|
||||
sql.Add('update WFB_MJJY SET CDList= dbo.F_Get_Order_SubStr(MJID,''MJCDHZSL''),DETM2=dbo.F_Get_MJJY_DETM2(MJID)');
|
||||
sql.Add('where MJID=''' + Trim(FMJID) + ''' ');
|
||||
execsql;
|
||||
end;
|
||||
|
@ -1830,7 +1830,7 @@ begin
|
|||
begin
|
||||
Close;
|
||||
sql.Clear;
|
||||
sql.Add('select sum(MJLen) as CGMJLen from WFB_MJJY where Subid='''+FAPID+''' and MJSTR4= ''' + Trim(MJStr4.Text) + ''' ');
|
||||
sql.Add('select sum(MJLen) as CGMJLen from WFB_MJJY where Subid=''' + FAPID + ''' and MJSTR4= ''' + Trim(MJStr4.Text) + ''' ');
|
||||
Open;
|
||||
end;
|
||||
Label56.caption := '¸×³¤¶È£º' + Trim(ADOTmp.fieldbyname('CGMJLen').AsString);
|
||||
|
@ -1856,7 +1856,7 @@ begin
|
|||
SQL.Clear;
|
||||
sql.Add('select A.MJID,A.mjstr3,QtyUnit=A.MJTypeOther,B.orderNo,B.customerNoName,B.LBName ');
|
||||
sql.Add(',EngColor=(select max(Note) from KH_Zdy X where X.ZDYName=C.PRTColor and X.Type=''OrdColor'' ) ');
|
||||
sql.Add(',B.MPRTCF,C.*,A.* ');
|
||||
sql.Add(',B.MPRTCF,C.*,A.* ');
|
||||
sql.Add(' from WFB_MJJY A');
|
||||
sql.Add(' inner join JYOrder_Main B On A.Mainid=B.Mainid');
|
||||
sql.Add(' inner join JYOrder_Sub C on A.SubId=C.SubId');
|
||||
|
@ -2531,12 +2531,12 @@ begin
|
|||
fRollType := '';
|
||||
Exit;
|
||||
end;
|
||||
Label56.caption := '';
|
||||
Label56.caption := '';
|
||||
with ADOTmp do
|
||||
begin
|
||||
begin
|
||||
Close;
|
||||
sql.Clear;
|
||||
sql.Add('select sum(MJLen) as CGMJLen from WFB_MJJY where Subid='''+FAPID+''' and MJSTR4= ''' + Trim(MJStr4.Text) + ''' ');
|
||||
sql.Add('select sum(MJLen) as CGMJLen from WFB_MJJY where Subid=''' + FAPID + ''' and MJSTR4= ''' + Trim(MJStr4.Text) + ''' ');
|
||||
// ShowMessage(SQL.text);
|
||||
Open;
|
||||
end;
|
||||
|
@ -2725,7 +2725,7 @@ begin
|
|||
begin
|
||||
Close;
|
||||
sql.Clear;
|
||||
sql.Add('select sum(MJLen) as CGMJLen from WFB_MJJY where Subid='''+FAPID+''' and MJSTR4= ''' + Trim(MJStr4.Text) + ''' ');
|
||||
sql.Add('select sum(MJLen) as CGMJLen from WFB_MJJY where Subid=''' + FAPID + ''' and MJSTR4= ''' + Trim(MJStr4.Text) + ''' ');
|
||||
Open;
|
||||
end;
|
||||
Label56.caption := '¸×³¤¶È£º' + Trim(ADOTmp.fieldbyname('CGMJLen').AsString);
|
||||
|
|
Loading…
Reference in New Issue
Block a user