From 6fcbdda27fbed84edc882bfcd3fe18f2313ba965 Mon Sep 17 00:00:00 2001 From: maweefeng Date: Wed, 24 Jan 2018 14:33:44 +0800 Subject: [PATCH] =?UTF-8?q?5.=E7=AD=BE=E7=BA=A6=E7=9B=B8=E5=85=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...76\347\272\246\347\233\270\345\205\263.sh" | 45 +++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100755 "scripts/jyd/5.\347\255\276\347\272\246\347\233\270\345\205\263.sh" diff --git "a/scripts/jyd/5.\347\255\276\347\272\246\347\233\270\345\205\263.sh" "b/scripts/jyd/5.\347\255\276\347\272\246\347\233\270\345\205\263.sh" new file mode 100755 index 0000000..0f9e44f --- /dev/null +++ "b/scripts/jyd/5.\347\255\276\347\272\246\347\233\270\345\205\263.sh" @@ -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}