|
@@ -563,6 +563,14 @@ public class HouseController extends BaseController {
|
|
houseEntity.setCanNotEditDesc(null);
|
|
houseEntity.setCanNotEditDesc(null);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ if(null != houseEntity.getCanNotEdit() && houseEntity.getCanNotEdit().compareTo(0) == 0){
|
|
|
|
+ //重新分配制作人,前面不通过的审批,需要擦除,TODO:需要添加一个上一状态,用于追踪
|
|
|
|
+ houseEntity.setAuditResult(null);
|
|
|
|
+ houseEntity.setAuditDesc(null);
|
|
|
|
+ houseEntity.setCanNotEdit(1);
|
|
|
|
+ houseEntity.setCanNotEditDesc(null);
|
|
|
|
+ }
|
|
|
|
+
|
|
int update = houseService2.updateAll(houseEntity);
|
|
int update = houseService2.updateAll(houseEntity);
|
|
if(update != 1){
|
|
if(update != 1){
|
|
throw new CommonBaseException(ResultCodeEnum.D101 , "更新房源数据失败");
|
|
throw new CommonBaseException(ResultCodeEnum.D101 , "更新房源数据失败");
|
|
@@ -728,8 +736,6 @@ public class HouseController extends BaseController {
|
|
}
|
|
}
|
|
|
|
|
|
if (flagQ) {
|
|
if (flagQ) {
|
|
- /* mqMap.put("id", house.getId());
|
|
|
|
- mqMap.put("basePath", savePath);*/
|
|
|
|
|
|
|
|
// 上传floorplan.json到oss, 并命名为floor.json
|
|
// 上传floorplan.json到oss, 并命名为floor.json
|
|
HashMap<String, String> uploadJson = new HashMap<>();
|
|
HashMap<String, String> uploadJson = new HashMap<>();
|