Merge branch 'ww' into test
This commit is contained in:
commit
0d77408fa5
|
|
@ -241,7 +241,7 @@ public class SummaryServiceImpl implements SummaryService {
|
|||
List<CountDateVO> numList = new ArrayList<>();
|
||||
for (Object[] o : objects) {
|
||||
CountDateVO countDateVO = new CountDateVO();
|
||||
BigInteger integers = (BigInteger) o[1];
|
||||
BigInteger integers = (BigInteger) o[0];
|
||||
countDateVO.setCount(new BigDecimal(integers.toString()));
|
||||
Date date = (Date) o[2];
|
||||
countDateVO.setTradeDay(date.toString());
|
||||
|
|
|
|||
|
|
@ -127,6 +127,10 @@ public class TbShopInfoServiceImpl implements TbShopInfoService {
|
|||
@Override
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public TbShopInfoDto create(TbShopInfoDto resources) {
|
||||
if(StringUtils.isBlank(resources.getShopName())){
|
||||
throw new BadRequestException("店铺名称不可为空");
|
||||
}
|
||||
resources.setShopName(resources.getShopName().trim());
|
||||
if ("release".equals(resources.getProfiles())){
|
||||
if (resources.getRegisterCode() == null){
|
||||
throw new BadRequestException("未绑定激活码");
|
||||
|
|
|
|||
Loading…
Reference in New Issue