|
@@ -19,6 +19,7 @@ import com.github.pagehelper.PageInfo;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
import java.io.IOException;
|
|
|
+import java.util.HashMap;
|
|
|
import java.util.List;
|
|
|
import java.util.Map;
|
|
|
|
|
@@ -225,4 +226,18 @@ public class AlgorithmServiceImpl implements AlgorithmService {
|
|
|
return "";
|
|
|
}
|
|
|
|
|
|
+ @Override
|
|
|
+ public ResponseBodyVO selectDetailsBySy() {
|
|
|
+ AlgorithmParameter param=new AlgorithmParameter();
|
|
|
+ param.setUploadMode("1");
|
|
|
+ param.setShare("0");
|
|
|
+ int fileNum= algorithmMapper.selectDetailsBySy(param);
|
|
|
+ param.setUploadMode("2");
|
|
|
+ int pathNum= algorithmMapper.selectDetailsBySy(param);
|
|
|
+ Map map=new HashMap();
|
|
|
+ map.put("fileNum",fileNum);
|
|
|
+ map.put("pathNum",pathNum);
|
|
|
+ return new ResponseBodyVO<>(ResponseBodyVO.Response.SUCCESS,map);
|
|
|
+ }
|
|
|
+
|
|
|
}
|