Compare commits

..

No commits in common. "54c4c54cc709ecb7c2611fb1d9c2d2786522a8d6" and "de0c9afa813718d9874610537b7722a0ebdf91b9" have entirely different histories.

5 changed files with 3 additions and 29 deletions

View File

@ -77,8 +77,6 @@ declare namespace Api {
tenantId: CommonType.IdType; tenantId: CommonType.IdType;
/** 删除标志0代表存在 1代表删除 */ /** 删除标志0代表存在 1代表删除 */
delFlag: string; delFlag: string;
/** 创建时间 */
entryDate: string;
}>; }>;
/** market search params */ /** market search params */
@ -152,7 +150,6 @@ declare namespace Api {
| 'checkUser' | 'checkUser'
| 'checkType' | 'checkType'
| 'checkMsg' | 'checkMsg'
| 'entryDate'
> >
>; >;

View File

@ -83,8 +83,7 @@ function createDefaultModel(): Model {
checkTime: null, checkTime: null,
checkUser: '', checkUser: '',
checkType: '0', checkType: '0',
checkMsg: '', checkMsg: ''
entryDate: null
}; };
} }
@ -250,8 +249,7 @@ async function handleSubmit() {
checkTime, checkTime,
checkUser, checkUser,
checkType, checkType,
checkMsg, checkMsg
entryDate
} = model; } = model;
// request // request
@ -323,8 +321,7 @@ async function handleSubmit() {
checkTime, checkTime,
checkUser, checkUser,
checkType, checkType,
checkMsg, checkMsg
entryDate
}); });
if (error) return; if (error) return;
} }

View File

@ -194,10 +194,5 @@ public class MpsMarketBo extends BaseEntity {
*/ */
private String checkMsg; private String checkMsg;
/**
* 创建时间
*/
private String entryDate;
} }

View File

@ -225,11 +225,5 @@ public class MpsMarketVo implements Serializable {
@ExcelProperty(value = "核对结果") @ExcelProperty(value = "核对结果")
private String checkMsg; private String checkMsg;
/**
* 创建时间
*/
@ExcelProperty(value = "创建时间")
private String entryDate;
} }

View File

@ -361,7 +361,6 @@ public class MpsMarketServiceImpl implements IMpsMarketService {
mpsMarket.setCustId(entity.getCustId()); mpsMarket.setCustId(entity.getCustId());
mpsMarket.setSubcategoryId(entity.getSubcategoryId()); mpsMarket.setSubcategoryId(entity.getSubcategoryId());
LambdaQueryWrapper<MpsMarket> lqw = new LambdaQueryWrapper<>(mpsMarket); LambdaQueryWrapper<MpsMarket> lqw = new LambdaQueryWrapper<>(mpsMarket);
lqw.ne(entity.getDataId()!=null, MpsMarket::getDataId, entity.getDataId());
lqw.like(StringUtils.isNotEmpty(entity.getEntryDate()), MpsMarket::getEntryDate, entity.getEntryDate().substring(0, 4)); lqw.like(StringUtils.isNotEmpty(entity.getEntryDate()), MpsMarket::getEntryDate, entity.getEntryDate().substring(0, 4));
List<MpsMarketVo> result = baseMapper.selectVoList(lqw); List<MpsMarketVo> result = baseMapper.selectVoList(lqw);
if (!result.isEmpty()) { if (!result.isEmpty()) {
@ -384,7 +383,6 @@ public class MpsMarketServiceImpl implements IMpsMarketService {
mpsMarket.setCustAcctNo(entity.getCustAcctNo()); mpsMarket.setCustAcctNo(entity.getCustAcctNo());
mpsMarket.setSubcategoryId(entity.getSubcategoryId()); mpsMarket.setSubcategoryId(entity.getSubcategoryId());
LambdaQueryWrapper<MpsMarket> lqw = new LambdaQueryWrapper<>(mpsMarket); LambdaQueryWrapper<MpsMarket> lqw = new LambdaQueryWrapper<>(mpsMarket);
lqw.ne(entity.getDataId()!=null, MpsMarket::getDataId, entity.getDataId());
List<MpsMarketVo> result = baseMapper.selectVoList(lqw); List<MpsMarketVo> result = baseMapper.selectVoList(lqw);
if (!result.isEmpty()) { if (!result.isEmpty()) {
throw new ServiceException("银行卡号已存在!"); throw new ServiceException("银行卡号已存在!");
@ -408,7 +406,6 @@ public class MpsMarketServiceImpl implements IMpsMarketService {
mpsMarket.setAcquiringId(entity.getAcquiringId()); mpsMarket.setAcquiringId(entity.getAcquiringId());
mpsMarket.setSubcategoryId(entity.getSubcategoryId()); mpsMarket.setSubcategoryId(entity.getSubcategoryId());
LambdaQueryWrapper<MpsMarket> lqw = new LambdaQueryWrapper<>(mpsMarket); LambdaQueryWrapper<MpsMarket> lqw = new LambdaQueryWrapper<>(mpsMarket);
lqw.ne(entity.getDataId()!=null, MpsMarket::getDataId, entity.getDataId());
List<MpsMarketVo> result = baseMapper.selectVoList(lqw); List<MpsMarketVo> result = baseMapper.selectVoList(lqw);
if (!result.isEmpty()) { if (!result.isEmpty()) {
throw new ServiceException("商户号不可重复!"); throw new ServiceException("商户号不可重复!");
@ -418,7 +415,6 @@ public class MpsMarketServiceImpl implements IMpsMarketService {
mpsMarket.setHeatingNo(entity.getHeatingNo()); mpsMarket.setHeatingNo(entity.getHeatingNo());
mpsMarket.setSubcategoryId(entity.getSubcategoryId()); mpsMarket.setSubcategoryId(entity.getSubcategoryId());
LambdaQueryWrapper<MpsMarket> lqw = new LambdaQueryWrapper<>(mpsMarket); LambdaQueryWrapper<MpsMarket> lqw = new LambdaQueryWrapper<>(mpsMarket);
lqw.ne(entity.getDataId()!=null, MpsMarket::getDataId, entity.getDataId());
lqw.like(StringUtils.isNotEmpty(entity.getEntryDate()), MpsMarket::getEntryDate, entity.getEntryDate().substring(0,4)); lqw.like(StringUtils.isNotEmpty(entity.getEntryDate()), MpsMarket::getEntryDate, entity.getEntryDate().substring(0,4));
List<MpsMarketVo> result = baseMapper.selectVoList(lqw); List<MpsMarketVo> result = baseMapper.selectVoList(lqw);
if (!result.isEmpty()) { if (!result.isEmpty()) {
@ -430,7 +426,6 @@ public class MpsMarketServiceImpl implements IMpsMarketService {
mpsMarket.setHeatingNo(entity.getHeatingNo()); mpsMarket.setHeatingNo(entity.getHeatingNo());
mpsMarket.setSubcategoryId(entity.getSubcategoryId()); mpsMarket.setSubcategoryId(entity.getSubcategoryId());
LambdaQueryWrapper<MpsMarket> lqw = new LambdaQueryWrapper<>(mpsMarket); LambdaQueryWrapper<MpsMarket> lqw = new LambdaQueryWrapper<>(mpsMarket);
lqw.ne(entity.getDataId()!=null, MpsMarket::getDataId, entity.getDataId());
lqw.like(StringUtils.isNotEmpty(entity.getEntryDate()), MpsMarket::getEntryDate, entity.getEntryDate().substring(0,7)); lqw.like(StringUtils.isNotEmpty(entity.getEntryDate()), MpsMarket::getEntryDate, entity.getEntryDate().substring(0,7));
List<MpsMarketVo> result = baseMapper.selectVoList(lqw); List<MpsMarketVo> result = baseMapper.selectVoList(lqw);
if (!result.isEmpty()) { if (!result.isEmpty()) {
@ -440,13 +435,11 @@ public class MpsMarketServiceImpl implements IMpsMarketService {
//在set1中的业务类型,账号+年份不能重复 //在set1中的业务类型,账号+年份不能重复
//没有对公业务不判断custtype //没有对公业务不判断custtype
// 排除新开有效银行卡可重复的影响 // 排除新开有效银行卡可重复的影响
//修改时排除本条数据的影响
mpsMarket.setCustAcctNo(entity.getCustAcctNo()); mpsMarket.setCustAcctNo(entity.getCustAcctNo());
LambdaQueryWrapper<MpsMarket> lqw = new LambdaQueryWrapper<>(mpsMarket); LambdaQueryWrapper<MpsMarket> lqw = new LambdaQueryWrapper<>(mpsMarket);
lqw.like(MpsMarket::getEntryDate, entity.getEntryDate().substring(0,4)); lqw.like(MpsMarket::getEntryDate, entity.getEntryDate().substring(0,4));
lqw.in(MpsMarket::getSubcategoryId, set1); lqw.in(MpsMarket::getSubcategoryId, set1);
lqw.ne("BIZ010".equals(entity.getSubcategoryId()),MpsMarket::getSubcategoryId, "BIZ010"); lqw.ne("BIZ010".equals(entity.getSubcategoryId()),MpsMarket::getSubcategoryId, "BIZ010");
lqw.ne(entity.getDataId()!=null, MpsMarket::getDataId, entity.getDataId());
List<MpsMarketVo> result = baseMapper.selectVoList(lqw); List<MpsMarketVo> result = baseMapper.selectVoList(lqw);
if (!result.isEmpty()) { if (!result.isEmpty()) {
throw new ServiceException("该营销记录(四选一)已存在!"); throw new ServiceException("该营销记录(四选一)已存在!");
@ -457,7 +450,6 @@ public class MpsMarketServiceImpl implements IMpsMarketService {
mpsMarket.setCustId(entity.getCustId()); mpsMarket.setCustId(entity.getCustId());
LambdaQueryWrapper<MpsMarket> lqw = new LambdaQueryWrapper<>(mpsMarket); LambdaQueryWrapper<MpsMarket> lqw = new LambdaQueryWrapper<>(mpsMarket);
lqw.like(MpsMarket::getEntryDate, entity.getEntryDate().substring(0,7)); lqw.like(MpsMarket::getEntryDate, entity.getEntryDate().substring(0,7));
lqw.ne(entity.getDataId()!=null, MpsMarket::getDataId, entity.getDataId());
List<MpsMarketVo> result = baseMapper.selectVoList(lqw); List<MpsMarketVo> result = baseMapper.selectVoList(lqw);
if (!result.isEmpty()) { if (!result.isEmpty()) {
throw new ServiceException("该营销记录已存在!"); throw new ServiceException("该营销记录已存在!");
@ -468,7 +460,6 @@ public class MpsMarketServiceImpl implements IMpsMarketService {
mpsMarket.setCustAcctNo(entity.getCustAcctNo()); mpsMarket.setCustAcctNo(entity.getCustAcctNo());
LambdaQueryWrapper<MpsMarket> lqw = new LambdaQueryWrapper<>(mpsMarket); LambdaQueryWrapper<MpsMarket> lqw = new LambdaQueryWrapper<>(mpsMarket);
lqw.like(MpsMarket::getEntryDate, entity.getEntryDate().substring(0,7)); lqw.like(MpsMarket::getEntryDate, entity.getEntryDate().substring(0,7));
lqw.ne(entity.getDataId()!=null, MpsMarket::getDataId, entity.getDataId());
List<MpsMarketVo> result = baseMapper.selectVoList(lqw); List<MpsMarketVo> result = baseMapper.selectVoList(lqw);
if (!result.isEmpty()) { if (!result.isEmpty()) {
throw new ServiceException("该营销记录已存在!"); throw new ServiceException("该营销记录已存在!");