2/7 龙海新增产品优化1.0

lh_dev_ksck
wangwei 2 months ago
parent c7b354f3d6
commit 5117547d26

@ -274,18 +274,33 @@ public class UdiRlSupController extends BaseController {
if (vailResult != null) if (vailResult != null)
return ResultVOUtils.error(500, vailResult); return ResultVOUtils.error(500, vailResult);
companyProductsRelService.insertCompanyProducts(udiInfoExportRequest); companyProductsRelService.insertCompanyProducts(udiInfoExportRequest);
UdiRelevanceEntity udiRelevanceEntity = new UdiRelevanceEntity(); UdiRelevanceEntity udiRelevanceEntity = new UdiRelevanceEntity();
udiRelevanceEntity.setId(Long.parseLong(rlidStr)); udiRelevanceEntity.setId(Long.parseLong(rlidStr));
udiRelevanceEntity.setLockStatus(1); udiRelevanceEntity.setLockStatus(1);
udiRelevanceEntity.setGroupBuy(udiInfoExportRequest.getSupplementRequest().getGroupBuy()); udiRelevanceEntity.setGroupBuy(udiInfoExportRequest.getSupplementRequest().getGroupBuy());
udiRelevanceEntity.setUpdateTime(new Date());
udiRelevanceService.updateUdiRelevance(udiRelevanceEntity); udiRelevanceService.updateUdiRelevance(udiRelevanceEntity);
UdiProductEntity udiProductEntity = new UdiProductEntity(); UdiProductEntity udiProductEntity = new UdiProductEntity();
BeanUtil.copyProperties(udiInfoExportRequest.getSupplementRequest(), udiProductEntity); BeanUtil.copyProperties(udiInfoExportRequest.getSupplementRequest(), udiProductEntity);
//处理是否需要扫码字段 //处理是否需要扫码字段
classifyCodeService.updateRequireScanCode(udiProductEntity); classifyCodeService.updateRequireScanCode(udiProductEntity);
udiProductEntity.setId(IdUtil.getSnowflakeNextId()); udiProductEntity.setUpdateTime(new Date());
udiProductService.insertUdiInfo(udiProductEntity); UdiRelevanceEntity udiRelevanceEntity1 = udiRelevanceService.selectById(Long.valueOf(rlidStr));
UdiProductEntity byUuid = udiProductService.findByUuid(udiRelevanceEntity1.getUuid());
if (byUuid != null) {
byUuid.setCatalogname1(udiProductEntity.getCatalogname1());
byUuid.setCatalogname2(udiProductEntity.getCatalogname2());
byUuid.setCatalogname3(udiProductEntity.getCatalogname3());
byUuid.setYbbm(udiProductEntity.getYbbm());
byUuid.setManufactory(udiProductEntity.getManufactory());
byUuid.setUpdateTime(new Date());
udiProductService.updateUdiInfo(byUuid);
} else {
udiProductEntity.setId(IdUtil.getSnowflakeNextId());
udiProductService.insertUdiInfo(udiProductEntity);
}
// udiProductEntity.setId(IdUtil.getSnowflakeNextId());
// udiProductService.insertUdiInfo(udiProductEntity);
return ResultVOUtils.success("选入成功!"); return ResultVOUtils.success("选入成功!");
} }

@ -40,11 +40,10 @@ import com.glxp.api.service.system.SystemParamConfigService;
import com.glxp.api.service.thrsys.ThrProductsService; import com.glxp.api.service.thrsys.ThrProductsService;
import com.glxp.api.service.thrsys.ThrSystemService; import com.glxp.api.service.thrsys.ThrSystemService;
import com.glxp.api.service.thrsys.impl.ThrProductsAddDiService; import com.glxp.api.service.thrsys.impl.ThrProductsAddDiService;
import com.glxp.api.util.CustomUtil; import com.glxp.api.util.*;
import com.glxp.api.util.GennerOrderUtils; import com.sun.jdi.PathSearchingVirtualMachine;
import com.glxp.api.util.IntUtil;
import com.glxp.api.util.SupplementVailUtil;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
import org.junit.Test;
import org.springframework.validation.BindingResult; import org.springframework.validation.BindingResult;
import org.springframework.web.bind.annotation.*; import org.springframework.web.bind.annotation.*;
import org.springframework.web.context.request.RequestContextHolder; import org.springframework.web.context.request.RequestContextHolder;
@ -53,6 +52,7 @@ import org.springframework.web.multipart.MultipartFile;
import javax.annotation.Resource; import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletRequest;
import javax.validation.Valid;
import java.io.File; import java.io.File;
import java.math.BigDecimal; import java.math.BigDecimal;
import java.util.Date; import java.util.Date;
@ -227,6 +227,11 @@ public class ThrProductsAddDiController {
udiProductEntity.setBasicPrductRemak6(thrProductsAddDiEntity.getBasicPrductRemak6()); udiProductEntity.setBasicPrductRemak6(thrProductsAddDiEntity.getBasicPrductRemak6());
udiProductEntity.setBasicPrductRemak7(thrProductsAddDiEntity.getBasicPrductRemak7()); udiProductEntity.setBasicPrductRemak7(thrProductsAddDiEntity.getBasicPrductRemak7());
udiProductEntity.setBasicPrductRemak8(thrProductsAddDiEntity.getBasicPrductRemak8()); udiProductEntity.setBasicPrductRemak8(thrProductsAddDiEntity.getBasicPrductRemak8());
udiProductEntity.setBasicPrductRemak9(thrProductsAddDiEntity.getBasicPrductRemak9());
udiProductEntity.setBasicPrductRemak10(thrProductsAddDiEntity.getBasicPrductRemak10());
udiProductEntity.setBasicPrductRemak11(thrProductsAddDiEntity.getBasicPrductRemak11());
udiProductEntity.setBasicPrductRemak12(thrProductsAddDiEntity.getBasicPrductRemak12());
udiProductEntity.setBasicPrductRemak13(thrProductsAddDiEntity.getBasicPrductRemak13());
udiProductEntity.setGroupBuy(thrProductsAddDiEntity.getGroupBuy()); udiProductEntity.setGroupBuy(thrProductsAddDiEntity.getGroupBuy());
udiProductEntity.setCatalogname1(thrProductsAddDiEntity.getCatalogname1()); udiProductEntity.setCatalogname1(thrProductsAddDiEntity.getCatalogname1());
udiProductEntity.setCatalogname2(thrProductsAddDiEntity.getCatalogname2()); udiProductEntity.setCatalogname2(thrProductsAddDiEntity.getCatalogname2());
@ -249,6 +254,13 @@ public class ThrProductsAddDiController {
udiRelevanceEntity.setSupName(thrProductsAddDiEntity.getSupName()); udiRelevanceEntity.setSupName(thrProductsAddDiEntity.getSupName());
udiRelevanceEntity.setIsDisable(false); udiRelevanceEntity.setIsDisable(false);
udiRelevanceEntity.setNewNeedUpload(true); udiRelevanceEntity.setNewNeedUpload(true);
Integer isStack = thrProductsAddDiEntity.getIsStack();
if (isStack == 1){
udiRelevanceEntity.setIsStack(true);
}else {
udiRelevanceEntity.setIsStack(false);
}
// udiProductEntity.setNameCode(null); // udiProductEntity.setNameCode(null);
udiProductService.insertUdiInfo(udiProductEntity); udiProductService.insertUdiInfo(udiProductEntity);
udiRelevanceService.insertUdiRelevance(udiRelevanceEntity); udiRelevanceService.insertUdiRelevance(udiRelevanceEntity);
@ -322,6 +334,11 @@ public class ThrProductsAddDiController {
udiProductEntity.setBasicPrductRemak6(thrProductsAddDiResponse.getBasicPrductRemak6()); udiProductEntity.setBasicPrductRemak6(thrProductsAddDiResponse.getBasicPrductRemak6());
udiProductEntity.setBasicPrductRemak7(thrProductsAddDiResponse.getBasicPrductRemak7()); udiProductEntity.setBasicPrductRemak7(thrProductsAddDiResponse.getBasicPrductRemak7());
udiProductEntity.setBasicPrductRemak8(thrProductsAddDiResponse.getBasicPrductRemak8()); udiProductEntity.setBasicPrductRemak8(thrProductsAddDiResponse.getBasicPrductRemak8());
udiProductEntity.setBasicPrductRemak9(thrProductsAddDiEntity.getBasicPrductRemak9());
udiProductEntity.setBasicPrductRemak10(thrProductsAddDiEntity.getBasicPrductRemak10());
udiProductEntity.setBasicPrductRemak11(thrProductsAddDiEntity.getBasicPrductRemak11());
udiProductEntity.setBasicPrductRemak12(thrProductsAddDiEntity.getBasicPrductRemak12());
udiProductEntity.setBasicPrductRemak13(thrProductsAddDiEntity.getBasicPrductRemak13());
udiProductEntity.setGroupBuy(thrProductsAddDiResponse.getGroupBuy()); udiProductEntity.setGroupBuy(thrProductsAddDiResponse.getGroupBuy());
udiProductEntity.setCatalogname1(thrProductsAddDiResponse.getCatalogname1()); udiProductEntity.setCatalogname1(thrProductsAddDiResponse.getCatalogname1());
udiProductEntity.setCatalogname2(thrProductsAddDiResponse.getCatalogname2()); udiProductEntity.setCatalogname2(thrProductsAddDiResponse.getCatalogname2());
@ -331,6 +348,12 @@ public class ThrProductsAddDiController {
udiRelevanceEntity.setPurType(thrProductsAddDiResponse.getPurType()); udiRelevanceEntity.setPurType(thrProductsAddDiResponse.getPurType());
udiRelevanceEntity.setAttributeType(thrProductsAddDiResponse.getAttributeType()); udiRelevanceEntity.setAttributeType(thrProductsAddDiResponse.getAttributeType());
udiRelevanceEntity.setHcType(thrProductsAddDiResponse.getHcType()); udiRelevanceEntity.setHcType(thrProductsAddDiResponse.getHcType());
Integer isStack = thrProductsAddDiEntity.getIsStack();
if (isStack == 1){
udiRelevanceEntity.setIsStack(true);
}else {
udiRelevanceEntity.setIsStack(false);
}
udiProductEntity.setRequireCost(requireCost); udiProductEntity.setRequireCost(requireCost);
String flbm = thrProductsAddDiResponse.getFlbm(); String flbm = thrProductsAddDiResponse.getFlbm();
@ -493,6 +516,13 @@ public class ThrProductsAddDiController {
return ResultVOUtils.success(); return ResultVOUtils.success();
} }
@Test
public void dddd(){
String value = "1";
BigDecimal bigDecimal1 = new BigDecimal(value);
BigDecimal scaledValue1 = bigDecimal1.setScale(3, BigDecimal.ROUND_HALF_UP);
System.out.println("shucu :::::::" + scaledValue1);
}
/** /**
* DI * DI

@ -322,6 +322,37 @@ public class BasicProductsEntity {
@TableField(value = "basicPrductRemak8") @TableField(value = "basicPrductRemak8")
private String basicPrductRemak8; private String basicPrductRemak8;
/**
* 9
*/
@TableField(value = "basicPrductRemak9")
private String basicPrductRemak9;
/**
* 10
*/
@TableField(value = "basicPrductRemak10")
private String basicPrductRemak10;
/**
* 11
*/
@TableField(value = "basicPrductRemak11")
private String basicPrductRemak11;
/**
* 12
*/
@TableField(value = "basicPrductRemak12")
private String basicPrductRemak12;
/**
* 13
*/
@TableField(value = "basicPrductRemak13")
private String basicPrductRemak13;
/** /**
* *
*/ */

@ -174,6 +174,27 @@ public class ThrProductsAddDiEntity {
@ApiModelProperty(value = "备注字段8") @ApiModelProperty(value = "备注字段8")
private String basicPrductRemak8; private String basicPrductRemak8;
@TableField(value = "basicPrductRemak9")
@ApiModelProperty(value = "备注字段9")
private String basicPrductRemak9;
@TableField(value = "basicPrductRemak10")
@ApiModelProperty(value = "备注字段10")
private String basicPrductRemak10;
@TableField(value = "basicPrductRemak11")
@ApiModelProperty(value = "备注字段11")
private String basicPrductRemak11;
@TableField(value = "basicPrductRemak12")
@ApiModelProperty(value = "备注字段12")
private String basicPrductRemak12;
@TableField(value = "basicPrductRemak13")
@ApiModelProperty(value = "备注字段13")
private String basicPrductRemak13;
/** /**
* *
*/ */

@ -81,6 +81,11 @@ public class UdiInfoRequest {
private String basicPrductRemak6; private String basicPrductRemak6;
private String basicPrductRemak7; private String basicPrductRemak7;
private String basicPrductRemak8; private String basicPrductRemak8;
private String basicPrductRemak9;
private String basicPrductRemak10;
private String basicPrductRemak11;
private String basicPrductRemak12;
private String basicPrductRemak13;
private String sfwblztlcp; private String sfwblztlcp;
private String cgzmraqxgxx; private String cgzmraqxgxx;

@ -48,6 +48,11 @@ public class AddThrDiProductsRequest {
private String basicPrductRemak6; private String basicPrductRemak6;
private String basicPrductRemak7; private String basicPrductRemak7;
private String basicPrductRemak8; private String basicPrductRemak8;
private String basicPrductRemak9;
private String basicPrductRemak10;
private String basicPrductRemak11;
private String basicPrductRemak12;
private String basicPrductRemak13;
private String deviceRecordKey; private String deviceRecordKey;
private Boolean groupBuy; private Boolean groupBuy;

@ -99,6 +99,12 @@ public class UdiInfoResponse {
private String basicPrductRemak6; private String basicPrductRemak6;
private String basicPrductRemak7; private String basicPrductRemak7;
private String basicPrductRemak8; private String basicPrductRemak8;
private String basicPrductRemak9;
private String basicPrductRemak10;
private String basicPrductRemak11;
private String basicPrductRemak12;
private String basicPrductRemak13;
private String remark; private String remark;
private String hslbName; private String hslbName;

@ -40,6 +40,7 @@ public class CompanyProductsRelService {
SupplementRequest supplementRequest = udiInfoExportRequest.getSupplementRequest(); SupplementRequest supplementRequest = udiInfoExportRequest.getSupplementRequest();
BeanUtil.copyProperties(udiInfoExportRequest.getSupplementRequest(), udiInfoRequest); BeanUtil.copyProperties(udiInfoExportRequest.getSupplementRequest(), udiInfoRequest);
BeanUtil.copyProperties(supplementRequest, udiRelevanceEntity); BeanUtil.copyProperties(supplementRequest, udiRelevanceEntity);
udiRelevanceEntity.setUpdateTime(new Date());
udiRelevanceService.updateUdiRelevance(udiRelevanceEntity); udiRelevanceService.updateUdiRelevance(udiRelevanceEntity);
udiProductService.updateUdiInfoNotAll(udiInfoRequest); udiProductService.updateUdiInfoNotAll(udiInfoRequest);
companyProductRelevanceEntity.setCreateTime(new Date()); companyProductRelevanceEntity.setCreateTime(new Date());

@ -151,6 +151,12 @@ public class ThrProductsAddDiService extends ServiceImpl<ThrProductsAddDiDao, Th
thrProductsAddDiEntity.setUpdateTime(new Date()); thrProductsAddDiEntity.setUpdateTime(new Date());
thrProductsAddDiEntity.setStatus(1); //.. thrProductsAddDiEntity.setStatus(1); //..
thrProductsAddDiEntity.setSelectThridSysStr(JSONUtil.toJsonStr(thrDiProductsRequest.getSelectThirdSys())); thrProductsAddDiEntity.setSelectThridSysStr(JSONUtil.toJsonStr(thrDiProductsRequest.getSelectThirdSys()));
if (thrDiProductsRequest.getIsStack()){
thrProductsAddDiEntity.setIsStack(1);
}else {
thrProductsAddDiEntity.setIsStack(0);
}
//医保编码解析 //医保编码解析
String catalogcode = thrDiProductsRequest.getCatalogcode(); String catalogcode = thrDiProductsRequest.getCatalogcode();
if (StrUtil.isNotEmpty(catalogcode) && catalogcode.length() >= 7 && !catalogcode.contains("CJ")) { if (StrUtil.isNotEmpty(catalogcode) && catalogcode.length() >= 7 && !catalogcode.contains("CJ")) {
@ -195,16 +201,21 @@ public class ThrProductsAddDiService extends ServiceImpl<ThrProductsAddDiDao, Th
udiInfoResponse.setBasicPrductRemak6(thrProductsAddDiEntity.getBasicPrductRemak6()); udiInfoResponse.setBasicPrductRemak6(thrProductsAddDiEntity.getBasicPrductRemak6());
udiInfoResponse.setBasicPrductRemak7(thrProductsAddDiEntity.getBasicPrductRemak7()); udiInfoResponse.setBasicPrductRemak7(thrProductsAddDiEntity.getBasicPrductRemak7());
udiInfoResponse.setBasicPrductRemak8(thrProductsAddDiEntity.getBasicPrductRemak8()); udiInfoResponse.setBasicPrductRemak8(thrProductsAddDiEntity.getBasicPrductRemak8());
udiInfoResponse.setBasicPrductRemak9(thrProductsAddDiEntity.getBasicPrductRemak9());
udiInfoResponse.setBasicPrductRemak10(thrProductsAddDiEntity.getBasicPrductRemak10());
udiInfoResponse.setBasicPrductRemak11(thrProductsAddDiEntity.getBasicPrductRemak11());
udiInfoResponse.setBasicPrductRemak12(thrProductsAddDiEntity.getBasicPrductRemak12());
udiInfoResponse.setBasicPrductRemak13(thrProductsAddDiEntity.getBasicPrductRemak13());
udiInfoResponse.setCatalogname1(thrProductsAddDiEntity.getCatalogname1()); udiInfoResponse.setCatalogname1(thrProductsAddDiEntity.getCatalogname1());
udiInfoResponse.setCatalogname2(thrProductsAddDiEntity.getCatalogname2()); udiInfoResponse.setCatalogname2(thrProductsAddDiEntity.getCatalogname2());
udiInfoResponse.setCatalogname3(thrProductsAddDiEntity.getCatalogname3()); udiInfoResponse.setCatalogname3(thrProductsAddDiEntity.getCatalogname3());
udiInfoResponse.setMatrial(thrProductsAddDiEntity.getMatrial()); udiInfoResponse.setMatrial(thrProductsAddDiEntity.getMatrial());
udiInfoResponse.setRequireCost(0); udiInfoResponse.setRequireCost(0);
if (StrUtil.isNotEmpty(thrProductsAddDiEntity.getBasicPrductRemak8())) { // if (StrUtil.isNotEmpty(thrProductsAddDiEntity.getBasicPrductRemak8())) {
ThrHslbEntity thrHslbEntity = thrHslbMapper.selectOne(new QueryWrapper<ThrHslbEntity>().eq("hsbm", thrProductsAddDiEntity.getBasicPrductRemak8()).last("limit 1")); // ThrHslbEntity thrHslbEntity = thrHslbMapper.selectOne(new QueryWrapper<ThrHslbEntity>().eq("hsbm", thrProductsAddDiEntity.getBasicPrductRemak8()).last("limit 1"));
udiInfoResponse.setHslbName(thrHslbEntity.getHsmc()); // udiInfoResponse.setHslbName(thrHslbEntity.getHsmc());
} // }
} }
return udiInfoResponse; return udiInfoResponse;
} }

@ -185,6 +185,51 @@ public class SupplementVailUtil {
} }
} }
} }
basicProductSetEntity = basicProductSetEntityMap.get("basicPrductRemak9");
if (isMustFill(type, basicProductSetEntity)) {
if (StrUtil.isEmpty(supplementRequest.getBasicPrductRemak8())) {
SystemParamConfigEntity systemParamConfigEntity = systemParamConfigEntityMap.get("basicPrductRemak9");
if (!systemParamConfigEntity.getParamValue().equals("0")) {
return systemParamConfigEntity.getParamValue() + "不能为空";
}
}
}
basicProductSetEntity = basicProductSetEntityMap.get("basicPrductRemak10");
if (isMustFill(type, basicProductSetEntity)) {
if (StrUtil.isEmpty(supplementRequest.getBasicPrductRemak8())) {
SystemParamConfigEntity systemParamConfigEntity = systemParamConfigEntityMap.get("basicPrductRemak10");
if (!systemParamConfigEntity.getParamValue().equals("0")) {
return systemParamConfigEntity.getParamValue() + "不能为空";
}
}
}
basicProductSetEntity = basicProductSetEntityMap.get("basicPrductRemak11");
if (isMustFill(type, basicProductSetEntity)) {
if (StrUtil.isEmpty(supplementRequest.getBasicPrductRemak8())) {
SystemParamConfigEntity systemParamConfigEntity = systemParamConfigEntityMap.get("basicPrductRemak11");
if (!systemParamConfigEntity.getParamValue().equals("0")) {
return systemParamConfigEntity.getParamValue() + "不能为空";
}
}
}
basicProductSetEntity = basicProductSetEntityMap.get("basicPrductRemak12");
if (isMustFill(type, basicProductSetEntity)) {
if (StrUtil.isEmpty(supplementRequest.getBasicPrductRemak8())) {
SystemParamConfigEntity systemParamConfigEntity = systemParamConfigEntityMap.get("basicPrductRemak12");
if (!systemParamConfigEntity.getParamValue().equals("0")) {
return systemParamConfigEntity.getParamValue() + "不能为空";
}
}
}
basicProductSetEntity = basicProductSetEntityMap.get("basicPrductRemak13");
if (isMustFill(type, basicProductSetEntity)) {
if (StrUtil.isEmpty(supplementRequest.getBasicPrductRemak8())) {
SystemParamConfigEntity systemParamConfigEntity = systemParamConfigEntityMap.get("basicPrductRemak13");
if (!systemParamConfigEntity.getParamValue().equals("0")) {
return systemParamConfigEntity.getParamValue() + "不能为空";
}
}
}
} }
return null; return null;
} }

@ -189,7 +189,7 @@
allowNoBatch, allowNoExpire, allowNoBatch, allowNoExpire,
allowNoProduct, allowNoSerial, spmc, cplx, hchzsb, cpdls, price, basicPrductRemak1, basicPrductRemak2, allowNoProduct, allowNoSerial, spmc, cplx, hchzsb, cpdls, price, basicPrductRemak1, basicPrductRemak2,
basicPrductRemak3, basicPrductRemak4, basicPrductRemak5, basicPrductRemak6, basicPrductRemak7, basicPrductRemak3, basicPrductRemak4, basicPrductRemak5, basicPrductRemak6, basicPrductRemak7,
basicPrductRemak8, updateTime basicPrductRemak8, basicPrductRemak9,updateTime
, sfwblztlcp, cgzmraqxgxx, sfbjwycxsy, zdcfsycs, sfwwjbz, syqsfxyjxmj, mjfs, categoryName, , sfwblztlcp, cgzmraqxgxx, sfbjwycxsy, zdcfsycs, sfwwjbz, syqsfxyjxmj, mjfs, categoryName,
catalogname1, catalogname1,
catalogname2, catalogname2,
@ -249,8 +249,9 @@
#{basicPrductRemak5}, #{basicPrductRemak5},
#{basicPrductRemak6}, #{basicPrductRemak6},
#{basicPrductRemak7}, #{basicPrductRemak7},
#{basicPrductRemak8}, #{updateTime} #{basicPrductRemak8},
, #{sfwblztlcp}, #{cgzmraqxgxx}, #{sfbjwycxsy}, #{zdcfsycs}, #{sfwwjbz}, #{syqsfxyjxmj}, #{mjfs}, #{basicPrductRemak9},
#{updateTime}, #{sfwblztlcp}, #{cgzmraqxgxx}, #{sfbjwycxsy}, #{zdcfsycs}, #{sfwwjbz}, #{syqsfxyjxmj}, #{mjfs},
#{categoryName}, #{categoryName},
#{catalogname1}, #{catalogname1},
#{catalogname2}, #{catalogname2},
@ -510,6 +511,21 @@
<if test="basicPrductRemak8 != null"> <if test="basicPrductRemak8 != null">
basicPrductRemak8=#{basicPrductRemak8}, basicPrductRemak8=#{basicPrductRemak8},
</if> </if>
<if test="basicPrductRemak9 != null">
basicPrductRemak9=#{basicPrductRemak9},
</if>
<if test="basicPrductRemak10 != null">
basicPrductRemak10=#{basicPrductRemak10},
</if>
<if test="basicPrductRemak11 != null">
basicPrductRemak11=#{basicPrductRemak11},
</if>
<if test="basicPrductRemak12 != null">
basicPrductRemak12=#{basicPrductRemak12},
</if>
<if test="basicPrductRemak13 != null">
basicPrductRemak13=#{basicPrductRemak13},
</if>
<if test="sfwblztlcp != null"> <if test="sfwblztlcp != null">
sfwblztlcp=#{sfwblztlcp}, sfwblztlcp=#{sfwblztlcp},
@ -699,6 +715,21 @@
<if test="basicPrductRemak8 != null"> <if test="basicPrductRemak8 != null">
basicPrductRemak8=#{basicPrductRemak8}, basicPrductRemak8=#{basicPrductRemak8},
</if> </if>
<if test="basicPrductRemak9 != null">
basicPrductRemak9=#{basicPrductRemak9},
</if>
<if test="basicPrductRemak10 != null">
basicPrductRemak10=#{basicPrductRemak10},
</if>
<if test="basicPrductRemak11 != null">
basicPrductRemak11=#{basicPrductRemak11},
</if>
<if test="basicPrductRemak12 != null">
basicPrductRemak12=#{basicPrductRemak12},
</if>
<if test="basicPrductRemak13 != null">
basicPrductRemak13=#{basicPrductRemak13},
</if>
<if test="groupBuy != null"> <if test="groupBuy != null">
groupBuy=#{groupBuy}, groupBuy=#{groupBuy},
</if> </if>
@ -1138,8 +1169,21 @@
<if test="basicPrductRemak8 != null"> <if test="basicPrductRemak8 != null">
basicPrductRemak8=#{basicPrductRemak8}, basicPrductRemak8=#{basicPrductRemak8},
</if> </if>
<if test="basicPrductRemak9 != null">
basicPrductRemak9=#{basicPrductRemak9},
</if>
<if test="basicPrductRemak10 != null">
basicPrductRemak10=#{basicPrductRemak10},
</if>
<if test="basicPrductRemak11 != null">
basicPrductRemak11=#{basicPrductRemak11},
</if>
<if test="basicPrductRemak12 != null">
basicPrductRemak12=#{basicPrductRemak12},
</if>
<if test="basicPrductRemak13 != null">
basicPrductRemak13=#{basicPrductRemak13},
</if>
<if test="sfwblztlcp != null"> <if test="sfwblztlcp != null">
sfwblztlcp=#{sfwblztlcp}, sfwblztlcp=#{sfwblztlcp},
</if> </if>

@ -11,7 +11,8 @@
price, selectThridSysStr, basicPrductRemak1, price, selectThridSysStr, basicPrductRemak1,
basicPrductRemak2, basicPrductRemak3, basicPrductRemak4, basicPrductRemak2, basicPrductRemak3, basicPrductRemak4,
basicPrductRemak5, basicPrductRemak6, basicPrductRemak7, basicPrductRemak5, basicPrductRemak6, basicPrductRemak7,
basicPrductRemak8, `name`, spec, basicPrductRemak8,basicPrductRemak9,basicPrductRemak10,
basicPrductRemak11,basicPrductRemak12,basicPrductRemak13,`name`, spec,
registerNo, cplb, flbm, registerNo, cplb, flbm,
qxlb, tyshxydm, zczbhhzbapzbh, qxlb, tyshxydm, zczbhhzbapzbh,
ylqxzcrbarmc, ylqxzcrbarywmc, updateTime, ylqxzcrbarmc, ylqxzcrbarywmc, updateTime,
@ -25,7 +26,7 @@
catalogCode1, catalogCode1,
catalogCode2, catalogCode2,
catalogCode3, catalogCode3,
matrial, addStatus) matrial, addStatus,isStack)
values values
<foreach collection="list" index="index" item="item" separator=","> <foreach collection="list" index="index" item="item" separator=",">
(#{item.uuid}, (#{item.uuid},
@ -46,8 +47,7 @@
, #{item.basicPrductRemak1}, #{item.basicPrductRemak2}, #{item.basicPrductRemak3}, , #{item.basicPrductRemak1}, #{item.basicPrductRemak2}, #{item.basicPrductRemak3},
#{item.basicPrductRemak4} #{item.basicPrductRemak4}
, #{item.basicPrductRemak5}, #{item.basicPrductRemak6}, #{item.basicPrductRemak7}, , #{item.basicPrductRemak5}, #{item.basicPrductRemak6}, #{item.basicPrductRemak7},
#{item.basicPrductRemak8} #{item.basicPrductRemak8}, #{item.basicPrductRemak9}, #{item.basicPrductRemak10}, #{item.basicPrductRemak11}, #{item.basicPrductRemak12}, #{item.basicPrductRemak13},#{item.name}, #{item.spec}, #{item.registerNo}, #{item.cplb}
, #{item.name}, #{item.spec}, #{item.registerNo}, #{item.cplb}
, #{item.flbm}, #{item.qxlb}, #{item.tyshxydm}, #{item.zczbhhzbapzbh} , #{item.flbm}, #{item.qxlb}, #{item.tyshxydm}, #{item.zczbhhzbapzbh}
, #{item.ylqxzcrbarmc}, #{item.ylqxzcrbarywmc}, #{item.updateTime}, #{item.supName}, #{item.model} , #{item.ylqxzcrbarmc}, #{item.ylqxzcrbarywmc}, #{item.updateTime}, #{item.supName}, #{item.model}
, #{item.standard}, #{item.qtbm}, #{item.standard}, #{item.zczyxqz}, #{item.type}, , #{item.standard}, #{item.qtbm}, #{item.standard}, #{item.zczyxqz}, #{item.type},
@ -58,7 +58,7 @@
#{item.catalogCode1}, #{item.catalogCode1},
#{item.catalogCode2}, #{item.catalogCode2},
#{item.catalogCode3}, #{item.catalogCode3},
#{item.matrial}, #{item.addStatus}) #{item.matrial}, #{item.addStatus},#{item.isStack})
</foreach> </foreach>
</insert> </insert>

Loading…
Cancel
Save