|
@ -31,6 +31,7 @@ import org.springframework.beans.factory.annotation.Autowired; |
|
|
import org.springframework.stereotype.Service; |
|
|
import org.springframework.stereotype.Service; |
|
|
import org.springframework.transaction.annotation.Transactional; |
|
|
import org.springframework.transaction.annotation.Transactional; |
|
|
|
|
|
|
|
|
|
|
|
import javax.validation.constraints.NotBlank; |
|
|
import java.math.BigDecimal; |
|
|
import java.math.BigDecimal; |
|
|
import java.util.*; |
|
|
import java.util.*; |
|
|
import java.util.stream.Collectors; |
|
|
import java.util.stream.Collectors; |
|
@ -144,7 +145,12 @@ public class PowerKernelHouseholdServiceImpl extends BaseServiceImpl<PowerKernel |
|
|
if (null == limit || NumConstant.ZERO_L == limit) { |
|
|
if (null == limit || NumConstant.ZERO_L == limit) { |
|
|
limit = 999; |
|
|
limit = 999; |
|
|
} |
|
|
} |
|
|
return baseDao.queryListPosition(form.getAxisStructId(), form.getCustomerId(), limit); |
|
|
String axisStructId = form.getAxisStructId(); |
|
|
|
|
|
if (StringUtils.isBlank(axisStructId)) { |
|
|
|
|
|
String agencyId = form.getAgencyId(); |
|
|
|
|
|
axisStructId = baseDao.queryAxisStructId(agencyId,form.getCustomerId()); |
|
|
|
|
|
} |
|
|
|
|
|
return baseDao.queryListPosition(axisStructId, form.getCustomerId(), limit); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
@Override |
|
|
@Override |
|
|