|
|
|
|
@ -91,10 +91,10 @@ public class BasePictureLocationController extends BaseController
|
|
|
|
|
@ResponseBody
|
|
|
|
|
public AjaxResult addSave(MultipartFile file, BasePictureLocation basePictureLocation)
|
|
|
|
|
{
|
|
|
|
|
int tag=basePictureLocationService.countBasePictureLocation(basePictureLocation.getPictureLocation());
|
|
|
|
|
if (tag>0){
|
|
|
|
|
return error("当前位置已有图片");
|
|
|
|
|
}
|
|
|
|
|
// int tag=basePictureLocationService.countBasePictureLocation(basePictureLocation.getPictureLocation());
|
|
|
|
|
// if (tag>0){
|
|
|
|
|
// return error("当前位置已有图片");
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
String filePath = Global.getUploadPath();
|
|
|
|
|
try {
|
|
|
|
|
|