#!/bin/bash


read -p  "请输入项目名：" -t 60 username #等待60秒
echo $username

perl -p -i -e  "s/SeekTruthBackend.domain/$username.po/g"  dao/src/main/java/com/haomostudio/SeekTruthBackend/dao/*.java
perl -p -i -e  "s/SeekTruthBackend.dao/$username.dao/g"  web/src/main/resources/mybatis/com/haomostudio/SeekTruthBackend/*Mapper.xml
perl -p -i -e  "s/SeekTruthBackend.domain/$username.po/g"  web/src/main/resources/mybatis/com/haomostudio/SeekTruthBackend/*Mapper.xml
