手环抽检修改

This commit is contained in:
cwchen 2024-09-29 18:12:37 +08:00
parent 096bbbaaca
commit 3e7e671415
1 changed files with 2 additions and 2 deletions

View File

@ -360,8 +360,8 @@ public class ConsControlServiceImpl implements IConsControlService {
StringBuilder sb = new StringBuilder();
List<BraceletParamsDto.SpotCheckInfo> spotCheckList = dto.getSpotCheckList();
for (BraceletParamsDto.SpotCheckInfo spotCheckInfo : spotCheckList) {
if(StringUtils.isNotBlank(spotCheckInfo.getDevCode())){
sb.append(spotCheckInfo.getDevCode()).append("@");
if(StringUtils.isNotBlank(spotCheckInfo.getShCode())){
sb.append(spotCheckInfo.getShCode()).append("@");
}
}
if(StringUtils.isNotBlank(sb) && (sb.lastIndexOf("@") == sb.length() - 1)){