|
|
|
@ -13,6 +13,7 @@ import com.dxhy.common.constant.DictConstant; |
|
|
|
|
import com.dxhy.common.utils.DateUtils; |
|
|
|
|
import lombok.extern.slf4j.Slf4j; |
|
|
|
|
import org.apache.commons.lang.StringUtils; |
|
|
|
|
import org.apache.commons.lang3.ObjectUtils; |
|
|
|
|
import org.jetbrains.annotations.NotNull; |
|
|
|
|
import org.springframework.stereotype.Service; |
|
|
|
|
|
|
|
|
@ -460,12 +461,16 @@ public class BaseInvoiceManualCheckServiceImpl extends MpBaseServiceImpl<BaseTDx |
|
|
|
|
gfshList1.add(cur.getTaxno()); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
if(ObjectUtils.isEmpty(gfshList1)|| gfshList1.size()==0){ |
|
|
|
|
json.put("code","501"); |
|
|
|
|
json.put("message","税号已经申请抵扣"); |
|
|
|
|
return super.responseResult(json); |
|
|
|
|
}else { |
|
|
|
|
json.put("hjsl", "0"); |
|
|
|
|
json.put("hjje", "0"); |
|
|
|
|
json.put("hjse", "0"); |
|
|
|
|
json.put("total", 0); |
|
|
|
|
json.put("datalist", new ArrayList<>()); |
|
|
|
|
pramsMap.put("gfsh",gfshList1); |
|
|
|
|
} |
|
|
|
|
} else { |
|
|
|
|
json.put("code", "501"); |
|
|
|
|
json.put("message", "账号下无可用税号"); |
|
|
|
|
return super.responseResult(json); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|