Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SMGO
pms-server
Commits
cc25b9f3
Commit
cc25b9f3
authored
3 years ago
by
Samart
Browse files
Options
Download
Plain Diff
Merge branch 'dev' into 'MA'
Dev See merge request
!505
parents
44640359
1de4d238
dev
MA
Release
TUM-DEV
master
num-dev
revert-1f0a6f85
revert-fc58d1a4
v12.08
v12.07
v12.06
v12.05
v12.04
v12.03
v12.02
v12.01
v11.24
v11.23
v11.22
v11.21QA
v11.20QA
v11.19QA
v11.18
v11.17QA
v11.16QA
v11.15QA
v11.14QA
v11.12QA
v11.11QA
v11.10QA
v11.09
4 merge requests
!525
Dev
,
!522
Ma
,
!506
Ma
,
!505
Dev
Pipeline
#1638
canceled with stage
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.gitlab-ci.yml
+19
-1
.gitlab-ci.yml
SYSCore/App_Start/TokenValidateHandler.cs
+2
-2
SYSCore/App_Start/TokenValidateHandler.cs
SYSCore/Controllers/AccountApiController.cs
+1
-1
SYSCore/Controllers/AccountApiController.cs
SYSCore/Views/EmailTemplate/ReceivePartInform.cshtml
+5
-6
SYSCore/Views/EmailTemplate/ReceivePartInform.cshtml
with
27 additions
and
10 deletions
+27
-10
.gitlab-ci.yml
+
19
-
1
View file @
cc25b9f3
...
...
@@ -90,4 +90,22 @@ release:
artifacts
:
name
:
"
sPMS-$CI_COMMIT_REF_NAME"
paths
:
-
"
$env:PROJECT_NAME/bin/Release/Publish/"
\ No newline at end of file
-
"
$env:PROJECT_NAME/bin/Release/Publish/"
release-new
:
stage
:
release
tags
:
-
release
only
:
-
/v.*-next$/
script
:
-
'
&
echo
"Restoring
Nuget
Packages..."'
-
'
&
"$env:NUGET_PATH"
restore'
-
'
&
"$env:MSBUILD_PATH"
/p:Configuration=Release
/clp:ErrorsOnly'
-
'
&
"$env:MSBUILD_PATH"
$env:PROJECT_NAME\$env:PROJECT_NAME.csproj
/p:DeployOnBuild=true
/p:Configuration=Release
/P:PublishProfile=CustomProfile.pubxml'
-
'
rm
.\$env:PROJECT_NAME\bin\Release\Publish\web.config'
dependencies
:
[]
artifacts
:
name
:
"
sPMS-$CI_COMMIT_REF_NAME"
paths
:
-
"
$env:PROJECT_NAME/bin/Release/Publish/"
This diff is collapsed.
Click to expand it.
SYSCore/App_Start/TokenValidateHandler.cs
+
2
-
2
View file @
cc25b9f3
...
...
@@ -123,15 +123,15 @@ namespace SYS_Core
{
//statusCode = HttpStatusCode.Unauthorized;
response
=
await
base
.
SendAsync
(
request
,
cancellationToken
);
response
.
StatusCode
=
HttpStatusCode
.
Unauthorized
;
response
=
await
base
.
SendAsync
(
request
,
cancellationToken
);
}
catch
(
Exception
ex
)
{
//statusCode = HttpStatusCode.InternalServerError;
response
=
await
base
.
SendAsync
(
request
,
cancellationToken
);
response
.
StatusCode
=
HttpStatusCode
.
Unauthorized
;
response
=
await
base
.
SendAsync
(
request
,
cancellationToken
);
}
return
response
;
...
...
This diff is collapsed.
Click to expand it.
SYSCore/Controllers/AccountApiController.cs
+
1
-
1
View file @
cc25b9f3
...
...
@@ -6835,7 +6835,7 @@ namespace SYS_Core.Controllers
OracleCommand cmd = new OracleCommand();
cmd.CommandText = "SP_NP_SNM017P_SAVE";
cmd.Parameters.Add("P_COMPANY_CODE", OracleDbType.Varchar2).Value = DataService.GetIdentity(User, Cons.SS_COMPANY_CODE);
cmd.Parameters.Add("P_EFFECTIVE_DATE", OracleDbType.
Varchar2
).Value = pDataList["EFFECTIVE_DATE"]
.ToString("yyyy-MM-dd")
;
cmd.Parameters.Add("P_EFFECTIVE_DATE", OracleDbType.
Date
).Value = pDataList["EFFECTIVE_DATE"];
cmd.Parameters.Add("P_CUSTOMER_CODE", OracleDbType.Varchar2).Value = pDataList["CUSTOMER_CODE"];
cmd.Parameters.Add("P_PART_NO", OracleDbType.Varchar2).Value = pDataList["PART_NO"];
cmd.Parameters.Add("P_CURRENCY_CODE", OracleDbType.Varchar2).Value = pDataList["CURRENCY_CODE"];
...
...
This diff is collapsed.
Click to expand it.
SYSCore/Views/EmailTemplate/ReceivePartInform.cshtml
+
5
-
6
View file @
cc25b9f3
...
...
@@ -75,12 +75,7 @@
text-align
:
left
;
}
.quantity
{
width
:
75px
;
text-align
:
right
;
}
.item
{
.seq
,
.quantity
,
.item
{
width
:
75px
;
text-align
:
right
;
}
...
...
@@ -95,6 +90,7 @@
<table
id=
"import"
>
<thead>
<tr>
<th
class=
"seq"
>
No.
</th>
<th
class=
"receiveType"
>
Receive Type
</th>
<th
class=
"receiveDoc"
>
Receive Document No.
</th>
<th
class=
"docDate"
>
Document Date
</th>
...
...
@@ -109,6 +105,7 @@
@foreach (DataRow doc in Model.DataImport.Rows)
{
<tr>
<td
class=
"seq"
>
@doc["SEQ"]
</td>
<td
class=
"receiveType"
>
@doc["RECEIVE_TYPE"]
</td>
<td
class=
"receiveDoc"
>
@doc["RECEIVE_DOC_NO"]
</td>
<td
class=
"docDate"
>
@doc["RECEIVE_DOC_DATE"]
</td>
...
...
@@ -133,6 +130,7 @@
<table
id=
"local"
>
<thead>
<tr>
<th
class=
"seq"
>
No.
</th>
<th
class=
"receiveType"
>
Receive Type
</th>
<th
class=
"receiveDoc"
>
Receive Document No.
</th>
<th
class=
"docDate"
>
Document Date
</th>
...
...
@@ -147,6 +145,7 @@
@foreach (DataRow doc in Model.DataLocal.Rows)
{
<tr>
<td
class=
"seq"
>
@doc["SEQ"]
</td>
<td
class=
"receiveType"
>
@doc["RECEIVE_TYPE"]
</td>
<td
class=
"receiveDoc"
>
@doc["RECEIVE_DOC_NO"]
</td>
<td
class=
"docDate"
>
@doc["RECEIVE_DOC_DATE"]
</td>
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
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
Menu
Projects
Groups
Snippets
Help