Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wenHuaBu_adminServer
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
node_server
wenHuaBu_adminServer
Commits
176ccbd1
Project 'vue-project/liangXing/frontEnd' was moved to 'vue-project/ZhangJian/ZhangJianFrontEnd'. Please update any links and bookmarks that may still have the old path.
Commit
176ccbd1
authored
Dec 21, 2024
by
chenjinjing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
6584acac
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
0 deletions
+14
-0
memberFees.ts
src/biz/member/memberFees.ts
+1
-0
model.ts
src/data/models/model.ts
+12
-0
verificationEnum.ts
src/util/verificationEnum.ts
+1
-0
No files found.
src/biz/member/memberFees.ts
View file @
176ccbd1
...
@@ -363,6 +363,7 @@ export async function unpaidList({name, memberType, documentId, phone, mail, joi
...
@@ -363,6 +363,7 @@ export async function unpaidList({name, memberType, documentId, phone, mail, joi
*/
*/
export
async
function
getRenewalPeriod
({
name
,
memberType
,
documentId
,
phone
,
mail
,
joinStartTime
,
joinEndTime
,
memberLevel
,
pageNumber
})
{
export
async
function
getRenewalPeriod
({
name
,
memberType
,
documentId
,
phone
,
mail
,
joinStartTime
,
joinEndTime
,
memberLevel
,
pageNumber
})
{
const
NowMs
=
new
Date
().
valueOf
();
const
NowMs
=
new
Date
().
valueOf
();
//lifespanEndTime:{"$lt":NowMs + (90 * 24 * 3600 * 1000), "$gt":NowMs},
let
selectParam
:
any
=
{
let
selectParam
:
any
=
{
"$or"
:[
"$or"
:[
{
{
...
...
src/data/models/model.ts
View file @
176ccbd1
...
@@ -93,6 +93,7 @@ enum TABLEENUM {
...
@@ -93,6 +93,7 @@ enum TABLEENUM {
消息通知表
=
"massageNotice"
,
消息通知表
=
"massageNotice"
,
消息已读状态表
=
"massageReads"
,
消息已读状态表
=
"massageReads"
,
活动通知表
=
"activityNotice"
,
活动通知表
=
"activityNotice"
,
活动通知已读状态表
=
"activityReads"
,
活动报名表
=
"activityEnroll"
,
活动报名表
=
"activityEnroll"
,
理事变更审批历史表
=
"applyHistoryList"
,
理事变更审批历史表
=
"applyHistoryList"
,
系统表
=
"systemConfig"
,
系统表
=
"systemConfig"
,
...
@@ -597,6 +598,17 @@ const ModelArray = [
...
@@ -597,6 +598,17 @@ const ModelArray = [
}
}
},
},
{
{
tableName
:
TABLEENUM
.
活动通知已读状态表
,
source
:
TABLESOURCEENUM
.
mongo
,
schema
:{
arId
:{
type
:
'String'
,
index
:
true
},
//消息已读id
activityId
:
'String'
,
//消息id
userId
:
'String'
,
//用户id
readTime
:
'Number'
,
//阅读时间
isRead
:{
type
:
'Number'
,
default
:
STATE
.
否
}
//是否已读
}
},
{
tableName
:
TABLEENUM
.
活动报名表
,
tableName
:
TABLEENUM
.
活动报名表
,
source
:
TABLESOURCEENUM
.
mongo
,
source
:
TABLESOURCEENUM
.
mongo
,
schema
:{
schema
:{
...
...
src/util/verificationEnum.ts
View file @
176ccbd1
...
@@ -60,6 +60,7 @@ export function changeEnumValue(enumConf, value:any) {
...
@@ -60,6 +60,7 @@ export function changeEnumValue(enumConf, value:any) {
if
(
/_ju/
.
test
(
str
))
str
=
str
.
replace
(
/_ju/
,
"。"
);
if
(
/_ju/
.
test
(
str
))
str
=
str
.
replace
(
/_ju/
,
"。"
);
if
(
/_hgh/
.
test
(
str
))
str
=
str
.
replace
(
/_hgh/
,
"-"
);
if
(
/_hgh/
.
test
(
str
))
str
=
str
.
replace
(
/_hgh/
,
"-"
);
if
(
/_kbh/
.
test
(
str
))
str
=
str
.
replace
(
/_kbh/
,
""
);
if
(
/_kbh/
.
test
(
str
))
str
=
str
.
replace
(
/_kbh/
,
""
);
if
(
/_xg/
.
test
(
str
))
str
=
str
.
replace
(
/_xg/
,
"/"
);
str
+=
subStr
;
str
+=
subStr
;
if
(
index
==
value
.
length
-
1
)
str
+=
""
;
if
(
index
==
value
.
length
-
1
)
str
+=
""
;
else
str
+=
","
else
str
+=
","
...
...
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