Commit 847ee911 by Leslie1w

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

parent 8de5f52a
......@@ -45,13 +45,16 @@ public class AppZwxxServiceImpl extends ServiceImpl<AppZwxxMapper, AppZwxx> impl
XzxtUser xzxtUser = SecureUtil.getUserXzxt();
String xxzjbh = xxzjbhService.getXxzjbh(xzxtUser.getUnitcode());
appZwxx.setXxzjbh(xxzjbh);
String fileName = appZwxx.getFile().getOriginalFilename();
appZwxx.setFilename(fileName);
if (appZwxx.getFile() != null) {
String fileName = appZwxx.getFile().getOriginalFilename();
appZwxx.setFilename(fileName);
try {
appZwxx.setNyzwtp(appZwxx.getFile().getBytes());
} catch (IOException e) {
e.printStackTrace();
}
}
appZwxx.setXxscPdbz("0");
Utils.setUserDjxxAndCzxx(appZwxx);
int insert = appZwxxMapper.insert(appZwxx);
......
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