- 博客(4)
- 收藏
- 关注
原创 Vue element-ui 设置列表字段过长,缩略显示
Vue element-ui 设置列表字段过长显示titleshow-overflow-tooltip=“true”vue写法:<el-table-column label="提货方详细地址" prop="shipperContactAddress" :show-overflow-tooltip="true" align="center"> <template slot-scope="scope" sortable> <span>{{ scope.row.
2022-02-22 09:17:43 1862
原创 MyBatis-获取数据库自增主键
MyBatis-获取数据库自增主键useGeneratedKeys=“true” keyProperty=“id”只能在insert中使用,且数据库支持自增主键MyBatis写法:<insert id="insert" useGeneratedKeys="true" keyProperty="id"> insert into business_daily_report ( id, bill_no,
2022-02-16 10:07:09 458
原创 MyBatis-批量update
MyBatis-批量update1、循环update语句通过循环,依次执行update语句,效率较低MyBatis写法:<update id="updateCarrierWayStatus" parameterType="java.util.List"> <foreach collection="list" item="item" index="index" separator=";"> UPDATE order_main_info
2022-02-14 14:24:44 6431 1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人