Commit 37e05b98 by Leslie1w

新增指纹比对信息系列接口

parent 7e1925ac
package org.springblade.founder.zwbd.controller;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import org.apache.commons.lang.StringUtils;
import org.springblade.founder.asj.entity.TbXwKyxsRy;
import org.springblade.founder.bzptbz.bzptEntity.SysDictitem;
import org.springblade.founder.bzptbz.service.IDetailService;
......@@ -69,8 +70,10 @@ public class AppZwxxController {
ryQueryWrapper.eq("xxzjbh",xxzjbh);
ryQueryWrapper.eq("xxsc_pdbz", "0");
AppZwxx appZwxx = appZwxxMapper.selectOne(ryQueryWrapper);
SysDictitem code_unit = iDetailService.getNameByCode(appZwxx.getTqdw(), "CODE_UNIT");
appZwxx.setTqdwStr(code_unit.getName());
if (appZwxx != null && StringUtils.isNotBlank(appZwxx.getTqdw())) {
SysDictitem code_unit = iDetailService.getNameByCode(appZwxx.getTqdw(), "CODE_UNIT");
appZwxx.setTqdwStr(code_unit != null?code_unit.getName():null);
}
map.put("appZwxx",appZwxx);
return R.ok().data(map);
} catch (Exception e) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment