|
|
|
@ -9,6 +9,7 @@ import com.thing.qingyuan.carbon.entity.QyCarbonQuotaInfoEntity; |
|
|
|
import com.thing.qingyuan.carbon.mapper.QyCarbonQuotaInfoMapper; |
|
|
|
import com.thing.qingyuan.carbon.service.QyCarbonQuotaInfoService; |
|
|
|
import com.thing.qingyuan.carbon.util.Constant; |
|
|
|
import org.apache.commons.collections4.MapUtils; |
|
|
|
import org.apache.commons.lang3.StringUtils; |
|
|
|
import org.springframework.stereotype.Service; |
|
|
|
|
|
|
|
@ -25,6 +26,9 @@ public class QyCarbonQuotaInfoServiceImpl extends BaseServiceImpl<QyCarbonQuotaI |
|
|
|
@Override |
|
|
|
public QueryWrapper getWrapper(Map<String, Object> params) { |
|
|
|
QueryWrapper queryWrapper = new QueryWrapper(); |
|
|
|
if(MapUtils.isEmpty(params)){ |
|
|
|
return queryWrapper; |
|
|
|
} |
|
|
|
if (params.containsKey("state")) { |
|
|
|
queryWrapper.eq("state", params.get("state")); |
|
|
|
} |
|
|
|
|