Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
75dac54591 | ||
a156c0111b | |||
e5d93fd7d6 |
@ -1,3 +1,11 @@
|
||||
## [6.11.1](https://git.datacontroller.io/dc/dc/compare/v6.11.0...v6.11.1) (2024-07-02)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* adding SYSSITE, part of [#116](https://git.datacontroller.io/dc/dc/issues/116) ([a156c01](https://git.datacontroller.io/dc/dc/commit/a156c0111b3de5e3744e38d377d6e9aa09915803))
|
||||
* ensuring review_reason_txt in output. Closes [#117](https://git.datacontroller.io/dc/dc/issues/117) ([e5d93fd](https://git.datacontroller.io/dc/dc/commit/e5d93fd7d6d86bc47ff56664bd812b4d9d0749a5))
|
||||
|
||||
# [6.11.0](https://git.datacontroller.io/dc/dc/compare/v6.10.1...v6.11.0) (2024-06-27)
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "dcfrontend",
|
||||
"version": "6.11.0",
|
||||
"version": "6.11.1",
|
||||
"description": "Data Controller",
|
||||
"devDependencies": {
|
||||
"@saithodev/semantic-release-gitea": "^2.1.0",
|
||||
|
@ -105,8 +105,6 @@ create view work.submits as
|
||||
,a.submitted_by_nm as submitter
|
||||
,put(a.REVIEWED_ON_DTTM,yymmddhhmmss.) as REVIEWED
|
||||
,a.submit_status_cd as status
|
||||
,a.reviewed_on_dttm
|
||||
,a.reviewed_by_nm as approver
|
||||
from &mpelib..mpe_submit(where=(submit_status_cd ne 'SUBMITTED')) a
|
||||
|
||||
%macro gethistory();
|
||||
@ -120,8 +118,18 @@ create view work.submits as
|
||||
%end;
|
||||
%mend gethistory;
|
||||
%gethistory()
|
||||
;
|
||||
|
||||
order by a.submitted_on_dttm desc;
|
||||
/* get latest reason text */
|
||||
create table work.reviews as
|
||||
select a.*
|
||||
,b.reviewed_on_dttm
|
||||
,b.reviewed_by_nm as approver
|
||||
,b.review_reason_txt
|
||||
from work.submits a
|
||||
left join &mpelib..mpe_review b
|
||||
on a.table_id=b.table_id
|
||||
order by a.table_id desc, b.reviewed_on_dttm desc;
|
||||
|
||||
%mp_abort(iftrue= (&syscc > 0)
|
||||
,mac=&_program
|
||||
@ -129,7 +137,9 @@ create view work.submits as
|
||||
)
|
||||
|
||||
data work.fromsas;
|
||||
set work.submits;
|
||||
set work.reviews;
|
||||
by descending table_id descending reviewed_on_dttm;
|
||||
if first.table_id;
|
||||
if _n_ ge &startrow;
|
||||
n+1;
|
||||
if n>&hist then stop;
|
||||
|
@ -188,6 +188,7 @@ data _null_;
|
||||
put "<li> METAPERSON: " metaperson "</li>";
|
||||
put "<li> METAUSER: " metauser "</li>";
|
||||
put "<li> SYSUSERID: " sysuserid "</li>";
|
||||
put "<li> SYSSITE: &syssite</li>";
|
||||
url='/SASStoredProcess/do';
|
||||
end;
|
||||
else do;
|
||||
|
@ -222,6 +222,7 @@ data _null_;
|
||||
put "<li> SYSUSERID: " sysuserid "</li>";
|
||||
put "<li> SYSHOSTNAME: &syshostname</li>";
|
||||
put "<li> SYSVLONG: &sysvlong</li>";
|
||||
put "<li> SYSSITE: &syssite</li>";
|
||||
run;
|
||||
|
||||
data _null_;
|
||||
|
Loading…
Reference in New Issue
Block a user