Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Property
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liudong1993
Property
Commits
6dac1521
Commit
6dac1521
authored
Aug 28, 2020
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
耗材入库
parent
cc930ff8
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
3 deletions
+14
-3
PropertyModule.cs
Property.Modele.FixedAssets/PropertyModule.cs
+6
-2
WorkFlowModule.cs
Property.Modele.FixedAssets/WorkFlowModule.cs
+5
-1
RB_Supplies_StockInRepository.cs
...erty.Repository/Supplies/RB_Supplies_StockInRepository.cs
+3
-0
No files found.
Property.Modele.FixedAssets/PropertyModule.cs
View file @
6dac1521
...
...
@@ -2040,7 +2040,7 @@ namespace Property.Module.FixedAssets
//推送消息
if
(
sendAccount
.
Any
())
{
PushAuditMessage
(
sendAccount
,
demodel
.
Id
,
"您有待审核的耗材入库信息"
,
"耗材审核通知"
,
userInfo
.
EmployeeId
,
SysTemPushTypeEnum
.
Property
Audit
);
PushAuditMessage
(
sendAccount
,
demodel
.
Id
,
"您有待审核的耗材入库信息"
,
"耗材审核通知"
,
userInfo
.
EmployeeId
,
SysTemPushTypeEnum
.
Supplies
Audit
);
}
return
ApiResult
.
Success
(
"流程生成成功"
);
...
...
@@ -2060,9 +2060,13 @@ namespace Property.Module.FixedAssets
public
void
PushAuditMessage
(
List
<
EmAccoutIdModel
>
account
,
int
workFlowId
,
string
content
,
string
title
,
int
?
empId
,
SysTemPushTypeEnum
type
)
{
//Dictionary<string, object> appExtras = new Dictionary<string, object>();
string
url
=
""
;
if
(
type
==
SysTemPushTypeEnum
.
PropertyAudit
)
{
url
=
"AssetsShenpi?Id="
+
workFlowId
+
"&compType=shenpi"
;
}
Dictionary
<
string
,
object
>
webExtras
=
new
Dictionary
<
string
,
object
>
{
{
"jumpUrl"
,
"AssetsShenpi?Id="
+
workFlowId
+
"&compType=shenpi"
}
{
"jumpUrl"
,
url
}
};
//appExtras.Add("jumpUrl", "vt://financeApprovalDetail/view?ID=" + workFlowId + "&Conditon=3&Source=message&Type=" + Type);
...
...
Property.Modele.FixedAssets/WorkFlowModule.cs
View file @
6dac1521
...
...
@@ -2434,9 +2434,13 @@ namespace Property.Module.FixedAssets
public
void
PushAuditMessage
(
List
<
EmAccoutIdModel
>
account
,
int
workFlowId
,
string
content
,
string
title
,
int
?
empId
,
SysTemPushTypeEnum
type
)
{
//Dictionary<string, object> appExtras = new Dictionary<string, object>();
string
url
=
""
;
if
(
type
==
SysTemPushTypeEnum
.
PropertyAudit
)
{
url
=
"AssetsShenpi?Id="
+
workFlowId
+
"&compType=shenpi"
;
}
Dictionary
<
string
,
object
>
webExtras
=
new
Dictionary
<
string
,
object
>
{
{
"jumpUrl"
,
"AssetsShenpi?Id="
+
workFlowId
+
"&compType=shenpi"
}
{
"jumpUrl"
,
url
}
};
//appExtras.Add("jumpUrl", "vt://financeApprovalDetail/view?ID=" + workFlowId + "&Conditon=3&Source=message&Type=" + Type);
...
...
Property.Repository/Supplies/RB_Supplies_StockInRepository.cs
View file @
6dac1521
...
...
@@ -58,6 +58,9 @@ namespace Property.Repository
if
(
dmodel
.
FinanceId
>
0
)
{
where
+=
" and p.FinanceId ="
+
dmodel
.
FinanceId
;
}
if
(
dmodel
.
StockInState
>
0
)
{
where
+=
" and ss."
+
nameof
(
RB_Supplies_StockIn_Extend
.
StockInState
)
+
"="
+
(
int
)
dmodel
.
StockInState
;
}
string
sql
=
$@" select ss.*,sw.Name as WareHouseName,p.FinanceId from RB_Supplies_StockIn ss
left join rb_supplies_warehouse sw on ss.WarehouseId=sw.Id
...
...
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