everyone.I尝试重写mybatis生成器的源代码。但是我遇到了一个问题,即生成器无法获取数据库列的注释,我无法找到问题(i认为源代码是正确的,并且不知道什么是错误的。源代码是:
#!/bin/ksh
inputpath="/home/beaadmin/SET4/Input.txt" #Give patterns to be searched
contentpath="/home/beaadmin/SET4/FILES"
outpath="/home/beaadmin/SET4/impacted"
count=1
while read line
do
echo "Line :$count"
echo "$line"
return=$(find $contentpath -iname "*" | xargs grep "$line*")
if [ $? -eq 0 ]
then
echo "$line" >> $outpath
else
echo ""
fi
let count=$count+1
done < $inputpath
introspectedColumn是数据库列的生成器类。
有人知道吗?非常感谢!!!