Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zhichan
Overview
Overview
Details
Activity
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
蒋勇
zhichan
Commits
0fa46c5b
Commit
0fa46c5b
authored
Feb 10, 2020
by
庄冰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
policy
parent
e47c3eb3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
5 deletions
+6
-5
center-order/app/base/db/metadata/apps/platform.js
+2
-1
center-order/app/base/service/impl/dbpolicy/policyinfoSve.js
+2
-2
center-order/表的更新
+2
-2
No files found.
center-order/app/base/db/metadata/apps/platform.js
View file @
0fa46c5b
...
...
@@ -69,7 +69,7 @@ module.exports = {
//凭单类型
"direction_type"
:
{
"sr"
:
"收"
,
"zc"
:
"支"
},
"push_return_type"
:
{
"0"
:
"推送失败"
,
"1"
:
"推送成功"
},
"policy_type"
:{
'
zh'
:
'综合'
,
'fzbt'
:
'房租补贴'
,
'jrdk'
:
'金融贷款'
,
'zdfc'
:
'重点扶持'
,
'ssjm'
:
'税收减免
'
},
"policy_type"
:{
'
fzbt'
:
'租金减免'
,
'jrdk'
:
'金融贷款'
,
'zdfc'
:
'扶持措施'
,
'ssjm'
:
'税收优惠'
,
'rlzy'
:
'人力资源
'
},
},
}
}
\ No newline at end of file
center-order/app/base/service/impl/dbpolicy/policyinfoSve.js
View file @
0fa46c5b
...
...
@@ -25,8 +25,8 @@ class PolicyinfoService extends ServiceBase {
console
.
log
(
paramObj
);
}
var
result
=
{};
//"policy_type":{'
zh':'综合','fzbt':'房租补贴','jrdk':'金融贷款','zdfc':'重点扶持','ssjm':'税收减免
'},
result
[
"
zh"
]
=
await
this
.
findByParams
(
"zh
"
,
paramObj
,
attributes
);
//"policy_type":{'
fzbt':'租金减免','jrdk':'金融贷款','zdfc':'扶持措施','ssjm':'税收优惠','rlzy':'人力资源
'},
result
[
"
rlzy"
]
=
await
this
.
findByParams
(
"rlzy
"
,
paramObj
,
attributes
);
result
[
"fzbt"
]
=
await
this
.
findByParams
(
"fzbt"
,
paramObj
,
attributes
);
result
[
"jrdk"
]
=
await
this
.
findByParams
(
"jrdk"
,
paramObj
,
attributes
);
result
[
"zdfc"
]
=
await
this
.
findByParams
(
"zdfc"
,
paramObj
,
attributes
);
...
...
center-order/表的更新
View file @
0fa46c5b
示例:--
--------------------------------开始--------------------------------------------------------------------
示例:--
--------------------------------开始--------------------------------------------------------------------
...
...
@@ -19,7 +19,7 @@ CREATE TABLE `b_policy_info` (
`uapp_id` int(11) NULL DEFAULT NULL,
`policyNo` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '政策编号',
`policyName` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '政策名称',
`policyType` enum('
zh','fzbt','jrdk','zdfc','ssjm') CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT 'zh' COMMENT '政策类型 \'zh\':\'综合
\',\'fzbt\':\'房租补贴\',\'jrdk\':\'金融贷款\',\'zdfc\':\'重点扶持\',\'ssjm\':\'税收减免\'',
`policyType` enum('
rlzy','fzbt','jrdk','zdfc','ssjm') CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT 'zh' COMMENT '政策类型 \'rlzy\':\'人力资源
\',\'fzbt\':\'房租补贴\',\'jrdk\':\'金融贷款\',\'zdfc\':\'重点扶持\',\'ssjm\':\'税收减免\'',
`policyTypeName` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '政策类型名称',
`policySource` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '政策出处',
`policyLinkUrl` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '政策链接',
...
...
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