无用---学习记录
npm install @angular-devkit/core --save-devnpm update -g @angular/clrmless): EPERM: operation not permitted, rmdir 'C:\Users\Administrator\AppData\Roaming\npm\node_modules\@angular-devkit\core\node_mo
npm install @angular-devkit/core --save-dev
npm update -g @angular/cl
rmless): EPERM: operation not permitted, rmdir 'C:\Users\Administrator\AppData\R
oaming\npm\node_modules\@angular-devkit\core\node_modules\fsevents\node_modules'
npm WARN rollback Rolling back ajv@4.11.8 failed (this is probably harmless): EP
ERM: operation not permitted, rmdir 'C:\Users\Administrator\AppData\Roaming\npm\
node_modules\@angular-devkit\core\node_modules\fsevents\node_modules'
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.1.3 (node_modules\@an
gular-devkit\core\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@
1.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"}
)
+ rxjs@5.5.8
+ @angular-devkit/schematics@0.4.8
+ @schematics/schematics@0.4.8
+ @angular-devkit/core@0.4.8
added 70 packages from 77 contributors in 45.633s
C:\Users\Administrator>
C:\Users\Administrator>
# linux
cd /usr/local/lib/node_modules/@angular/cli/node_modules
mkdir @delon
cp -R /usr/local/lib/node_modules/@delon/* @delon/
# window(提醒:注意 `asdf` 替换成你的用户名)
cd C:\Users\Administrator\AppData\Roaming\npm\node_modules
xcopy "@delon" "@angular\cli\node_modules\@delon" /s /e /y
ng new -c=@delon/cli lonely
mybatis 映射配置
<association property="product" column="{id=subid}"
select="com.ganjiangps.huochetou.mapper.SubscribeProductMapper.getJoinSubscribeProduct"></association>
外部:
<select id="getJoinSubscribeRecord" resultMap="BaseResultMap" parameterType="com.ganjiangps.huochetou.model.SubscribeRecord">
select
<include refid="UserAccountInfo_Column" />,
<include refid="SubscribeRecord_Column" />
from subscribe_record t
left join user_account_info user on
t.baseid = user.id
<where>
<if test="baseid != null">
AND t.baseid =#{baseid,jdbcType=BIGINT}
</if>
</where>
</select>
更多推荐
所有评论(0)