- 博客(19)
- 收藏
- 关注
原创 耗材管理平台(五)
对于系统的登录,还有Mapper层和controller层:Mapper层包含一个.java文件和一个.xml文件:public interface ReagentAdminLoginLogMapper { long countByExample(ReagentAdminLoginLogExample example); int deleteByExample(ReagentAdminLoginLogExample example); int deleteByPrimaryK
2022-05-08 10:00:00 120 1
原创 耗材管理平台(四)
今天介绍一下系统登录功能的代码。分为四层:model层: protected String orderByClause; protected boolean distinct; protected List<Criteria> oredCriteria; public ReagentMemberLoginLogExample() { oredCriteria = new ArrayList<>(); } pu
2022-05-08 07:30:00 136
原创 耗材管理平台(一)
我和陈龙同学负责后端的开发。我们先对于该平台的其中一个功能做一个整体的开发,实现从0到1.我们计划在完成这个功能的开发后,再基于这个功能的实现照猫画虎,完成其他功能。比如对于耗材的基础信息管理,在后端以下几个部分:首先是定义了一个类baseinfo,里边包含了数据库中对应表的所有属性: private Long id; @ApiModelProperty(value = "试剂耗材编号") private String code; @ApiModelProperty
2022-04-15 23:44:39 192
原创 方舟编译器源码分析(十一)
2021SC@SDUSC今天分析的是src/mapleall/maple_driver/src/driver_runner.cpp的代码。它的头文件是#include "compiler.h"#include "driver_runner.h"#include <iostream>#include <sys/stat.h>#include "mpl_timer.h"#include "mir_function.h"#include "mir_parser..
2021-12-02 20:59:30 473
原创 方舟编译器源码分析(十)
2021SC@SDUSC今天分析的是src/mapleall/maple_driver/src/driver_option_common.cpp的代码。
2021-11-29 17:06:03 251
原创 方舟编译器源码分析(九)
2021SC@SDUSC今天分析的是src/mapleall/maple_driver/src/dex2mpl_compiler.cpp的代码它的头文件是#include "compiler.h"#include "default_options.def"#include <memory>#ifdef INTERGRATE_DRIVER#include "dex2mpl_runner.h"#include "mir_function.h"#endif这个类的定义也是
2021-11-15 20:16:36 654
原创 方舟编译器源码分析(八)
2021SC@SDUSC今天分析的是src/mapleall/maple_driver/src/cpp2mpl_compiler.cpp的代码它引用的头文件有
2021-11-14 15:42:08 572
原创 方舟编译器源码分析(七)
2021SC@SDUSC今天分析的是src/mapleall/maple_driver/src/compiler_selector.cpp的代码。它的头文件是#include "compiler_selector.h"#include <algorithm>#include "mpl_logging.h"在compiler_selector.h这个头文件中定义了两个类CompilerSelector和CompilerSelectorImpl类。class Com..
2021-11-07 20:17:57 126
原创 方舟编译器源码分析(六)
2021SC@SDUSC今天分析的是src/mapleall/maple_driver/src/compiler_factory.cpp的代码。
2021-11-04 16:10:34 117
原创 方舟编译器源码分析(五)
2021SC@SDUSC今天分析的是src/mapleall/maple_driver/src/compiler.cpp#include "compiler.h"#include <cstdlib>#include "file_utils.h"#include "safe_exe.h"#include "mpl_timer.h"int Compiler::Exe(const MplOptions &mplOptions, const std::string &a
2021-10-26 16:33:42 196
原创 方舟编译器源码分析(二)文件组成
2021SC@SDUSCmaple_driver文件由四部分组成:defs:包含.def文件,includes:包含.h头文件,写类的声明,函数原型,#define常数等。src:包含.cpp源文件,主要写头文件中已经声明的函数的具体实现。BUILD.gn:GN是一个生成Ninj构建文件的元构建系统,以便可以用Ninja构建Chromium。...
2021-10-09 15:24:36 717
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人