fix: 商品编辑金额不生效问题
This commit is contained in:
parent
2549dcd977
commit
68023b8cc0
|
|
@ -89,14 +89,14 @@
|
|||
<if test="isSure != null">is_sure = #{isSure},</if>
|
||||
<if test="isCert != null">is_cert = #{isCert},</if>
|
||||
<if test="deptRate != null and deptRate != ''">dept_rate = #{deptRate},</if>
|
||||
<if test="deptMoney != null and deptMoney != ''">dept_money = #{deptMoney},</if>
|
||||
<if test="deptMoney != null">dept_money = #{deptMoney},</if>
|
||||
<if test="retainRate != null and retainRate != ''">retain_rate = #{retainRate},</if>
|
||||
<if test="retainMoney != null and retainMoney != ''">retain_money = #{retainMoney},</if>
|
||||
<if test="retainMoney != null">retain_money = #{retainMoney},</if>
|
||||
|
||||
<if test="pcDeptRate != null and pcDeptRate != ''">pc_dept_rate = #{pcDeptRate},</if>
|
||||
<if test="pcDeptMoney != null and pcDeptMoney != ''">pc_dept_money = #{pcDeptMoney},</if>
|
||||
<if test="pcDeptMoney != null">pc_dept_money = #{pcDeptMoney},</if>
|
||||
<if test="pcRetainRate != null and pcRetainRate != ''">pc_retain_rate = #{pcRetainRate},</if>
|
||||
<if test="pcRetainMoney != null and pcRetainMoney != ''">pc_retain_money = #{pcRetainMoney},</if>
|
||||
<if test="pcRetainMoney != null">pc_retain_money = #{pcRetainMoney},</if>
|
||||
|
||||
<if test="categorySort != null">category_sort = #{categorySort},</if>
|
||||
<if test="oneRate != null and oneRate != ''">one_rate = #{oneRate},</if>
|
||||
|
|
|
|||
|
|
@ -78,8 +78,12 @@ public class AfterServiceRecordServiceImpl implements IAfterServiceRecordService
|
|||
*/
|
||||
@Override
|
||||
public List<AfterServiceRecord> selectAfterServiceRecordList(AfterServiceRecord afterServiceRecord) {
|
||||
if(afterServiceRecord == null){
|
||||
afterServiceRecord = new AfterServiceRecord();
|
||||
afterServiceRecord.setNeedImgs(false);
|
||||
}
|
||||
List<AfterServiceRecord> list = afterServiceRecordMapper.selectAfterServiceRecordList(afterServiceRecord);
|
||||
if(!afterServiceRecord.getNeedImgs()){
|
||||
if(afterServiceRecord.getNeedImgs() != null && !afterServiceRecord.getNeedImgs()){
|
||||
return list;
|
||||
}
|
||||
list.forEach(record -> {
|
||||
|
|
|
|||
|
|
@ -0,0 +1,21 @@
|
|||
package com.ghy.system.domain;
|
||||
|
||||
import com.ghy.common.core.domain.BaseEntity;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
/**
|
||||
* <p>轮播图管理</p>
|
||||
* @author clunt
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
public class SysBanner extends BaseEntity {
|
||||
|
||||
private Long id;
|
||||
|
||||
private String bannerUrl;
|
||||
|
||||
private String bannerTitle;
|
||||
|
||||
}
|
||||
Loading…
Reference in New Issue