if判断

if [ ${YYYYMMDD} -gt 20190830 ]; then

v_source=" and source = 'oppo' "

else

v_source=" and source = 'normal' "

fi

原文地址:https://www.cnblogs.com/lidapengwww/p/11555165.html