|
@@ -94,9 +94,25 @@ public class GyDataServiceImpl implements GyDataService {
|
|
|
map.put("unitId", gyUnitId);
|
|
|
if (!ObjectUtils.isEmpty(city)) {
|
|
|
map.put("unitCity", city);
|
|
|
- map.put("auditStage", "1");
|
|
|
+ if(!map.containsKey("auditStage")){
|
|
|
+ map.put("auditStage", "1");
|
|
|
+ }else{
|
|
|
+ // 包含auditStage时检查值
|
|
|
+ String value = (String) map.get("auditStage");
|
|
|
+ if (value == null || value.trim().isEmpty()) {
|
|
|
+ map.put("auditStage", "1");
|
|
|
+ }
|
|
|
+ }
|
|
|
} else {
|
|
|
- map.put("auditStage", "2");
|
|
|
+ if(!map.containsKey("auditStage")){
|
|
|
+ map.put("auditStage", "2");
|
|
|
+ }else{
|
|
|
+ // 包含auditStage时检查值
|
|
|
+ String value = (String) map.get("auditStage");
|
|
|
+ if (value == null || value.trim().isEmpty()) {
|
|
|
+ map.put("auditStage", "2");
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
}
|