Merge remote-tracking branch 'origin/master'
# Conflicts: # fuintBackend/fuint-application/src/main/java/com/fuint/api/fuyou/service/impl/MerchantConfigServiceImpl.java
This commit is contained in:
commit
13a435eb17
@ -28,7 +28,7 @@
|
|||||||
</template>
|
</template>
|
||||||
{{ dataForm.exchangeQuantity }}
|
{{ dataForm.exchangeQuantity }}
|
||||||
</el-descriptions-item>
|
</el-descriptions-item>
|
||||||
<el-descriptions-item v-if="dataForm.orderType != 1">
|
<el-descriptions-item v-if="dataForm.orderType != 1 && dataForm.shippingType">
|
||||||
<template slot="label">
|
<template slot="label">
|
||||||
配送类型
|
配送类型
|
||||||
</template>
|
</template>
|
||||||
@ -46,7 +46,7 @@
|
|||||||
</template>
|
</template>
|
||||||
{{ dataForm.orderNumber }}
|
{{ dataForm.orderNumber }}
|
||||||
</el-descriptions-item>
|
</el-descriptions-item>
|
||||||
|
|
||||||
<el-descriptions-item>
|
<el-descriptions-item>
|
||||||
<template slot="label">
|
<template slot="label">
|
||||||
创建时间
|
创建时间
|
||||||
@ -98,7 +98,7 @@ export default {
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -111,7 +111,8 @@
|
|||||||
<el-table-column label="配送类型" align="center" prop="shippingType">
|
<el-table-column label="配送类型" align="center" prop="shippingType">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-tag v-if="scope.row.shippingType=='门店自提'">{{scope.row.shippingType}}</el-tag>
|
<el-tag v-if="scope.row.shippingType=='门店自提'">{{scope.row.shippingType}}</el-tag>
|
||||||
<el-tag type="success" v-else>{{scope.row.shippingType}}</el-tag>
|
<el-tag type="success" v-if="scope.row.shippingType=='物流配送'">{{scope.row.shippingType}}</el-tag>
|
||||||
|
<el-tag type="info" v-else>非实物兑换</el-tag>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="实付信息" align="center" prop="categoryName" >
|
<el-table-column label="实付信息" align="center" prop="categoryName" >
|
||||||
@ -148,7 +149,7 @@
|
|||||||
处理订单
|
处理订单
|
||||||
</el-button>
|
</el-button>
|
||||||
</template>
|
</template>
|
||||||
<template v-else>
|
<template v-else-if="scope.row.orderStatus!='已完成'">
|
||||||
<el-button
|
<el-button
|
||||||
size="mini"
|
size="mini"
|
||||||
type="text"
|
type="text"
|
||||||
@ -253,8 +254,6 @@ export default {
|
|||||||
this.outComeFlag = !this.outComeFlag; // 切换 v-if,强制重新渲染子组件
|
this.outComeFlag = !this.outComeFlag; // 切换 v-if,强制重新渲染子组件
|
||||||
|
|
||||||
this.openOutcome = true
|
this.openOutcome = true
|
||||||
|
|
||||||
|
|
||||||
},
|
},
|
||||||
handleDetail(data){
|
handleDetail(data){
|
||||||
this.openDetail = true
|
this.openDetail = true
|
||||||
@ -297,6 +296,8 @@ export default {
|
|||||||
this.outComeFlag = false
|
this.outComeFlag = false
|
||||||
this.openOutcome = false
|
this.openOutcome = false
|
||||||
this.dataForm = {}
|
this.dataForm = {}
|
||||||
|
this.getList()
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -117,8 +117,11 @@ public class MerchantConfigServiceImpl extends ServiceImpl<MerchantConfigMapper,
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int insertMerch(MerchantConfig merchantConfig) {
|
public int insertMerch(MerchantConfig merchantConfig) {
|
||||||
|
|
||||||
AccountInfo nowAccountInfo = TokenUtil.getNowAccountInfo();
|
AccountInfo nowAccountInfo = TokenUtil.getNowAccountInfo();
|
||||||
|
Integer storeId = nowAccountInfo.getStoreId();
|
||||||
if (ObjectUtil.isEmpty(merchantConfig.getStoreId())) {
|
if (ObjectUtil.isEmpty(merchantConfig.getStoreId())) {
|
||||||
|
storeId = nowAccountInfo.getStoreId();
|
||||||
merchantConfig.setStoreId(nowAccountInfo.getStoreId());
|
merchantConfig.setStoreId(nowAccountInfo.getStoreId());
|
||||||
}
|
}
|
||||||
int row = 0;
|
int row = 0;
|
||||||
@ -131,7 +134,7 @@ public class MerchantConfigServiceImpl extends ServiceImpl<MerchantConfigMapper,
|
|||||||
}
|
}
|
||||||
merchantConfig.setAppid(FuYouPublicMerchant.appid);
|
merchantConfig.setAppid(FuYouPublicMerchant.appid);
|
||||||
merchantConfig.setAlipayAppid(FuYouPublicMerchant.alipayAppid);
|
merchantConfig.setAlipayAppid(FuYouPublicMerchant.alipayAppid);
|
||||||
MerchantConfig merchantConfig1 = this.selectMeChByIdIsUse(nowAccountInfo.getStoreId());
|
MerchantConfig merchantConfig1 = this.selectMeChByIdIsUse(storeId);
|
||||||
if (ObjectUtil.isEmpty(merchantConfig1)){
|
if (ObjectUtil.isEmpty(merchantConfig1)){
|
||||||
merchantConfig.setIsUse("1");
|
merchantConfig.setIsUse("1");
|
||||||
}else {
|
}else {
|
||||||
|
@ -208,7 +208,7 @@
|
|||||||
and io.id = #{integralOrders.id}
|
and io.id = #{integralOrders.id}
|
||||||
</if>
|
</if>
|
||||||
<if test="integralOrders.storeId != null">
|
<if test="integralOrders.storeId != null">
|
||||||
and io.storeId = #{integralOrders.storeId}
|
and io.store_id = #{integralOrders.storeId}
|
||||||
</if>
|
</if>
|
||||||
<if test="integralOrders.userId != null">
|
<if test="integralOrders.userId != null">
|
||||||
and io.user_id = #{integralOrders.userId}
|
and io.user_id = #{integralOrders.userId}
|
||||||
|
@ -22,6 +22,7 @@
|
|||||||
<result property="pointsObtained" column="points_obtained" jdbcType="VARCHAR"/>
|
<result property="pointsObtained" column="points_obtained" jdbcType="VARCHAR"/>
|
||||||
<result property="pointsRules" column="points_rules" jdbcType="VARCHAR"/>
|
<result property="pointsRules" column="points_rules" jdbcType="VARCHAR"/>
|
||||||
<result property="storeId" column="store_id" jdbcType="INTEGER"/>
|
<result property="storeId" column="store_id" jdbcType="INTEGER"/>
|
||||||
|
<result property="chainStoreId" column="chain_store_id" jdbcType="INTEGER"/>
|
||||||
<result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
|
<result property="createTime" column="create_time" jdbcType="TIMESTAMP"/>
|
||||||
<result property="updateTime" column="update_time" jdbcType="TIMESTAMP"/>
|
<result property="updateTime" column="update_time" jdbcType="TIMESTAMP"/>
|
||||||
<result property="createBy" column="create_by" jdbcType="INTEGER"/>
|
<result property="createBy" column="create_by" jdbcType="INTEGER"/>
|
||||||
@ -38,7 +39,7 @@
|
|||||||
|
|
||||||
<select id="getByStoreId" resultMap="IntegralSettingsMap">
|
<select id="getByStoreId" resultMap="IntegralSettingsMap">
|
||||||
select
|
select
|
||||||
id, refuel_points_rules, refuel_points_function, refuel_scene_type, refuel_amount_type, refuel_value_participation, refuel_scene_rules, refuel_consumption_amount, refuel_points, refuel_fuel_amount, refuel_fuel_volume, recharge_give, invite_give, invite_give_rules, sign_in_function, sign_in_rules, points_obtained, points_rules, store_id, create_time, update_time, create_by, update_by
|
id, refuel_points_rules, refuel_points_function, refuel_scene_type, refuel_amount_type, refuel_value_participation, refuel_scene_rules, refuel_consumption_amount, refuel_points, refuel_fuel_amount, refuel_fuel_volume, recharge_give, invite_give, invite_give_rules, sign_in_function, sign_in_rules, points_obtained, points_rules, store_id, create_time, update_time, create_by, update_by, chain_store_id
|
||||||
from integral_settings
|
from integral_settings
|
||||||
where store_id = #{storeId}
|
where store_id = #{storeId}
|
||||||
</select>
|
</select>
|
||||||
|
@ -53,6 +53,8 @@ public class SysDept extends BaseEntity
|
|||||||
@TableField(exist = false)
|
@TableField(exist = false)
|
||||||
private String parentName;
|
private String parentName;
|
||||||
private String leaderName;
|
private String leaderName;
|
||||||
|
/**删除状态**/
|
||||||
|
private String ifDelete;
|
||||||
|
|
||||||
private String leaderPhone;
|
private String leaderPhone;
|
||||||
@JsonFormat(pattern = "yyyy-MM-dd")
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||||
|
@ -8,7 +8,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
<select id="selectDeptList" resultType="com.fuint.system.dept.entity.SysDept">
|
<select id="selectDeptList" resultType="com.fuint.system.dept.entity.SysDept">
|
||||||
select *
|
select *
|
||||||
from sys_dept d
|
from sys_dept d
|
||||||
where 1=1
|
where
|
||||||
|
if_delete = 0
|
||||||
<if test="dept.deptId != null and dept.deptId != 0">
|
<if test="dept.deptId != null and dept.deptId != 0">
|
||||||
AND (dept_id = #{dept.deptId} or ancestors like concat (#{ownDeptStr},'%'))
|
AND (dept_id = #{dept.deptId} or ancestors like concat (#{ownDeptStr},'%'))
|
||||||
</if>
|
</if>
|
||||||
@ -50,7 +51,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="checkDeptExistUser" parameterType="Long" resultType="int">
|
<select id="checkDeptExistUser" parameterType="Long" resultType="int">
|
||||||
select count(1) from t_account where dept_id = #{deptId}
|
select count(1) from t_account where dept_id = #{deptId} and account_status = 1
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="hasChildByDeptId" parameterType="Long" resultType="int">
|
<select id="hasChildByDeptId" parameterType="Long" resultType="int">
|
||||||
|
@ -332,7 +332,11 @@ public class SysDeptServiceImpl extends ServiceImpl<SysDeptMapper,SysDept> imple
|
|||||||
@Override
|
@Override
|
||||||
public int deleteDeptById(Long deptId)
|
public int deleteDeptById(Long deptId)
|
||||||
{
|
{
|
||||||
return baseMapper.deleteById(deptId);
|
SysDept sysDept = new SysDept();
|
||||||
|
sysDept.setDeptId(deptId);
|
||||||
|
sysDept.setIfDelete("1");
|
||||||
|
return updateById(sysDept)?1:0;
|
||||||
|
// return baseMapper.deleteById(deptId);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
# \u57FA\u672C\u914D\u7F6E
|
# \u57FA\u672C\u914D\u7F6E
|
||||||
server.port=8080
|
server.port=8008
|
||||||
env.profile=dev
|
env.profile=dev
|
||||||
#env.properties.path=D:/workspaces/oilSystem/fuintBackend/configure/
|
#env.properties.path=D:/workspaces/oilSystem/fuintBackend/configure/
|
||||||
env.properties.path=D:/workspaces/oilSystem/fuintBackend/configure/
|
env.properties.path=D:/code/oilSystem/fuintBackend/configure/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -582,8 +582,8 @@ import {
|
|||||||
getStaff(){
|
getStaff(){
|
||||||
staffInfo().then( response => {
|
staffInfo().then( response => {
|
||||||
// this.staff = response.data;
|
// this.staff = response.data;
|
||||||
console.log("response",response.data.accountInfo)
|
console.log("response",response.data)
|
||||||
this.staff = response.data.accountInfo;
|
this.staff = response.data;
|
||||||
// this.map.staffId = this.staff.id;
|
// this.map.staffId = this.staff.id;
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
// 应用全局配置
|
// 应用全局配置
|
||||||
module.exports = {
|
module.exports = {
|
||||||
<<<<<<< HEAD
|
|
||||||
// baseUrl: 'https://vue.ruoyi.vip/prod-api',
|
// baseUrl: 'https://vue.ruoyi.vip/prod-api',
|
||||||
// baseUrl: 'http://192.168.0.196:8081/',
|
// baseUrl: 'http://192.168.0.196:8081/',
|
||||||
// baseUrl: 'http://192.168.1.4:8080/',
|
// baseUrl: 'http://192.168.1.4:8080/',
|
||||||
@ -8,9 +7,7 @@ module.exports = {
|
|||||||
|
|
||||||
// baseUrl: 'http://192.168.1.5:8002/cdJdc',
|
// baseUrl: 'http://192.168.1.5:8002/cdJdc',
|
||||||
|
|
||||||
=======
|
|
||||||
baseUrl: 'https://8q4f124343.yicp.fun/',
|
|
||||||
>>>>>>> c67165057421d2de2634fc09136279ec27ed8bb2
|
|
||||||
imagesUrl: 'http://www.nuoyunr.com/lananRsc',
|
imagesUrl: 'http://www.nuoyunr.com/lananRsc',
|
||||||
// 应用信息
|
// 应用信息
|
||||||
appInfo: {
|
appInfo: {
|
||||||
|
1866
gasStation-uni/package-lock.json
generated
1866
gasStation-uni/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -214,7 +214,7 @@
|
|||||||
if (uni.getStorageSync("storeId")) {
|
if (uni.getStorageSync("storeId")) {
|
||||||
this.storeId = uni.getStorageSync("storeId")
|
this.storeId = uni.getStorageSync("storeId")
|
||||||
} else {
|
} else {
|
||||||
let storeId = "24";
|
let storeId = "12";
|
||||||
|
|
||||||
uni.setStorageSync("storeId", storeId)
|
uni.setStorageSync("storeId", storeId)
|
||||||
}
|
}
|
||||||
|
@ -82,6 +82,7 @@
|
|||||||
method: 'get',
|
method: 'get',
|
||||||
params: {
|
params: {
|
||||||
chainStoreId: uni.getStorageSync('chainStoreId'),
|
chainStoreId: uni.getStorageSync('chainStoreId'),
|
||||||
|
storeId: uni.getStorageSync('storeId'),
|
||||||
pageNo: this.pageNo,
|
pageNo: this.pageNo,
|
||||||
pageSize: this.pageSize
|
pageSize: this.pageSize
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user