|
|
|
@ -6,6 +6,7 @@ import java.util.Map; |
|
|
|
|
|
|
|
|
|
import javax.annotation.Resource; |
|
|
|
|
|
|
|
|
|
import org.apache.commons.lang3.StringUtils; |
|
|
|
|
import org.springframework.stereotype.Service; |
|
|
|
|
import org.springframework.util.CollectionUtils; |
|
|
|
|
|
|
|
|
@ -54,7 +55,7 @@ public class CustomsServiceImpl extends MpBaseServiceImpl<CustomsDao, CustomsRec |
|
|
|
|
JSONObject json = super.setTitleList(titlelist, titleprop); |
|
|
|
|
try { |
|
|
|
|
|
|
|
|
|
if (CollectionUtils.isEmpty((List<String>)pramsMap.get("gfsh"))) { |
|
|
|
|
if (StringUtils.isBlank((String) pramsMap.get("gfsh"))) { |
|
|
|
|
json.put("total", "0"); |
|
|
|
|
json.put("datalist", new ArrayList<>()); |
|
|
|
|
return super.responseResult(json); |
|
|
|
|