diff --git "a/scripts/20.\350\264\255\350\215\257\347\233\270\345\205\263.sh" "b/scripts/20.\350\264\255\350\215\257\347\233\270\345\205\263.sh" new file mode 100755 index 0000000..4e40ecc --- /dev/null +++ "b/scripts/20.\350\264\255\350\215\257\347\233\270\345\205\263.sh" @@ -0,0 +1,41 @@ +#!/bin/bash +author='walker' +projectname='Homedoctor' +passkeys='code,flag,message' +fileuri='/Users/walker/Desktop/index.html' +debug=true +verbose=false +modulename='taskDrugOrder' +models=( +#创建购药订单 +'modelDrugOrderInfo,modelDrugOrderBuyListItem' +#购药订单详情 +'modelDrugOrderInfo,modelDrugOrderBuyListItem' +#购药订单列表 +'modelDrugOrderInfo,modelDrugOrderBuyListItem' +#查询购药订单物流信息 +'modelDrugExpressInfo,modelDrugExpressListItem' +#删除购药订单信息 +#取消未支付购药订单 +) + +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} \ No newline at end of file diff --git "a/scripts/21.\345\244\204\346\226\271\347\233\270\345\205\263.sh" "b/scripts/21.\345\244\204\346\226\271\347\233\270\345\205\263.sh" new file mode 100755 index 0000000..14598ff --- /dev/null +++ "b/scripts/21.\345\244\204\346\226\271\347\233\270\345\205\263.sh" @@ -0,0 +1,33 @@ +#!/bin/bash +author='walker' +projectname='Homedoctor' +passkeys='code,flag,message' +fileuri='/Users/walker/Desktop/index.html' +debug=true +verbose=false +modulename='taskPrescription' +models=( +#处方详情 +'modelPrescriptionInfo,modelPrescriptionDrugListItem' +) + +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} \ No newline at end of file