Merge remote-tracking branch 'origin/master'

zhc4dev
赵玉瑞 2 years ago
commit 56ae305a96
  1. 25
      ant-design-vue-jeecg/src/views/customermeasure/admin/CustomerMeasureList.vue
  2. 36
      ant-design-vue-jeecg/src/views/customermeasure/admin/modules/CustomerMeasureForm.vue
  3. 11
      ant-design-vue-jeecg/src/views/customerpayment/admin/CustomerPaymentList.vue
  4. 24
      ant-design-vue-jeecg/src/views/customerpayment/admin/modules/CustomerPaymentForm.vue
  5. 15
      ant-design-vue-jeecg/src/views/customerreceivingaddress/admin/CustomerReceivingAddressList.vue
  6. 35
      ant-design-vue-jeecg/src/views/customerreceivingaddress/admin/modules/CustomerReceivingAddressForm.vue
  7. 177
      ant-design-vue-jeecg/src/views/zybank/admin/ZybankList.vue
  8. 109
      ant-design-vue-jeecg/src/views/zybank/admin/modules/ZybankForm.vue
  9. 60
      ant-design-vue-jeecg/src/views/zybank/admin/modules/ZybankModal.vue
  10. 84
      ant-design-vue-jeecg/src/views/zybank/admin/modules/ZybankModal__Style#Drawer.vue
  11. 176
      jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/customermeasure/entity/CustomerMeasure.java
  12. 16
      jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/customerpayment/controller/CustomerPaymentController.java
  13. 52
      jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/customerpayment/entity/CustomerPayment.java
  14. 58
      jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/customerreceivingaddress/entity/CustomerReceivingAddress.java
  15. 172
      jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/zybank/controller/ZybankController.java
  16. 67
      jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/zybank/entity/Zybank.java
  17. 19
      jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/zybank/mapper/ZybankMapper.java
  18. 5
      jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/zybank/mapper/xml/ZybankMapper.xml
  19. 16
      jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/zybank/service/IZybankService.java
  20. 21
      jeecg-boot/jeecg-boot-module-system/src/main/java/org/jeecg/modules/demo/zybank/service/impl/ZybankServiceImpl.java

@ -11,18 +11,18 @@
</a-col>
<a-col :xl="6" :lg="7" :md="8" :sm="24">
<a-form-item label="量体店铺">
<j-select-depart placeholder="请选择量体店铺" v-model="queryParam.storeId"/>
<j-search-select-tag placeholder="请选择量体店铺" v-model="queryParam.storeId" dict="sys_depart,depart_name,id"/>
</a-form-item>
</a-col>
<template v-if="toggleSearchStatus">
<a-col :xl="6" :lg="7" :md="8" :sm="24">
<a-form-item label="量体设备">
<j-search-select-tag placeholder="请选择量体设备" v-model="queryParam.deviceId" dict="se_equipmenttype,name,id"/>
<j-search-select-tag placeholder="请选择量体设备" v-model="queryParam.deviceId" dict="zy_devicetypettype,name,id"/>
</a-form-item>
</a-col>
<a-col :xl="6" :lg="7" :md="8" :sm="24">
<a-form-item label="量体师">
<j-select-user-by-dep placeholder="请选择量体师" v-model="queryParam.measurerId"/>
<j-search-select-tag placeholder="请选择量体师" v-model="queryParam.measurerId" dict="sys_user,realname,id"/>
</a-form-item>
</a-col>
</template>
@ -103,19 +103,20 @@
<a @click="handleEdit(record)">编辑</a>
<a-divider type="vertical" />
<a-dropdown>
<a class="ant-dropdown-link">更多 <a-icon type="down" /></a>
<a-menu slot="overlay">
<a-menu-item>
<!-- <a-dropdown>-->
<!--<a class="ant-dropdown-link">更多 <a-icon type="down" /></a>-->
<!--<a-menu slot="overlay">-->
<!--<a-menu-item>-->
<a @click="handleDetail(record)">详情</a>
</a-menu-item>
<a-menu-item>
<a-divider type="vertical" />
<!-- </a-menu-item>
<a-menu-item>-->
<a-popconfirm title="确定删除吗?" @confirm="() => handleDelete(record.id)">
<a>删除</a>
</a-popconfirm>
</a-menu-item>
</a-menu>
</a-dropdown>
<!-- </a-menu-item>-->
<!-- </a-menu>-->
<!-- </a-dropdown>-->
</span>
</a-table>

@ -97,18 +97,42 @@
</a-form-model-item>
</a-col>
<a-col :span="24">
<a-form-model-item label="量体店铺" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="storeId">
<j-select-depart v-model="model.storeId" multi />
<a-form-model-item label="量体店铺" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="storename">
<j-popup
v-model="model.storename"
field="storename"
org-fields="id,depart_name"
dest-fields="storeId,storename"
code="fiandxs"
:multi="true"
@input="popupCallback"
/>
</a-form-model-item>
</a-col>
<a-col :span="24">
<a-form-model-item label="量体设备" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="deviceId">
<j-search-select-tag v-model="model.deviceId" dict="se_equipmenttype,name,id" />
<a-form-model-item label="量体设备" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="devicename">
<j-popup
v-model="model.devicename"
field="devicename"
org-fields="id,name"
dest-fields="deviceId,devicename"
code="findsb"
:multi="true"
@input="popupCallback"
/>
</a-form-model-item>
</a-col>
<a-col :span="24">
<a-form-model-item label="量体师" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="measurerId">
<j-select-user-by-dep v-model="model.measurerId" />
<a-form-model-item label="量体师" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="measurername">
<j-popup
v-model="model.measurername"
field="measurername"
org-fields="id,realname"
dest-fields="measurerId,measurername"
code="findlts"
:multi="true"
@input="popupCallback"
/>
</a-form-model-item>
</a-col>
</a-row>

@ -22,7 +22,7 @@
</a-col>
<a-col :xl="6" :lg="7" :md="8" :sm="24">
<a-form-item label="开户银行">
<a-input placeholder="请输入开户银行" v-model="queryParam.bankDeposit"></a-input>
<j-search-select-tag placeholder="请选择开户银行" v-model="queryParam.bankDeposit" dict="zybank,bankname,id"/>
</a-form-item>
</a-col>
</template>
@ -174,7 +174,12 @@
{
title:'开户银行',
align:"center",
dataIndex: 'bankDeposit'
dataIndex: 'bankDeposit_dictText'
},
{
title:'开户支行',
align:"center",
dataIndex: 'bankzh'
},
{
title:'创建人',
@ -201,7 +206,7 @@
deleteBatch: "/customerpayment/customerPayment/deleteBatch",
exportXlsUrl: "/customerpayment/customerPayment/exportXls",
importExcelUrl: "customerpayment/customerPayment/importExcel",
},
dictOptions:{},
superFieldList:[],

@ -26,11 +26,26 @@
<a-input v-model="model.accountNo" placeholder="请输入账号/卡号" ></a-input>
</a-form-model-item>
</a-col>
<a-col :span="24" v-if="this.model.accountNo==2">
<a-form-model-item label="开户银行" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="bankDeposit">
<a-input v-model="model.bankDeposit" placeholder="请输入开户银行" disabled ></a-input>
<a-col :span="24" v-if="this.model.paymentType==2">
<a-form-model-item label="开户银行" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="bankname">
<j-popup
v-model="model.bankname"
field="bankname"
org-fields="id,bankname,bankkh"
dest-fields="bankDeposit,bankname,bankzh"
code="findyh"
:multi="true"
@input="popupCallback"
/>
</a-form-model-item>
</a-col>
<a-col :span="24" v-if="this.model.paymentType==2">
<a-form-model-item label="开户支行" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="bankzh">
<a-textarea v-model="model.bankzh" rows="4" placeholder="请输入开户支行" disabled/>
</a-form-model-item>
</a-col>
</a-row>
</a-form-model>
</j-form-container>
@ -57,6 +72,7 @@
data () {
return {
model:{
paymentType:2
},
labelCol: {
xs: { span: 24 },
@ -119,7 +135,7 @@
that.confirmLoading = false;
})
}
})
},
popupCallback(value,row){

@ -101,19 +101,20 @@
<a @click="handleEdit(record)">编辑</a>
<a-divider type="vertical" />
<a-dropdown>
<!-- <a-dropdown>
<a class="ant-dropdown-link">更多 <a-icon type="down" /></a>
<a-menu slot="overlay">
<a-menu-item>
<a-menu-item>-->
<a @click="handleDetail(record)">详情</a>
</a-menu-item>
<a-menu-item>
<a-divider type="vertical" />
<!-- </a-menu-item>
<a-menu-item>-->
<a-popconfirm title="确定删除吗?" @confirm="() => handleDelete(record.id)">
<a>删除</a>
</a-popconfirm>
</a-menu-item>
<!-- </a-menu-item>
</a-menu>
</a-dropdown>
</a-dropdown>-->
</span>
</a-table>
@ -209,7 +210,7 @@
deleteBatch: "/customerreceivingaddress/customerReceivingAddress/deleteBatch",
exportXlsUrl: "/customerreceivingaddress/customerReceivingAddress/exportXls",
importExcelUrl: "customerreceivingaddress/customerReceivingAddress/importExcel",
},
dictOptions:{},
pcaData:'',

@ -28,7 +28,7 @@
<a-row>
<a-col :span="24">
<a-form-model-item label="地址" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="address">
<a-textarea style="max-width:none; width: 200%" v-model="model.address" rows="4" placeholder="请输入地址" />
<a-textarea style="max-width:none; width: 200% ;height: 55px" v-model="model.address" rows="4" placeholder="请输入地址" />
</a-form-model-item>
</a-col>
</a-row>
@ -76,6 +76,7 @@
import { httpAction, getAction } from '@/api/manage'
import { validateDuplicateValue } from '@/utils/util'
import store from '@/store'
export default {
name: 'CustomerReceivingAddressForm',
@ -92,6 +93,8 @@
data () {
return {
model:{
mobile : store.getters.userInfo.phone,
receiver : store.getters.userInfo.realname
},
labelCol: {
xs: { span: 24 },
@ -103,14 +106,25 @@
},
confirmLoading: false,
validatorRules: {
zipCode: [
{ required: true, message: '请输入邮编!'},
{ pattern: /^[1-9]\d{5}$/, message: '请输入正确的邮政编码!'},
],
mobile: [
{ required: true, message: '请输入联系电话!'},
{ pattern: /^1[3456789]\d{9}$/, message: '请输入正确的手机号码!'},
],
zipCode: [
{ required: true, message: '请输入邮编!'},
{ pattern: /^[1-9]\d{5}$/, message: '请输入正确的邮政编码!'},
],
receiver: [
{ required: true, message: '请输入收货人!'},
],
mobile: [
{ required: true, message: '请输入联系电话!'},
{ pattern: /^1[3456789]\d{9}$/, message: '请输入正确的手机号码!'},
],
sort: [
{ required: false},
{ validator: (rule, value, callback) => validateDuplicateValue('customer_receiving_address', 'sort', value, this.model.id, callback)},
],
labelcl: [
{ required: false},
{ validator: (rule, value, callback) => validateDuplicateValue('customer_receiving_address', 'labelcl', value, this.model.id, callback)},
],
},
url: {
add: "/customerreceivingaddress/customerReceivingAddress/add",
@ -125,6 +139,7 @@
},
},
created () {
console.log(store.getters.userInfo)
//model
this.modelDefault = JSON.parse(JSON.stringify(this.model));
},
@ -162,7 +177,7 @@
that.confirmLoading = false;
})
}
})
},
popupCallback(value,row){

@ -0,0 +1,177 @@
<template>
<a-card :bordered="false">
<!-- 查询区域 -->
<div class="table-page-search-wrapper">
<a-form layout="inline" @keyup.enter.native="searchQuery">
<a-row :gutter="24">
</a-row>
</a-form>
</div>
<!-- 查询区域-END -->
<!-- 操作按钮区域 -->
<div class="table-operator">
<a-button @click="handleAdd" type="primary" icon="plus">新增</a-button>
<a-button type="primary" icon="download" @click="handleExportXls('银行信息表')">导出</a-button>
<a-upload name="file" :showUploadList="false" :multiple="false" :headers="tokenHeader" :action="importExcelUrl" @change="handleImportExcel">
<a-button type="primary" icon="import">导入</a-button>
</a-upload>
<!-- 高级查询区域 -->
<j-super-query :fieldList="superFieldList" ref="superQueryModal" @handleSuperQuery="handleSuperQuery"></j-super-query>
<a-dropdown v-if="selectedRowKeys.length > 0">
<a-menu slot="overlay">
<a-menu-item key="1" @click="batchDel"><a-icon type="delete"/>删除</a-menu-item>
</a-menu>
<a-button style="margin-left: 8px"> 批量操作 <a-icon type="down" /></a-button>
</a-dropdown>
</div>
<!-- table区域-begin -->
<div>
<div class="ant-alert ant-alert-info" style="margin-bottom: 16px;">
<i class="anticon anticon-info-circle ant-alert-icon"></i> 已选择 <a style="font-weight: 600">{{ selectedRowKeys.length }}</a>
<a style="margin-left: 24px" @click="onClearSelected">清空</a>
</div>
<a-table
ref="table"
size="middle"
:scroll="{x:true}"
bordered
rowKey="id"
:columns="columns"
:dataSource="dataSource"
:pagination="ipagination"
:loading="loading"
:rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}"
class="j-table-force-nowrap"
@change="handleTableChange">
<template slot="htmlSlot" slot-scope="text">
<div v-html="text"></div>
</template>
<template slot="imgSlot" slot-scope="text">
<span v-if="!text" style="font-size: 12px;font-style: italic;">无图片</span>
<img v-else :src="getImgView(text)" height="25px" alt="" style="max-width:80px;font-size: 12px;font-style: italic;"/>
</template>
<template slot="fileSlot" slot-scope="text">
<span v-if="!text" style="font-size: 12px;font-style: italic;">无文件</span>
<a-button
v-else
:ghost="true"
type="primary"
icon="download"
size="small"
@click="downloadFile(text)">
下载
</a-button>
</template>
<span slot="action" slot-scope="text, record">
<a @click="handleEdit(record)">编辑</a>
<a-divider type="vertical" />
<a-dropdown>
<a class="ant-dropdown-link">更多 <a-icon type="down" /></a>
<a-menu slot="overlay">
<a-menu-item>
<a @click="handleDetail(record)">详情</a>
</a-menu-item>
<a-menu-item>
<a-popconfirm title="确定删除吗?" @confirm="() => handleDelete(record.id)">
<a>删除</a>
</a-popconfirm>
</a-menu-item>
</a-menu>
</a-dropdown>
</span>
</a-table>
</div>
<zybank-modal ref="modalForm" @ok="modalFormOk"></zybank-modal>
</a-card>
</template>
<script>
import '@/assets/less/TableExpand.less'
import { mixinDevice } from '@/utils/mixin'
import { JeecgListMixin } from '@/mixins/JeecgListMixin'
import ZybankModal from './modules/ZybankModal'
export default {
name: 'ZybankList',
mixins:[JeecgListMixin, mixinDevice],
components: {
ZybankModal
},
data () {
return {
description: '银行信息表管理页面',
//
columns: [
{
title: '#',
dataIndex: '',
key:'rowIndex',
width:60,
align:"center",
customRender:function (t,r,index) {
return parseInt(index)+1;
}
},
{
title:'银行名称',
align:"center",
dataIndex: 'bankname'
},
{
title:'开户行',
align:"center",
dataIndex: 'bankkh'
},
{
title: '操作',
dataIndex: 'action',
align:"center",
fixed:"right",
width:147,
scopedSlots: { customRender: 'action' }
}
],
url: {
list: "/zybank/zybank/list",
delete: "/zybank/zybank/delete",
deleteBatch: "/zybank/zybank/deleteBatch",
exportXlsUrl: "/zybank/zybank/exportXls",
importExcelUrl: "zybank/zybank/importExcel",
},
dictOptions:{},
superFieldList:[],
}
},
created() {
this.getSuperFieldList();
},
computed: {
importExcelUrl: function(){
return `${window._CONFIG['domianURL']}/${this.url.importExcelUrl}`;
},
},
methods: {
initDictConfig(){
},
getSuperFieldList(){
let fieldList=[];
fieldList.push({type:'string',value:'bankname',text:'银行名称',dictCode:''})
fieldList.push({type:'Text',value:'bankkh',text:'开户行',dictCode:''})
this.superFieldList = fieldList
}
}
}
</script>
<style scoped>
@import '~@assets/less/common.less';
</style>

@ -0,0 +1,109 @@
<template>
<a-spin :spinning="confirmLoading">
<j-form-container :disabled="formDisabled">
<a-form-model ref="form" :model="model" :rules="validatorRules" slot="detail">
<a-row>
<a-col :span="24">
<a-form-model-item label="银行名称" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="bankname">
<a-input v-model="model.bankname" placeholder="请输入银行名称" ></a-input>
</a-form-model-item>
</a-col>
<a-col :span="24">
<a-form-model-item label="开户行" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="bankkh">
<a-textarea v-model="model.bankkh" rows="4" placeholder="请输入开户行" />
</a-form-model-item>
</a-col>
</a-row>
</a-form-model>
</j-form-container>
</a-spin>
</template>
<script>
import { httpAction, getAction } from '@/api/manage'
import { validateDuplicateValue } from '@/utils/util'
export default {
name: 'ZybankForm',
components: {
},
props: {
//
disabled: {
type: Boolean,
default: false,
required: false
}
},
data () {
return {
model:{
},
labelCol: {
xs: { span: 24 },
sm: { span: 5 },
},
wrapperCol: {
xs: { span: 24 },
sm: { span: 16 },
},
confirmLoading: false,
validatorRules: {
},
url: {
add: "/zybank/zybank/add",
edit: "/zybank/zybank/edit",
queryById: "/zybank/zybank/queryById"
}
}
},
computed: {
formDisabled(){
return this.disabled
},
},
created () {
//model
this.modelDefault = JSON.parse(JSON.stringify(this.model));
},
methods: {
add () {
this.edit(this.modelDefault);
},
edit (record) {
this.model = Object.assign({}, record);
this.visible = true;
},
submitForm () {
const that = this;
//
this.$refs.form.validate(valid => {
if (valid) {
that.confirmLoading = true;
let httpurl = '';
let method = '';
if(!this.model.id){
httpurl+=this.url.add;
method = 'post';
}else{
httpurl+=this.url.edit;
method = 'put';
}
httpAction(httpurl,this.model,method).then((res)=>{
if(res.success){
that.$message.success(res.message);
that.$emit('ok');
}else{
that.$message.warning(res.message);
}
}).finally(() => {
that.confirmLoading = false;
})
}
})
},
}
}
</script>

@ -0,0 +1,60 @@
<template>
<j-modal
:title="title"
:width="width"
:visible="visible"
switchFullscreen
@ok="handleOk"
:okButtonProps="{ class:{'jee-hidden': disableSubmit} }"
@cancel="handleCancel"
cancelText="关闭">
<zybank-form ref="realForm" @ok="submitCallback" :disabled="disableSubmit"></zybank-form>
</j-modal>
</template>
<script>
import ZybankForm from './ZybankForm'
export default {
name: 'ZybankModal',
components: {
ZybankForm
},
data () {
return {
title:'',
width:800,
visible: false,
disableSubmit: false
}
},
methods: {
add () {
this.visible=true
this.$nextTick(()=>{
this.$refs.realForm.add();
})
},
edit (record) {
this.visible=true
this.$nextTick(()=>{
this.$refs.realForm.edit(record);
})
},
close () {
this.$emit('close');
this.visible = false;
},
handleOk () {
this.$refs.realForm.submitForm();
},
submitCallback(){
this.$emit('ok');
this.visible = false;
},
handleCancel () {
this.close()
}
}
}
</script>

@ -0,0 +1,84 @@
<template>
<a-drawer
:title="title"
:width="width"
placement="right"
:closable="false"
@close="close"
destroyOnClose
:visible="visible">
<zybank-form ref="realForm" @ok="submitCallback" :disabled="disableSubmit" normal></zybank-form>
<div class="drawer-footer">
<a-button @click="handleCancel" style="margin-bottom: 0;">关闭</a-button>
<a-button v-if="!disableSubmit" @click="handleOk" type="primary" style="margin-bottom: 0;">提交</a-button>
</div>
</a-drawer>
</template>
<script>
import ZybankForm from './ZybankForm'
export default {
name: 'ZybankModal',
components: {
ZybankForm
},
data () {
return {
title:"操作",
width:800,
visible: false,
disableSubmit: false
}
},
methods: {
add () {
this.visible=true
this.$nextTick(()=>{
this.$refs.realForm.add();
})
},
edit (record) {
this.visible=true
this.$nextTick(()=>{
this.$refs.realForm.edit(record);
});
},
close () {
this.$emit('close');
this.visible = false;
},
submitCallback(){
this.$emit('ok');
this.visible = false;
},
handleOk () {
this.$refs.realForm.submitForm();
},
handleCancel () {
this.close()
}
}
}
</script>
<style lang="less" scoped>
/** Button按钮间距 */
.ant-btn {
margin-left: 30px;
margin-bottom: 30px;
float: right;
}
.drawer-footer{
position: absolute;
bottom: -8px;
width: 100%;
border-top: 1px solid #e8e8e8;
padding: 10px 16px;
text-align: right;
left: 0;
background: #fff;
border-radius: 0 0 2px 2px;
}
</style>

@ -32,38 +32,38 @@ import lombok.experimental.Accessors;
public class CustomerMeasure implements Serializable {
private static final long serialVersionUID = 1L;
/**主键*/
@TableId(type = IdType.ASSIGN_ID)
/**主键*/
@TableId(type = IdType.ASSIGN_ID)
@ApiModelProperty(value = "主键")
private String id;
/**创建人*/
private java.lang.String id;
/**创建人*/
@ApiModelProperty(value = "创建人")
private String createBy;
/**创建日期*/
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
private java.lang.String createBy;
/**创建日期*/
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
@ApiModelProperty(value = "创建日期")
private Date createTime;
/**更新人*/
private java.util.Date createTime;
/**更新人*/
@ApiModelProperty(value = "更新人")
private String updateBy;
/**更新日期*/
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
private java.lang.String updateBy;
/**更新日期*/
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
@ApiModelProperty(value = "更新日期")
private Date updateTime;
/**所属部门*/
private java.util.Date updateTime;
/**所属部门*/
@ApiModelProperty(value = "所属部门")
private String sysOrgCode;
/**用户*/
@Excel(name = "用户", width = 15, dictTable = "sys_user", dicText = "realname", dicCode = "id")
@Dict(dictTable = "sys_user", dicText = "realname", dicCode = "id")
private java.lang.String sysOrgCode;
/**用户*/
@Excel(name = "用户", width = 15, dictTable = "sys_user", dicText = "realname", dicCode = "id")
@Dict(dictTable = "sys_user", dicText = "realname", dicCode = "id")
@ApiModelProperty(value = "用户")
private String userId;
/**用户名*/
@Excel(name = "用户", width = 15)
@ApiModelProperty(value = "用户")
private String username;
private java.lang.String userId;
/**用户*/
@Excel(name = "用户", width = 15)
@ApiModelProperty(value = "用户")
private java.lang.String username;
/**登录名*/
@Excel(name = "登录名", width = 15)
@ApiModelProperty(value = "登录名")
@ -72,82 +72,94 @@ public class CustomerMeasure implements Serializable {
@Excel(name = "排序", width = 15)
@ApiModelProperty(value = "排序")
private java.lang.Integer sort;
/**身高(厘米)*/
@Excel(name = "身高(厘米)", width = 15)
/**身高(厘米)*/
@Excel(name = "身高(厘米)", width = 15)
@ApiModelProperty(value = "身高(厘米)")
private Double height;
/**体重(千克)*/
@Excel(name = "体重(千克)", width = 15)
private java.lang.Double height;
/**体重(千克)*/
@Excel(name = "体重(千克)", width = 15)
@ApiModelProperty(value = "体重(千克)")
private Double weight;
/**下摆(厘米)*/
@Excel(name = "下摆(厘米)", width = 15)
private java.lang.Double weight;
/**下摆(厘米)*/
@Excel(name = "下摆(厘米)", width = 15)
@ApiModelProperty(value = "下摆(厘米)")
private Double hem;
/**袖口(厘米)*/
@Excel(name = "袖口(厘米)", width = 15)
private java.lang.Double hem;
/**袖口(厘米)*/
@Excel(name = "袖口(厘米)", width = 15)
@ApiModelProperty(value = "袖口(厘米)")
private Double cuff;
/**袖长(厘米)*/
@Excel(name = "袖长(厘米)", width = 15)
private java.lang.Double cuff;
/**袖长(厘米)*/
@Excel(name = "袖长(厘米)", width = 15)
@ApiModelProperty(value = "袖长(厘米)")
private Double sleeveLength;
/**胸围(厘米)*/
@Excel(name = "胸围(厘米)", width = 15)
private java.lang.Double sleeveLength;
/**胸围(厘米)*/
@Excel(name = "胸围(厘米)", width = 15)
@ApiModelProperty(value = "胸围(厘米)")
private Double bust;
/**腰围(厘米)*/
@Excel(name = "腰围(厘米)", width = 15)
private java.lang.Double bust;
/**腰围(厘米)*/
@Excel(name = "腰围(厘米)", width = 15)
@ApiModelProperty(value = "腰围(厘米)")
private Double theWaist;
/**肩宽(厘米)*/
@Excel(name = "肩宽(厘米)", width = 15)
private java.lang.Double theWaist;
/**肩宽(厘米)*/
@Excel(name = "肩宽(厘米)", width = 15)
@ApiModelProperty(value = "肩宽(厘米)")
private Double shoulderWidth;
/**前身长(厘米)*/
@Excel(name = "前身长(厘米)", width = 15)
private java.lang.Double shoulderWidth;
/**前身长(厘米)*/
@Excel(name = "前身长(厘米)", width = 15)
@ApiModelProperty(value = "前身长(厘米)")
private Double forebodyLength;
/**领围(厘米)*/
@Excel(name = "领围(厘米)", width = 15)
private java.lang.Double forebodyLength;
/**领围(厘米)*/
@Excel(name = "领围(厘米)", width = 15)
@ApiModelProperty(value = "领围(厘米)")
private Double neck;
/**臀围(厘米)*/
@Excel(name = "臀围(厘米)", width = 15)
private java.lang.Double neck;
/**臀围(厘米)*/
@Excel(name = "臀围(厘米)", width = 15)
@ApiModelProperty(value = "臀围(厘米)")
private Double hipline;
/**衣长*/
@Excel(name = "衣长", width = 15)
private java.lang.Double hipline;
/**衣长*/
@Excel(name = "衣长", width = 15)
@ApiModelProperty(value = "衣长")
private Double length;
/**胸距*/
@Excel(name = "胸距", width = 15)
private java.lang.Double length;
/**胸距*/
@Excel(name = "胸距", width = 15)
@ApiModelProperty(value = "胸距")
private Double sternalDistance;
/**量体方式*/
@Excel(name = "量体方式", width = 15, dicCode = "ctfs")
@Dict(dicCode = "ctfs")
private java.lang.Double sternalDistance;
/**量体方式*/
@Excel(name = "量体方式", width = 15, dicCode = "ctfs")
@Dict(dicCode = "ctfs")
@ApiModelProperty(value = "量体方式")
private String measurementMethod;
/**量体店铺*/
@Excel(name = "量体店铺", width = 15, dictTable = "sys_depart", dicText = "depart_name", dicCode = "id")
@Dict(dictTable = "sys_depart", dicText = "depart_name", dicCode = "id")
private java.lang.String measurementMethod;
/**量体店铺*/
@Excel(name = "量体店铺", width = 15, dictTable = "sys_depart", dicText = "depart_name", dicCode = "id")
@Dict(dictTable = "sys_depart", dicText = "depart_name", dicCode = "id")
@ApiModelProperty(value = "量体店铺")
private java.lang.String storeId;
/**量体店铺*/
@Excel(name = "量体店铺", width = 15)
@ApiModelProperty(value = "量体店铺")
private String storeId;
/**量体设备*/
@Excel(name = "量体设备", width = 15, dictTable = "se_equipmenttype", dicText = "name", dicCode = "id")
@Dict(dictTable = "se_equipmenttype", dicText = "name", dicCode = "id")
private java.lang.String storename;
/**量体设备*/
@Excel(name = "量体设备", width = 15, dictTable = "zy_devicetype", dicText = "name", dicCode = "id")
@Dict(dictTable = "zy_devicetype", dicText = "name", dicCode = "id")
@ApiModelProperty(value = "量体设备")
private String deviceId;
/**量体师*/
@Excel(name = "量体师", width = 15, dictTable = "sys_user", dicText = "realname", dicCode = "username")
@Dict(dictTable = "sys_user", dicText = "realname", dicCode = "username")
private java.lang.String deviceId;
/**量体设备*/
@Excel(name = "量体设备", width = 15)
@ApiModelProperty(value = "量体设备")
private java.lang.String devicename;
/**量体师*/
@Excel(name = "量体师", width = 15, dictTable = "sys_user", dicText = "realname", dicCode = "id")
@Dict(dictTable = "sys_user", dicText = "realname", dicCode = "id")
@ApiModelProperty(value = "量体师")
private java.lang.String measurerId;
/**量体师*/
@Excel(name = "量体师", width = 15)
@ApiModelProperty(value = "量体师")
private String measurerId;
/**量体时间*/
@Excel(name = "量体时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
private java.lang.String measurername;
/**量体时间*/
@Excel(name = "量体时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
@ApiModelProperty(value = "量体时间")
private Date measurementTime;
private java.util.Date measurementTime;
}

@ -50,7 +50,7 @@ import org.jeecg.common.aspect.annotation.AutoLog;
public class CustomerPaymentController extends JeecgController<CustomerPayment, ICustomerPaymentService> {
@Autowired
private ICustomerPaymentService customerPaymentService;
/**
* 分页列表查询
*
@ -72,7 +72,7 @@ public class CustomerPaymentController extends JeecgController<CustomerPayment,
IPage<CustomerPayment> pageList = customerPaymentService.page(page, queryWrapper);
return Result.OK(pageList);
}
/**
* 添加
*
@ -86,7 +86,7 @@ public class CustomerPaymentController extends JeecgController<CustomerPayment,
if(customerPayment.getPaymentType().equals("2")){
BankUtil bankUtil = new BankUtil();
if (bankUtil.checkBankCard(customerPayment.getAccountNo())){
customerPayment.setBankDeposit(bankUtil.getNameOfBank(customerPayment.getAccountNo()));
/*customerPayment.setBankDeposit(bankUtil.getNameOfBank(customerPayment.getAccountNo()));*/
customerPaymentService.save(customerPayment);
return Result.OK("添加成功!你的银行开是"+bankUtil.getNameOfBank(customerPayment.getAccountNo()));
}else {
@ -97,7 +97,7 @@ public class CustomerPaymentController extends JeecgController<CustomerPayment,
return Result.OK("添加成功!");
}
}
/**
* 编辑
*
@ -112,7 +112,7 @@ public class CustomerPaymentController extends JeecgController<CustomerPayment,
if(customerPayment.getPaymentType().equals("2")){
BankUtil bankUtil = new BankUtil();
if (bankUtil.checkBankCard(customerPayment.getAccountNo())){
customerPayment.setBankDeposit(bankUtil.getNameOfBank(customerPayment.getAccountNo()));
/*customerPayment.setBankDeposit(bankUtil.getNameOfBank(customerPayment.getAccountNo()));*/
customerPaymentService.updateById(customerPayment);
return Result.OK("添加成功!你的银行开是"+bankUtil.getNameOfBank(customerPayment.getAccountNo()));
}else {
@ -123,7 +123,7 @@ public class CustomerPaymentController extends JeecgController<CustomerPayment,
return Result.OK("编辑成功!");
}
}
/**
* 通过id删除
*
@ -137,7 +137,7 @@ public class CustomerPaymentController extends JeecgController<CustomerPayment,
customerPaymentService.removeById(id);
return Result.OK("删除成功!");
}
/**
* 批量删除
*
@ -151,7 +151,7 @@ public class CustomerPaymentController extends JeecgController<CustomerPayment,
this.customerPaymentService.removeByIds(Arrays.asList(ids.split(",")));
return Result.OK("批量删除成功!");
}
/**
* 通过id查询
*

@ -31,49 +31,59 @@ import lombok.experimental.Accessors;
public class CustomerPayment implements Serializable {
private static final long serialVersionUID = 1L;
/**主键*/
@TableId(type = IdType.ASSIGN_ID)
/**主键*/
@TableId(type = IdType.ASSIGN_ID)
@ApiModelProperty(value = "主键")
private java.lang.String id;
/**创建人*/
/**创建人*/
@ApiModelProperty(value = "创建人")
private java.lang.String createBy;
/**创建日期*/
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
/**创建日期*/
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
@ApiModelProperty(value = "创建日期")
private java.util.Date createTime;
/**更新人*/
/**更新人*/
@ApiModelProperty(value = "更新人")
private java.lang.String updateBy;
/**更新日期*/
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
/**更新日期*/
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
@ApiModelProperty(value = "更新日期")
private java.util.Date updateTime;
/**所属部门*/
/**所属部门*/
@ApiModelProperty(value = "所属部门")
private java.lang.String sysOrgCode;
/**用户*/
@Excel(name = "用户", width = 15, dictTable = "sys_user", dicText = "realname", dicCode = "id")
@Dict(dictTable = "sys_user", dicText = "realname", dicCode = "id")
/**用户*/
@Excel(name = "用户", width = 15, dictTable = "sys_user", dicText = "realname", dicCode = "id")
@Dict(dictTable = "sys_user", dicText = "realname", dicCode = "id")
@ApiModelProperty(value = "用户")
private java.lang.String userId;
/**用户*/
@Excel(name = "用户", width = 15)
/**用户*/
@Excel(name = "用户", width = 15)
@ApiModelProperty(value = "用户")
private java.lang.String username;
/**支付类型*/
@Excel(name = "支付类型", width = 15, dicCode = "zflx")
@Dict(dicCode = "zflx")
/**支付类型*/
@Excel(name = "支付类型", width = 15, dicCode = "zflx")
@Dict(dicCode = "zflx")
@ApiModelProperty(value = "支付类型")
private java.lang.String paymentType;
/**账号/卡号*/
@Excel(name = "账号/卡号", width = 15)
/**账号/卡号*/
@Excel(name = "账号/卡号", width = 15)
@ApiModelProperty(value = "账号/卡号")
private java.lang.String accountNo;
/**开户银行*/
@Excel(name = "开户银行", width = 15)
/**开户银行*/
@Excel(name = "开户银行", width = 15, dictTable = "zybank", dicText = "bankname", dicCode = "id")
@Dict(dictTable = "zybank", dicText = "bankname", dicCode = "id")
@ApiModelProperty(value = "开户银行")
private java.lang.String bankDeposit;
/**开户银行*/
@Excel(name = "开户银行", width = 15)
@ApiModelProperty(value = "开户银行")
private java.lang.String bankname;
/**开户支行*/
@Excel(name = "开户支行", width = 15)
@ApiModelProperty(value = "开户支行")
private java.lang.String bankzh;
}

@ -31,65 +31,65 @@ import lombok.experimental.Accessors;
public class CustomerReceivingAddress implements Serializable {
private static final long serialVersionUID = 1L;
/**主键*/
@TableId(type = IdType.ASSIGN_ID)
/**主键*/
@TableId(type = IdType.ASSIGN_ID)
@ApiModelProperty(value = "主键")
private java.lang.String id;
/**创建人*/
/**创建人*/
@ApiModelProperty(value = "创建人")
private java.lang.String createBy;
/**创建日期*/
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
/**创建日期*/
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
@ApiModelProperty(value = "创建日期")
private java.util.Date createTime;
/**更新人*/
/**更新人*/
@ApiModelProperty(value = "更新人")
private java.lang.String updateBy;
/**更新日期*/
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
/**更新日期*/
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
@ApiModelProperty(value = "更新日期")
private java.util.Date updateTime;
/**所属部门*/
/**所属部门*/
@ApiModelProperty(value = "所属部门")
private java.lang.String sysOrgCode;
/**用户*/
@Excel(name = "用户", width = 15, dictTable = "sys_user", dicText = "realname", dicCode = "id")
@Dict(dictTable = "sys_user", dicText = "realname", dicCode = "id")
/**用户*/
@Excel(name = "用户", width = 15, dictTable = "sys_user", dicText = "realname", dicCode = "id")
@Dict(dictTable = "sys_user", dicText = "realname", dicCode = "id")
@ApiModelProperty(value = "用户")
private java.lang.String userId;
/**用户*/
@Excel(name = "用户", width = 15)
/**用户*/
@Excel(name = "用户", width = 15)
@ApiModelProperty(value = "用户")
private java.lang.String usernamme;
/**城市*/
@Excel(name = "城市", width = 15)
/**城市*/
@Excel(name = "城市", width = 15)
@ApiModelProperty(value = "城市")
private java.lang.String cityId;
/**地址*/
@Excel(name = "地址", width = 15)
/**地址*/
@Excel(name = "地址", width = 15)
@ApiModelProperty(value = "地址")
private java.lang.String address;
/**邮编*/
@Excel(name = "邮编", width = 15)
/**邮编*/
@Excel(name = "邮编", width = 15)
@ApiModelProperty(value = "邮编")
private java.lang.String zipCode;
/**收货人*/
@Excel(name = "收货人", width = 15)
/**收货人*/
@Excel(name = "收货人", width = 15)
@ApiModelProperty(value = "收货人")
private java.lang.String receiver;
/**联系电话*/
@Excel(name = "联系电话", width = 15)
/**联系电话*/
@Excel(name = "联系电话", width = 15)
@ApiModelProperty(value = "联系电话")
private java.lang.String mobile;
/**排序*/
@Excel(name = "排序", width = 15)
/**排序*/
@Excel(name = "排序", width = 15)
@ApiModelProperty(value = "排序")
private java.lang.Integer sort;
/**标识*/
@Excel(name = "标识", width = 15, dicCode = "shdzbs")
@Dict(dicCode = "shdzbs")
/**标识*/
@Excel(name = "标识", width = 15, dicCode = "shdzbs")
@Dict(dicCode = "shdzbs")
@ApiModelProperty(value = "标识")
private java.lang.String labelcl;
}

@ -0,0 +1,172 @@
package org.jeecg.modules.demo.zybank.controller;
import java.util.Arrays;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.net.URLDecoder;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.jeecg.common.api.vo.Result;
import org.jeecg.common.system.query.QueryGenerator;
import org.jeecg.common.util.oConvertUtils;
import org.jeecg.modules.demo.zybank.entity.Zybank;
import org.jeecg.modules.demo.zybank.service.IZybankService;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import lombok.extern.slf4j.Slf4j;
import org.jeecgframework.poi.excel.ExcelImportUtil;
import org.jeecgframework.poi.excel.def.NormalExcelConstants;
import org.jeecgframework.poi.excel.entity.ExportParams;
import org.jeecgframework.poi.excel.entity.ImportParams;
import org.jeecgframework.poi.excel.view.JeecgEntityExcelView;
import org.jeecg.common.system.base.controller.JeecgController;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;
import org.springframework.web.multipart.MultipartHttpServletRequest;
import org.springframework.web.servlet.ModelAndView;
import com.alibaba.fastjson.JSON;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.jeecg.common.aspect.annotation.AutoLog;
/**
* @Description: 银行信息表
* @Author: jeecg-boot
* @Date: 2022-12-29
* @Version: V1.0
*/
@Api(tags="银行信息表")
@RestController
@RequestMapping("/zybank/zybank")
@Slf4j
public class ZybankController extends JeecgController<Zybank, IZybankService> {
@Autowired
private IZybankService zybankService;
/**
* 分页列表查询
*
* @param zybank
* @param pageNo
* @param pageSize
* @param req
* @return
*/
@AutoLog(value = "银行信息表-分页列表查询")
@ApiOperation(value="银行信息表-分页列表查询", notes="银行信息表-分页列表查询")
@GetMapping(value = "/list")
public Result<?> queryPageList(Zybank zybank,
@RequestParam(name="pageNo", defaultValue="1") Integer pageNo,
@RequestParam(name="pageSize", defaultValue="10") Integer pageSize,
HttpServletRequest req) {
QueryWrapper<Zybank> queryWrapper = QueryGenerator.initQueryWrapper(zybank, req.getParameterMap());
Page<Zybank> page = new Page<Zybank>(pageNo, pageSize);
IPage<Zybank> pageList = zybankService.page(page, queryWrapper);
return Result.OK(pageList);
}
/**
* 添加
*
* @param zybank
* @return
*/
@AutoLog(value = "银行信息表-添加")
@ApiOperation(value="银行信息表-添加", notes="银行信息表-添加")
@PostMapping(value = "/add")
public Result<?> add(@RequestBody Zybank zybank) {
zybankService.save(zybank);
return Result.OK("添加成功!");
}
/**
* 编辑
*
* @param zybank
* @return
*/
@AutoLog(value = "银行信息表-编辑")
@ApiOperation(value="银行信息表-编辑", notes="银行信息表-编辑")
@PutMapping(value = "/edit")
public Result<?> edit(@RequestBody Zybank zybank) {
zybankService.updateById(zybank);
return Result.OK("编辑成功!");
}
/**
* 通过id删除
*
* @param id
* @return
*/
@AutoLog(value = "银行信息表-通过id删除")
@ApiOperation(value="银行信息表-通过id删除", notes="银行信息表-通过id删除")
@DeleteMapping(value = "/delete")
public Result<?> delete(@RequestParam(name="id",required=true) String id) {
zybankService.removeById(id);
return Result.OK("删除成功!");
}
/**
* 批量删除
*
* @param ids
* @return
*/
@AutoLog(value = "银行信息表-批量删除")
@ApiOperation(value="银行信息表-批量删除", notes="银行信息表-批量删除")
@DeleteMapping(value = "/deleteBatch")
public Result<?> deleteBatch(@RequestParam(name="ids",required=true) String ids) {
this.zybankService.removeByIds(Arrays.asList(ids.split(",")));
return Result.OK("批量删除成功!");
}
/**
* 通过id查询
*
* @param id
* @return
*/
@AutoLog(value = "银行信息表-通过id查询")
@ApiOperation(value="银行信息表-通过id查询", notes="银行信息表-通过id查询")
@GetMapping(value = "/queryById")
public Result<?> queryById(@RequestParam(name="id",required=true) String id) {
Zybank zybank = zybankService.getById(id);
if(zybank==null) {
return Result.error("未找到对应数据");
}
return Result.OK(zybank);
}
/**
* 导出excel
*
* @param request
* @param zybank
*/
@RequestMapping(value = "/exportXls")
public ModelAndView exportXls(HttpServletRequest request, Zybank zybank) {
return super.exportXls(request, zybank, Zybank.class, "银行信息表");
}
/**
* 通过excel导入数据
*
* @param request
* @param response
* @return
*/
@RequestMapping(value = "/importExcel", method = RequestMethod.POST)
public Result<?> importExcel(HttpServletRequest request, HttpServletResponse response) {
return super.importExcel(request, response, Zybank.class);
}
}

@ -0,0 +1,67 @@
package org.jeecg.modules.demo.zybank.entity;
import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
/**
* @Description: 银行信息表
* @Author: jeecg-boot
* @Date: 2022-12-29
* @Version: V1.0
*/
@Data
@TableName("zybank")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="zybank对象", description="银行信息表")
public class Zybank implements Serializable {
private static final long serialVersionUID = 1L;
/**主键*/
@TableId(type = IdType.ASSIGN_ID)
@ApiModelProperty(value = "主键")
private String id;
/**创建人*/
@ApiModelProperty(value = "创建人")
private String createBy;
/**创建日期*/
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
@ApiModelProperty(value = "创建日期")
private Date createTime;
/**更新人*/
@ApiModelProperty(value = "更新人")
private String updateBy;
/**更新日期*/
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
@ApiModelProperty(value = "更新日期")
private Date updateTime;
/**所属部门*/
@ApiModelProperty(value = "所属部门")
private String sysOrgCode;
/**银行名称*/
@Excel(name = "银行名称", width = 15)
@ApiModelProperty(value = "银行名称")
private String bankname;
/**开户行*/
@Excel(name = "开户行", width = 15)
@ApiModelProperty(value = "开户行")
private String bankkh;
}

@ -0,0 +1,19 @@
package org.jeecg.modules.demo.zybank.mapper;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.demo.zybank.entity.Zybank;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* @Description: 银行信息表
* @Author: jeecg-boot
* @Date: 2022-12-29
* @Version: V1.0
*/
public interface ZybankMapper extends BaseMapper<Zybank> {
}

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace=".zybank.mapper.ZybankMapper">
</mapper>

@ -0,0 +1,16 @@
package org.jeecg.modules.demo.zybank.service;
import org.jeecg.modules.demo.zybank.entity.Zybank;
import com.baomidou.mybatisplus.extension.service.IService;
/**
* @Description: 银行信息表
* @Author: jeecg-boot
* @Date: 2022-12-29
* @Version: V1.0
*/
public interface IZybankService extends IService<Zybank> {
}

@ -0,0 +1,21 @@
package org.jeecg.modules.demo.zybank.service.impl;
import org.jeecg.modules.demo.zybank.entity.Zybank;
import org.jeecg.modules.demo.zybank.mapper.ZybankMapper;
import org.jeecg.modules.demo.zybank.service.IZybankService;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
/**
* @Description: 银行信息表
* @Author: jeecg-boot
* @Date: 2022-12-29
* @Version: V1.0
*/
@Service
public class ZybankServiceImpl extends ServiceImpl<ZybankMapper, Zybank> implements IZybankService {
}
Loading…
Cancel
Save