
10 changed files with 631 additions and 0 deletions
@ -0,0 +1,73 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.supervise.portal.biz.gdoutstorage; |
|||
|
|||
import com.baomidou.mybatisplus.annotation.TableName; |
|||
import com.yxt.common.core.domain.EntityWithId; |
|||
import lombok.Data; |
|||
|
|||
/** |
|||
* Project: yxt_supervise <br/> |
|||
* File: GdOutstorage.java <br/> |
|||
* Class: com.yxt.supervise.portal.biz.gdoutstorage.GdOutstorage <br/> |
|||
* Description: <描述类的功能>. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2022/12/2 0:01 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Data |
|||
@TableName("gd_outstorage") |
|||
public class GdOutstorage extends EntityWithId { |
|||
|
|||
private String cola0; // 企业组织机构代码证
|
|||
private String colb1; // 仓库/门店编号
|
|||
private String colc2; // 仓库/门店名称
|
|||
private String cold3; // 出库时间
|
|||
private String cole4; // 供应商名称
|
|||
private String colf5; // 单据号
|
|||
private String colg6; // 单据类型
|
|||
private String colh7; // 货号
|
|||
private String coli8; // 商品名称
|
|||
private String colj9; // 商品生产日期
|
|||
private String colk10; // 商品保质期
|
|||
private String coll11; // 商品规格
|
|||
private String colm12; // 类别编号
|
|||
private String coln13; // 类别名称
|
|||
private String colo14; // 一级类别名称
|
|||
private String colp15; // 二级类别名称
|
|||
private String colq16; // 出库金额
|
|||
private String colr17; // 出库数量
|
|||
private String cols18; // 成本金额
|
|||
private String colt19; // 成本税额
|
|||
private String colu20; // 不含税成本
|
|||
private String colv21; // 进项税率
|
|||
private String orderDate; // 单据日期
|
|||
private String storeType; // 门店类型
|
|||
} |
@ -0,0 +1,71 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.supervise.portal.biz.gdoutstorage; |
|||
|
|||
import com.baomidou.mybatisplus.annotation.TableName; |
|||
import com.yxt.common.core.domain.EntityWithId; |
|||
import lombok.Data; |
|||
|
|||
/** |
|||
* Project: yxt_supervise <br/> |
|||
* File: GdOutstorageGd.java <br/> |
|||
* Class: com.yxt.supervise.portal.biz.gdoutstorage.GdOutstorageGd <br/> |
|||
* Description: <描述类的功能>. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2022/12/2 0:04 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Data |
|||
@TableName("gd_outstorage_gd") |
|||
public class GdOutstorageGd extends EntityWithId { |
|||
|
|||
private String cola0; // 企业组织机构代码证
|
|||
private String colb1; // 仓库/门店编号
|
|||
private String colc2; // 仓库/门店名称
|
|||
private String cold3; // 出库时间
|
|||
private String cole4; // 供应商名称
|
|||
private String colf5; // 单据号
|
|||
private String colg6; // 单据类型
|
|||
private String colh7; // 货号
|
|||
private String coli8; // 商品名称
|
|||
private String colj9; // 商品生产日期
|
|||
private String colk10; // 商品保质期
|
|||
private String coll11; // 商品规格
|
|||
private String colm12; // 类别编号
|
|||
private String coln13; // 类别名称
|
|||
private String colo14; // 一级类别名称
|
|||
private String colp15; // 二级类别名称
|
|||
private String colq16; // 出库金额
|
|||
private String colr17; // 出库数量
|
|||
private String cols18; // 成本金额
|
|||
private String colt19; // 成本税额
|
|||
private String colu20; // 不含税成本
|
|||
private String colv21; // 进项税率
|
|||
} |
@ -0,0 +1,46 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.supervise.portal.biz.gdoutstorage; |
|||
|
|||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
|||
import org.apache.ibatis.annotations.Mapper; |
|||
|
|||
/** |
|||
* Project: yxt_supervise <br/> |
|||
* File: GdOutstorageGdMapper.java <br/> |
|||
* Class: com.yxt.supervise.portal.biz.gdoutstorage.GdOutstorageGdMapper <br/> |
|||
* Description: <描述类的功能>. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2022/12/2 0:07 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Mapper |
|||
public interface GdOutstorageGdMapper extends BaseMapper<GdOutstorageGd> { |
|||
} |
@ -0,0 +1,46 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.supervise.portal.biz.gdoutstorage; |
|||
|
|||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
|||
import org.springframework.stereotype.Service; |
|||
|
|||
/** |
|||
* Project: yxt_supervise <br/> |
|||
* File: GdOutstorageGdService.java <br/> |
|||
* Class: com.yxt.supervise.portal.biz.gdoutstorage.GdOutstorageGdService <br/> |
|||
* Description: <描述类的功能>. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2022/12/2 0:09 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Service |
|||
public class GdOutstorageGdService extends ServiceImpl<GdOutstorageGdMapper,GdOutstorageGd> { |
|||
} |
@ -0,0 +1,46 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.supervise.portal.biz.gdoutstorage; |
|||
|
|||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
|||
import org.apache.ibatis.annotations.Mapper; |
|||
|
|||
/** |
|||
* Project: yxt_supervise <br/> |
|||
* File: GdOutstorageMapper.java <br/> |
|||
* Class: com.yxt.supervise.portal.biz.gdoutstorage.GdOutstorageMapper <br/> |
|||
* Description: <描述类的功能>. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2022/12/2 0:10 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Mapper |
|||
public interface GdOutstorageMapper extends BaseMapper<GdOutstorage> { |
|||
} |
@ -0,0 +1,61 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' /| |// '. *
|
|||
* / /||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | /\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.supervise.portal.biz.gdoutstorage; |
|||
|
|||
import com.yxt.common.core.result.ResultBean; |
|||
import org.springframework.beans.factory.annotation.Autowired; |
|||
import org.springframework.web.bind.annotation.GetMapping; |
|||
import org.springframework.web.bind.annotation.RequestMapping; |
|||
import org.springframework.web.bind.annotation.RestController; |
|||
|
|||
/** |
|||
* Project: yxt_supervise <br/> |
|||
* File: GdOutstorageRest.java <br/> |
|||
* Class: com.yxt.supervise.portal.biz.gdoutstorage.GdOutstorageRest <br/> |
|||
* Description: <描述类的功能>. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2022/12/2 0:12 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@RestController("com.yxt.supervise.portal.biz.gdoutstorage.GdOutstorageRest") |
|||
@RequestMapping("gdoutstorage") |
|||
public class GdOutstorageRest { |
|||
|
|||
@Autowired |
|||
private GdOutstorageService gdOutstorageService; |
|||
|
|||
@GetMapping("/test") |
|||
public ResultBean test() { |
|||
|
|||
gdOutstorageService.doimp("D:/works/projects/javaee/lzh/niejinyi/yunyan/docs/sheji/wx20221202/汇融银行_出库明细表.xlsx"); |
|||
|
|||
return ResultBean.fireSuccess(); |
|||
} |
|||
} |
@ -0,0 +1,145 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.supervise.portal.biz.gdoutstorage; |
|||
|
|||
import cn.hutool.poi.excel.ExcelReader; |
|||
import cn.hutool.poi.excel.ExcelUtil; |
|||
import cn.hutool.poi.excel.sax.handler.RowHandler; |
|||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
|||
import org.apache.poi.ss.usermodel.CellStyle; |
|||
import org.springframework.beans.factory.annotation.Autowired; |
|||
import org.springframework.stereotype.Service; |
|||
|
|||
import java.util.ArrayList; |
|||
import java.util.List; |
|||
|
|||
/** |
|||
* Project: yxt_supervise <br/> |
|||
* File: GdOutstorageService.java <br/> |
|||
* Class: com.yxt.supervise.portal.biz.gdoutstorage.GdOutstorageService <br/> |
|||
* Description: <描述类的功能>. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2022/12/2 0:11 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Service |
|||
public class GdOutstorageService extends ServiceImpl<GdOutstorageMapper, GdOutstorage> { |
|||
|
|||
@Autowired |
|||
private GdOutstorageGdService gdOutstorageGdService; |
|||
|
|||
public void doimp(String filePath) { |
|||
long millis = System.currentTimeMillis(); |
|||
// ExcelUtil.readBySax(filePath, 0, createRowHandler1());
|
|||
ExcelReader reader = ExcelUtil.getReader(filePath); |
|||
int rowCount = reader.getRowCount(); |
|||
List<GdOutstorageGd> toInsertList = new ArrayList<>(); |
|||
for(int i=1;i<rowCount; i++){ |
|||
List<Object> objects = reader.readRow(i); |
|||
GdOutstorageGd gd = rowToEntitygetGdO(objects); |
|||
|
|||
toInsertList.add(gd); |
|||
} |
|||
if (toInsertList != null && !toInsertList.isEmpty()) { |
|||
gdOutstorageGdService.saveBatch(toInsertList); |
|||
} |
|||
|
|||
System.out.println("用时:" + (System.currentTimeMillis() - millis)); |
|||
} |
|||
private RowHandler createRowHandler1() { |
|||
return new RowHandler() { |
|||
@Override |
|||
public void handle(int sheetIndex, long rowIndex, List<Object> rowlist) { |
|||
System.out.println("[{"+sheetIndex+"}] [{"+rowIndex+"}] {"+rowlist+"}" ); |
|||
} |
|||
}; |
|||
} |
|||
private RowHandler createRowHandler() { |
|||
return new RowHandler() { |
|||
|
|||
private List<GdOutstorageGd> toInsertList = new ArrayList<>(); |
|||
private int x = 0; |
|||
|
|||
@Override |
|||
public void handle(int i, long l, List<Object> r) { |
|||
System.out.println(l); |
|||
if (l > 0) { |
|||
GdOutstorageGd gd = rowToEntitygetGdO(r); |
|||
|
|||
toInsertList.add(gd); |
|||
x++; |
|||
System.out.println(",X:" + x); |
|||
} |
|||
|
|||
} |
|||
|
|||
|
|||
@Override |
|||
public void handleCell(int sheetIndex, long rowIndex, int cellIndex, Object value, CellStyle xssfCellStyle) { |
|||
RowHandler.super.handleCell(sheetIndex, rowIndex, cellIndex, value, xssfCellStyle); |
|||
} |
|||
@Override |
|||
public void doAfterAllAnalysed() { |
|||
if (toInsertList != null && !toInsertList.isEmpty()) { |
|||
gdOutstorageGdService.saveBatch(toInsertList); |
|||
} |
|||
RowHandler.super.doAfterAllAnalysed(); |
|||
} |
|||
}; |
|||
} |
|||
|
|||
private GdOutstorageGd rowToEntitygetGdO(List<Object> r) { |
|||
GdOutstorageGd gd = new GdOutstorageGd(); |
|||
|
|||
gd.setCola0(""+ r.get(0)); // 企业组织机构代码证
|
|||
gd.setColb1(""+ r.get(1)); // 仓库/门店编号
|
|||
gd.setColc2(""+ r.get(2)); // 仓库/门店名称
|
|||
gd.setCold3(""+ r.get(3)); // 出库时间
|
|||
gd.setCole4(""+ r.get(4)); // 供应商名称
|
|||
gd.setColf5(""+ r.get(5)); // 单据号
|
|||
gd.setColg6(""+ r.get(6)); // 单据类型
|
|||
gd.setColh7(""+ r.get(7)); // 货号
|
|||
gd.setColi8(""+ r.get(8)); // 商品名称
|
|||
gd.setColj9(""+ r.get(9)); // 商品生产日期
|
|||
gd.setColk10(""+ r.get(10)); // 商品保质期
|
|||
gd.setColl11(""+ r.get(11)); // 商品规格
|
|||
gd.setColm12(""+ r.get(12)); // 类别编号
|
|||
gd.setColn13(""+ r.get(13)); // 类别名称
|
|||
gd.setColo14(""+ r.get(14)); // 一级类别名称
|
|||
gd.setColp15(""+ r.get(15)); // 二级类别名称
|
|||
gd.setColq16(""+ r.get(16)); // 出库金额
|
|||
gd.setColr17(""+ r.get(17)); // 出库数量
|
|||
gd.setCols18(""+ r.get(18)); // 成本金额
|
|||
gd.setColt19(""+ r.get(19)); // 成本税额
|
|||
gd.setColu20(""+ r.get(20)); // 不含税成本
|
|||
gd.setColv21(""+ r.get(21)); // 进项税率
|
|||
return gd; |
|||
} |
|||
} |
@ -0,0 +1,51 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.supervise.portal.biz.storeindex; |
|||
|
|||
import com.baomidou.mybatisplus.annotation.TableName; |
|||
import com.yxt.common.core.domain.EntityWithId; |
|||
import lombok.Data; |
|||
|
|||
/** |
|||
* Project: yxt_supervise <br/> |
|||
* File: StoreIndex.java <br/> |
|||
* Class: com.yxt.supervise.portal.biz.storeindex.StoreIndex <br/> |
|||
* Description: <描述类的功能>. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2022/12/1 22:43 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Data |
|||
@TableName("store_index") |
|||
public class StoreIndex extends EntityWithId { |
|||
private String code; //代码
|
|||
private String name; //名称
|
|||
private String type; //类型
|
|||
} |
@ -0,0 +1,46 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.supervise.portal.biz.storeindex; |
|||
|
|||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
|||
import org.apache.ibatis.annotations.Mapper; |
|||
|
|||
/** |
|||
* Project: yxt_supervise <br/> |
|||
* File: StoreIndexMapper.java <br/> |
|||
* Class: com.yxt.supervise.portal.biz.storeindex.StoreIndexMapper <br/> |
|||
* Description: <描述类的功能>. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2022/12/1 22:45 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Mapper |
|||
public interface StoreIndexMapper extends BaseMapper<StoreIndex> { |
|||
} |
@ -0,0 +1,46 @@ |
|||
/********************************************************* |
|||
********************************************************* |
|||
******************** ******************* |
|||
************* ************ |
|||
******* _oo0oo_ ******* |
|||
*** o8888888o *** |
|||
* 88" . "88 * |
|||
* (| -_- |) * |
|||
* 0\ = /0 * |
|||
* ___/`---'\___ * |
|||
* .' \\| |// '. *
|
|||
* / \\||| : |||// \ *
|
|||
* / _||||| -:- |||||- \ * |
|||
* | | \\\ - /// | | *
|
|||
* | \_| ''\---/'' |_/ | * |
|||
* \ .-\__ '-' ___/-. / * |
|||
* ___'. .' /--.--\ `. .'___ * |
|||
* ."" '< `.___\_<|>_/___.' >' "". * |
|||
* | | : `- \`.;`\ _ /`;.`/ - ` : | | * |
|||
* \ \ `_. \_ __\ /__ _/ .-` / / * |
|||
* =====`-.____`.___ \_____/___.-`___.-'===== * |
|||
* `=---=' * |
|||
* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * |
|||
*********__佛祖保佑__永无BUG__验收通过__钞票多多__********* |
|||
*********************************************************/ |
|||
package com.yxt.supervise.portal.biz.storeindex; |
|||
|
|||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
|||
import org.springframework.stereotype.Service; |
|||
|
|||
/** |
|||
* Project: yxt_supervise <br/> |
|||
* File: StoreIndexService.java <br/> |
|||
* Class: com.yxt.supervise.portal.biz.storeindex.StoreIndexService <br/> |
|||
* Description: <描述类的功能>. <br/> |
|||
* Copyright: Copyright (c) 2011 <br/> |
|||
* Company: https://gitee.com/liuzp315 <br/>
|
|||
* Makedate: 2022/12/1 22:45 <br/> |
|||
* |
|||
* @author liupopo |
|||
* @version 1.0 |
|||
* @since 1.0 |
|||
*/ |
|||
@Service |
|||
public class StoreIndexService extends ServiceImpl<StoreIndexMapper, StoreIndex> { |
|||
} |
Loading…
Reference in new issue