Skip to content

Commit

Permalink
5.签约相关
Browse files Browse the repository at this point in the history
  • Loading branch information
maweefeng committed Jan 24, 2018
1 parent b1f9d5b commit 6fcbdda
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions scripts/jyd/5.签约相关.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
#!/bin/bash
author='maweefeng'
projectname='FamilyDoctor'
passkeys='code,flag,message'
fileuri='/Users/maweefeng/Desktop/index.html'
offset=1
debug=true
verbose=false
modulename='taskAgreement'
httpclient='PMLRESTBaseDoctor'
models=(
#签约关系列表
'modelAgreeDataList','modelAgreeDataListItem','modelAgreeServicePkgsItem'
#签约居民基础信息(只获取展示的有效字段)
'modelAgreementCitizenItem'

#签约关系详情
'modelAgreeDetailList','modelAgreementServicePkgsItem','modelServicePkgOrderDTOListItem','modelAgreementTagsListItem','modeltxWdInfoListItem'
#修改签约居民信息
'modelUUIDList'

)

for model in ${models[@]}; do
types=${types}${model},
done
types=${types}

if [ "$debug" = true ] ; then
enableDebug='--debug'
fi

if [ "$verbose" = true ] ; then
enableVerbose='--verbose'
fi

./app.js ${enableVerbose} ${enableDebug} \
-C ${types} \
-P ${passkeys} \
-f ${fileuri} \
-a ${author} \
-m ${modulename} \
-j ${projectname} \
-B ${httpclient} \
-o ${offset}

0 comments on commit 6fcbdda

Please sign in to comment.