|
@@ -845,7 +845,7 @@ public class GljtSqSqServiceImpl implements IGljtSqSqService
|
|
public int programAddSq(GljtSqSq gljtSqSq) {
|
|
public int programAddSq(GljtSqSq gljtSqSq) {
|
|
if (ObjectUtils.isNotEmpty(gljtSqSqMapper.selectOne(new LambdaQueryWrapper<GljtSqSq>()
|
|
if (ObjectUtils.isNotEmpty(gljtSqSqMapper.selectOne(new LambdaQueryWrapper<GljtSqSq>()
|
|
.eq(GljtSqSq::getSqrZjhm, SecurityUtils.sm4encrypt_ECB(EncryptionUtils.key, gljtSqSq.getSqrZjhm()))
|
|
.eq(GljtSqSq::getSqrZjhm, SecurityUtils.sm4encrypt_ECB(EncryptionUtils.key, gljtSqSq.getSqrZjhm()))
|
|
- .ne(GljtSqSq::getState, "99")))) {
|
|
|
|
|
|
+ .ne(GljtSqSq::getState, "99").ne(GljtSqSq::getStatus, GljtAdStatus.CG.getCode())))) {
|
|
throw new ServiceException("该老人存在进行中的申请");
|
|
throw new ServiceException("该老人存在进行中的申请");
|
|
}
|
|
}
|
|
if (ObjectUtils.isNotEmpty(gljtSqLrMapper.selectOne(new LambdaQueryWrapper<GljtSqLr>()
|
|
if (ObjectUtils.isNotEmpty(gljtSqLrMapper.selectOne(new LambdaQueryWrapper<GljtSqLr>()
|