摘要:
#!/bin/bash directory="/path/to/directory" if [ $(ls -A $directory) ]; then echo "有文件" # 执行指定shell脚本 sh /path/to/script.sh else echo "没有文件" fi #!/bin/ 阅读全文
摘要:
@NoArgsConstructor @Data //生成 空参构造 get、set、 tostring、 equals、 hascode public class PageUtils<T> { private int totalCount;//总记录数 依赖查询,外界传入 private int 阅读全文