Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
Wade_Database
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
solho
Wade_Database
Commits
17b5a24c
Commit
17b5a24c
authored
Sep 02, 2022
by
solho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:update
parent
d84f8a0d
Changes
13
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
66 additions
and
17 deletions
+66
-17
其他/假法限命名 相關TABLE.sql
其他/假法限命名 相關TABLE.sql
+31
-14
其他/案件統(運營看板)SP 測試資料生成與測試SQL.sql
其他/案件統(運營看板)SP 測試資料生成與測試SQL.sql
+23
-3
其他/關帳所別更新為targetid.sql
其他/關帳所別更新為targetid.sql
+12
-0
報表/rpt_CustCaseTot_board.sql
報表/rpt_CustCaseTot_board.sql
+0
-0
報表/rpt_CustCaseTot_board_dev.sql
報表/rpt_CustCaseTot_board_dev.sql
+0
-0
報表/rpt_CustCaseTot_board_test -dev.sql
報表/rpt_CustCaseTot_board_test -dev.sql
+0
-0
報表/rpt_CustCaseTot_board_test.sql
報表/rpt_CustCaseTot_board_test.sql
+0
-0
報表/rpt_NotFinishPoint.sql
報表/rpt_NotFinishPoint.sql
+0
-0
報表/rpt_NotFinishPoint_ite.sql
報表/rpt_NotFinishPoint_ite.sql
+0
-0
報表/rpt_NotFinishPoint_test.sql
報表/rpt_NotFinishPoint_test.sql
+0
-0
報表/rpt_PerformanceMonth_flow.sql
報表/rpt_PerformanceMonth_flow.sql
+0
-0
報表/rpt_PerformanceMonth_flow_test.sql
報表/rpt_PerformanceMonth_flow_test.sql
+0
-0
報表/rpt_PointFinish_YM_dev.sql
報表/rpt_PointFinish_YM_dev.sql
+0
-0
No files found.
其他/假法限命名 相關TABLE.sql
View file @
17b5a24c
--需手動改
--需手動改
--報表管理
select
*
from
[
s_report_field
]
a
select
*
from
[
s_report_field
]
a
where
a
.
field_column
=
'int_due_date'
where
a
.
field_column
=
'int_due_date'
/****** SSMS 中 SelectTopNRows 命令的指令碼 ******/
SELECT
*
SELECT
[
report_condition_id
]
,[
condition_value
]
,[
conditon_text
]
,[
condition_compare
]
,[
condition_type
]
,[
value_sql
]
,[
conditon_text_zh_cn
]
,[
conditon_text_en_us
]
,[
conditon_text_ja_jp
]
,[
conditon_text_zh_tw
]
FROM
[
s_report_condition
]
FROM
[
s_report_condition
]
where
dbo
.
f_GB2BIG
([
conditon_text
],
1
)
like
'%內部期限%'
where
dbo
.
f_GB2BIG
([
conditon_text
],
1
)
like
'%內部期限%'
UpdateQueryOutConfig
--數據更新
select
*
from
u_proc_config
a
where
a
.
text_zh_cn
like
'%内部%'
select
*
from
[
dbo
].[
s_dictionary
]
a
where
a
.
text_zh_cn
like
'%内部期限%'
select
*
from
essen_customer
a
where
a
.
customer_id
=
'20E0DB09-FEB6-4273-902C-DAE9A9BD3673'
select
*
from
evw_Employee
a
where
a
.
user_id
=
'62751e83-10e6-4619-8f64-6c2e5cb55227'
select
top
100
*
from
evw_p_file_list
a
left
join
evw_p_case_info
b
on
a
.
obj_id
=
b
.
case_id
where
a
.
file_id
=
'fa019897-a4ff-4fca-99f6-d48a00067024&file_size=90857'
select
top
100
b
.
*
from
sys
.
all_columns
a
left
join
sys
.
tables
b
on
a
.
object_id
=
b
.
object_id
where
a
.
name
like
'%mail_type%'
select
*
from
s_menu_info
select
top
100
*
from
sys
.
tables
a
\ No newline at end of file
where
a
.
name
like
'%Send%'
\ No newline at end of file
其他/案件統(運營看板)SP 測試資料生成與測試SQL.sql
View file @
17b5a24c
truncate
table
IPEasy_test
.
dbo
.
temp_rpt_CustCaseTot_board
truncate
table
IPEasy_test
.
dbo
.
temp_rpt_CustCaseTot_board
insert
into
IPEasy_test
.
dbo
.
temp_rpt_CustCaseTot_board
insert
into
IPEasy_test
.
dbo
.
temp_rpt_CustCaseTot_board
exec
[
dbo
].[
rpt_CustCaseTot_board
]
@
p_YM_F
=
'2021-01'
,
@
p_YM_T
=
'2021-
01
'
,
@
p_RptType
=
'byPeople_board'
,
@
p_CustName
=
''
,
@
DisplayType
=
'Month'
,
@
DataMode
=
'All'
exec
[
dbo
].[
rpt_CustCaseTot_board
]
@
p_YM_F
=
'2021-01'
,
@
p_YM_T
=
'2021-
12
'
,
@
p_RptType
=
'byPeople_board'
,
@
p_CustName
=
''
,
@
DisplayType
=
'Month'
,
@
DataMode
=
'All'
insert
into
IPEasy_test
.
dbo
.
temp_rpt_CustCaseTot_board
insert
into
IPEasy_test
.
dbo
.
temp_rpt_CustCaseTot_board
exec
[
dbo
].[
rpt_CustCaseTot_board
]
@
p_YM_F
=
'2021-02'
,
@
p_YM_T
=
'2021-02'
,
@
p_RptType
=
'byPeople_board'
,
@
p_CustName
=
''
,
@
DisplayType
=
'Month'
,
@
DataMode
=
'All'
exec
[
dbo
].[
rpt_CustCaseTot_board
]
@
p_YM_F
=
'2021-02'
,
@
p_YM_T
=
'2021-02'
,
@
p_RptType
=
'byPeople_board'
,
@
p_CustName
=
''
,
@
DisplayType
=
'Month'
,
@
DataMode
=
'All'
insert
into
IPEasy_test
.
dbo
.
temp_rpt_CustCaseTot_board
insert
into
IPEasy_test
.
dbo
.
temp_rpt_CustCaseTot_board
...
@@ -41,4 +41,24 @@ select top 1000 CaseNo, ItemName
...
@@ -41,4 +41,24 @@ select top 1000 CaseNo, ItemName
where
a
.
ItemName
=
'繳費領證'
and
a
.
Item_Type
=
'新進'
where
a
.
ItemName
=
'繳費領證'
and
a
.
Item_Type
=
'新進'
group
by
CaseNo
,
ItemName
,
Item_Type
group
by
CaseNo
,
ItemName
,
Item_Type
--having count(1) > 1
--having count(1) > 1
order
by
repeatcount
desc
,
CaseNo
,
Item_Type
order
by
repeatcount
desc
,
CaseNo
,
Item_Type
\ No newline at end of file
select
top
1000
ctrl_proc_zh_tw
from
temp_rpt_CustCaseTot_board
a
where
a
.
ctrl_proc_zh_tw
like
'%繳年費%'
or
a
.
ctrl_proc_zh_tw
like
'%Renewal%'
group
by
ctrl_proc_zh_tw
select
*
from
temp_rpt_CustCaseTot_board
a
where
a
.
CaseNo
=
'TP201583-TW'
select
top
1000
*
from
evw_p_proc_info
a
where
a
.
ctrl_proc_id
in
(
'67809313-fc14-4947-9663-2561af707db0'
,
'0D074660-0E15-4715-B438-410F7B9FC434'
)
and
create_time
between
'2021-01-01'
and
'2021-12-31'
select
*
from
i_ctrl_proc
a
where
a
.
ctrl_proc_zh_tw
like
'%ids%'
ctrl_proc_id
76
cc802a
-
0343
-
4
a7f
-
9
f17
-
8542
d0079c81
\ No newline at end of file
其他/關帳所別更新為targetid.sql
0 → 100644
View file @
17b5a24c
begin
tran
tran1
update
esn_todos_Settle
set
EmpDS_id
=
L1
.
targetid
from
(
select
a
.
id
,
b
.
ID
as
targetid
,
b
.
Emp_DS
,
b
.
Emp_DSContury
from
esn_todos_Settle
a
left
join
evw_qResult_EmpDS
b
on
a
.
DSNum
=
b
.
Emp_DSNum
)
L1
where
L1
.
id
=
esn_todos_Settle
.
id
select
*
from
esn_todos_Settle
--commit tran tran1
rollback
tran
tran1
\ No newline at end of file
報表/rpt_CustCaseTot_board.sql
View file @
17b5a24c
B
ALTER
PROCEDURE
[
dbo
].[
rpt_CustCaseTot_board
]
(
B
ALTER
PROCEDURE
[
dbo
].[
rpt_CustCaseTot_board
]
(
...
...
報表/rpt_CustCaseTot_board_dev.sql
deleted
100644 → 0
View file @
d84f8a0d
Binary files "a/\345\240\261\350\241\250/rpt_CustCaseTot_board_dev.sql" and /dev/null differ
Binary files "a/\345\240\261\350\241\250/rpt_CustCaseTot_board_dev.sql" and /dev/null differ
報表/rpt_CustCaseTot_board_test -dev.sql
deleted
100644 → 0
View file @
d84f8a0d
Binary files "a/\345\240\261\350\241\250/rpt_CustCaseTot_board_test -dev.sql" and /dev/null differ
Binary files "a/\345\240\261\350\241\250/rpt_CustCaseTot_board_test -dev.sql" and /dev/null differ
報表/rpt_CustCaseTot_board_test.sql
deleted
100644 → 0
View file @
d84f8a0d
Binary files "a/\345\240\261\350\241\250/rpt_CustCaseTot_board_test.sql" and /dev/null differ
Binary files "a/\345\240\261\350\241\250/rpt_CustCaseTot_board_test.sql" and /dev/null differ
報表/rpt_NotFinishPoint.sql
View file @
17b5a24c
B
B
...
...
報表/rpt_NotFinishPoint_ite.sql
deleted
100644 → 0
View file @
d84f8a0d
Binary files "a/\345\240\261\350\241\250/rpt_NotFinishPoint_ite.sql" and /dev/null differ
Binary files "a/\345\240\261\350\241\250/rpt_NotFinishPoint_ite.sql" and /dev/null differ
報表/rpt_NotFinishPoint_test.sql
deleted
100644 → 0
View file @
d84f8a0d
Binary files "a/\345\240\261\350\241\250/rpt_NotFinishPoint_test.sql" and /dev/null differ
Binary files "a/\345\240\261\350\241\250/rpt_NotFinishPoint_test.sql" and /dev/null differ
報表/rpt_PerformanceMonth_flow.sql
View file @
17b5a24c
B
B
...
...
報表/rpt_PerformanceMonth_flow_test.sql
View file @
17b5a24c
B
declare
B
declare
...
...
報表/rpt_PointFinish_YM_dev.sql
View file @
17b5a24c
B
ALTER
PROCEDURE
[
dbo
].[
rpt_PointFinish_YM
]
(
B
ALTER
PROCEDURE
[
dbo
].[
rpt_PointFinish_YM
]
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment