diff --git a/yunzhupaas-mdm/yunzhupaas-mdm-biz/src/main/java/com/yunzhupaas/mdm/mapper/CrmLeadMapper.java b/yunzhupaas-mdm/yunzhupaas-mdm-biz/src/main/java/com/yunzhupaas/mdm/mapper/CrmLeadMapper.java deleted file mode 100644 index 74ceae9..0000000 --- a/yunzhupaas-mdm/yunzhupaas-mdm-biz/src/main/java/com/yunzhupaas/mdm/mapper/CrmLeadMapper.java +++ /dev/null @@ -1,17 +0,0 @@ -package com.yunzhupaas.mdm.mapper; - - -import com.yunzhupaas.mdm.entity.CrmLeadEntity; -import com.baomidou.mybatisplus.core.mapper.BaseMapper; -import com.yunzhupaas.base.mapper.SuperMapper; - -/** - * crm_lead - * 版本: V5.2.7 - * 版权: Copyright @ 2025 深圳市乐程软件有限公司版权所有 - * 作者: 深圳市乐程软件有限公司 - * 日期: 2026-05-18 - */ -public interface CrmLeadMapper extends SuperMapper { - -} diff --git a/yunzhupaas-mdm/yunzhupaas-mdm-biz/src/main/java/com/yunzhupaas/mdm/service/LpcService.java b/yunzhupaas-mdm/yunzhupaas-mdm-biz/src/main/java/com/yunzhupaas/mdm/service/CorporateService.java similarity index 87% rename from yunzhupaas-mdm/yunzhupaas-mdm-biz/src/main/java/com/yunzhupaas/mdm/service/LpcService.java rename to yunzhupaas-mdm/yunzhupaas-mdm-biz/src/main/java/com/yunzhupaas/mdm/service/CorporateService.java index 6c5c5e3..fdfbf0c 100644 --- a/yunzhupaas-mdm/yunzhupaas-mdm-biz/src/main/java/com/yunzhupaas/mdm/service/LpcService.java +++ b/yunzhupaas-mdm/yunzhupaas-mdm-biz/src/main/java/com/yunzhupaas/mdm/service/CorporateService.java @@ -2,7 +2,7 @@ package com.yunzhupaas.mdm.service; import com.yunzhupaas.mdm.entity.*; import com.yunzhupaas.base.service.SuperService; -import com.yunzhupaas.mdm.model.lpc.*; +import com.yunzhupaas.mdm.model.corporation.*; import java.util.*; /** @@ -12,7 +12,7 @@ import java.util.*; * 作者: 深圳市乐程软件有限公司 * 日期: 2026-04-24 */ -public interface LpcService extends SuperService { +public interface CorporateService extends SuperService { List getList(LpcPagination companyPagination); List getTypeList(LpcPagination companyPagination,String dataType); diff --git a/yunzhupaas-mdm/yunzhupaas-mdm-biz/src/main/java/com/yunzhupaas/mdm/service/CrmLeadService.java b/yunzhupaas-mdm/yunzhupaas-mdm-biz/src/main/java/com/yunzhupaas/mdm/service/CrmLeadService.java deleted file mode 100644 index e6a77d5..0000000 --- a/yunzhupaas-mdm/yunzhupaas-mdm-biz/src/main/java/com/yunzhupaas/mdm/service/CrmLeadService.java +++ /dev/null @@ -1,31 +0,0 @@ -package com.yunzhupaas.mdm.service; - -import com.yunzhupaas.mdm.entity.*; -import com.yunzhupaas.base.service.SuperService; -import com.yunzhupaas.mdm.model.crmlead.*; -import java.util.*; - -/** - * crm_lead - * 版本: V5.2.7 - * 版权: Copyright @ 2025 深圳市乐程软件有限公司版权所有 - * 作者: 深圳市乐程软件有限公司 - * 日期: 2026-05-18 - */ -public interface CrmLeadService extends SuperService { - List getList(CrmLeadPagination crmLeadPagination); - - List getTypeList(CrmLeadPagination crmLeadPagination,String dataType); - - CrmLeadEntity getInfo(String leadid); - - void delete(CrmLeadEntity entity); - - void create(CrmLeadEntity entity); - - boolean update(String leadid, CrmLeadEntity entity); - - String checkForm(CrmLeadForm form,int i); - - void saveOrUpdate(CrmLeadForm crmLeadForm,String id, boolean isSave) throws Exception; -} diff --git a/yunzhupaas-mdm/yunzhupaas-mdm-biz/src/main/java/com/yunzhupaas/mdm/service/CustinfoService.java b/yunzhupaas-mdm/yunzhupaas-mdm-biz/src/main/java/com/yunzhupaas/mdm/service/CustinfoService.java index 5238ac2..d70f7c6 100644 --- a/yunzhupaas-mdm/yunzhupaas-mdm-biz/src/main/java/com/yunzhupaas/mdm/service/CustinfoService.java +++ b/yunzhupaas-mdm/yunzhupaas-mdm-biz/src/main/java/com/yunzhupaas/mdm/service/CustinfoService.java @@ -2,7 +2,7 @@ package com.yunzhupaas.mdm.service; import com.yunzhupaas.mdm.entity.*; import com.yunzhupaas.base.service.SuperService; -import com.yunzhupaas.mdm.model.custinfo.*; +import com.yunzhupaas.mdm.model.customer.*; import java.util.*; /** diff --git a/yunzhupaas-mdm/yunzhupaas-mdm-biz/src/main/java/com/yunzhupaas/mdm/service/ProjectsService.java b/yunzhupaas-mdm/yunzhupaas-mdm-biz/src/main/java/com/yunzhupaas/mdm/service/ProjectsService.java index 03e6422..3a87e86 100644 --- a/yunzhupaas-mdm/yunzhupaas-mdm-biz/src/main/java/com/yunzhupaas/mdm/service/ProjectsService.java +++ b/yunzhupaas-mdm/yunzhupaas-mdm-biz/src/main/java/com/yunzhupaas/mdm/service/ProjectsService.java @@ -1,11 +1,8 @@ package com.yunzhupaas.mdm.service; -import com.yunzhupaas.base.ActionResult; import com.yunzhupaas.mdm.entity.*; import com.yunzhupaas.base.service.SuperService; -import com.yunzhupaas.mdm.model.projects.*; -import io.swagger.v3.oas.annotations.Operation; -import org.springframework.web.bind.annotation.GetMapping; +import com.yunzhupaas.mdm.model.projectInfo.*; import java.util.*; diff --git a/yunzhupaas-mdm/yunzhupaas-mdm-biz/src/main/java/com/yunzhupaas/mdm/service/SuppinfoService.java b/yunzhupaas-mdm/yunzhupaas-mdm-biz/src/main/java/com/yunzhupaas/mdm/service/SuppinfoService.java index 8465eb4..5f8f11a 100644 --- a/yunzhupaas-mdm/yunzhupaas-mdm-biz/src/main/java/com/yunzhupaas/mdm/service/SuppinfoService.java +++ b/yunzhupaas-mdm/yunzhupaas-mdm-biz/src/main/java/com/yunzhupaas/mdm/service/SuppinfoService.java @@ -2,7 +2,7 @@ package com.yunzhupaas.mdm.service; import com.yunzhupaas.mdm.entity.*; import com.yunzhupaas.base.service.SuperService; -import com.yunzhupaas.mdm.model.suppinfo.*; +import com.yunzhupaas.mdm.model.supplier.*; import java.util.*; /** diff --git a/yunzhupaas-mdm/yunzhupaas-mdm-biz/src/main/java/com/yunzhupaas/mdm/service/impl/LcpServiceImpl.java b/yunzhupaas-mdm/yunzhupaas-mdm-biz/src/main/java/com/yunzhupaas/mdm/service/impl/CorporateServiceImpl.java similarity index 99% rename from yunzhupaas-mdm/yunzhupaas-mdm-biz/src/main/java/com/yunzhupaas/mdm/service/impl/LcpServiceImpl.java rename to yunzhupaas-mdm/yunzhupaas-mdm-biz/src/main/java/com/yunzhupaas/mdm/service/impl/CorporateServiceImpl.java index 064c3f4..c395854 100644 --- a/yunzhupaas-mdm/yunzhupaas-mdm-biz/src/main/java/com/yunzhupaas/mdm/service/impl/LcpServiceImpl.java +++ b/yunzhupaas-mdm/yunzhupaas-mdm-biz/src/main/java/com/yunzhupaas/mdm/service/impl/CorporateServiceImpl.java @@ -5,7 +5,7 @@ import com.yunzhupaas.mdm.entity.*; import com.yunzhupaas.mdm.mapper.CompanyMapper; import com.yunzhupaas.mdm.model.companyInvoice.CompanyInvoiceModel; import com.yunzhupaas.mdm.service.*; -import com.yunzhupaas.mdm.model.lpc.*; +import com.yunzhupaas.mdm.model.corporation.*; import org.springframework.stereotype.Service; import com.yunzhupaas.base.service.SuperServiceImpl; import org.springframework.beans.factory.annotation.Autowired; @@ -44,7 +44,7 @@ import com.github.pagehelper.PageHelper; * 日期: 2026-04-24 */ @Service -public class LcpServiceImpl extends SuperServiceImpl implements LpcService{ +public class CorporateServiceImpl extends SuperServiceImpl implements CorporateService { @Autowired private GeneraterSwapUtil generaterSwapUtil; @Autowired diff --git a/yunzhupaas-mdm/yunzhupaas-mdm-biz/src/main/java/com/yunzhupaas/mdm/service/impl/CrmLeadServiceImpl.java b/yunzhupaas-mdm/yunzhupaas-mdm-biz/src/main/java/com/yunzhupaas/mdm/service/impl/CrmLeadServiceImpl.java deleted file mode 100644 index 8f630ad..0000000 --- a/yunzhupaas-mdm/yunzhupaas-mdm-biz/src/main/java/com/yunzhupaas/mdm/service/impl/CrmLeadServiceImpl.java +++ /dev/null @@ -1,352 +0,0 @@ - -package com.yunzhupaas.mdm.service.impl; - -import com.yunzhupaas.mdm.entity.*; -import com.yunzhupaas.mdm.mapper.CrmLeadMapper; -import com.yunzhupaas.mdm.service.*; -import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; -import com.yunzhupaas.mdm.model.crmlead.*; -import org.springframework.stereotype.Service; -import com.yunzhupaas.base.service.SuperServiceImpl; -import org.springframework.beans.factory.annotation.Autowired; -import com.yunzhupaas.util.GeneraterSwapUtil; -import java.sql.Connection; -import java.sql.SQLException; -import lombok.Cleanup; -import com.yunzhupaas.database.plugins.DynamicSourceGeneratorInterface; -import com.yunzhupaas.database.util.DynamicDataSourceUtil; -import org.apache.commons.collections4.CollectionUtils; -import com.yunzhupaas.i18n.util.I18nUtil; -import com.yunzhupaas.exception.DataException; -import com.yunzhupaas.constant.MsgCode; -import java.math.BigDecimal; -import cn.hutool.core.util.ObjectUtil; -import java.lang.reflect.Field; -import com.baomidou.mybatisplus.annotation.TableField; -import com.baomidou.mybatisplus.annotation.TableName; -import java.util.regex.Pattern; -import java.util.stream.Collectors; -import com.yunzhupaas.base.model.ColumnDataModel; -import com.baomidou.mybatisplus.core.metadata.IPage; -import org.springframework.transaction.annotation.Transactional; -import com.baomidou.dynamic.datasource.annotation.DSTransactional; -import com.baomidou.mybatisplus.extension.plugins.pagination.Page; -import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; -import com.github.yulichang.toolkit.JoinWrappers; -import com.github.yulichang.wrapper.MPJLambdaWrapper; -import com.yunzhupaas.model.QueryAllModel; -import java.text.SimpleDateFormat; -import com.yunzhupaas.util.*; -import java.util.*; -import com.yunzhupaas.base.UserInfo; -import com.yunzhupaas.permission.entity.UserEntity; -import com.github.pagehelper.PageHelper; -/** - * - * crm_lead - * 版本: V5.2.7 - * 版权: Copyright @ 2025 深圳市乐程软件有限公司版权所有 - * 作者: 深圳市乐程软件有限公司 - * 日期: 2026-05-18 - */ -@Service -public class CrmLeadServiceImpl extends SuperServiceImpl implements CrmLeadService{ - @Autowired - private GeneraterSwapUtil generaterSwapUtil; - @Autowired - private UserProvider userProvider; - @Override - public List getList(CrmLeadPagination crmLeadPagination){ - return getTypeList(crmLeadPagination,crmLeadPagination.getDataType()); - } - /** 列表查询 */ - @Override - public List getTypeList(CrmLeadPagination crmLeadPagination,String dataType){ - String userId=userProvider.get().getUserId(); - Map tableClassMap=new HashMap<>(); - tableClassMap.put("crm_lead",CrmLeadEntity.class); - - MPJLambdaWrapper wrapper = JoinWrappers - .lambda("crm_lead",CrmLeadEntity.class) - .selectAll(CrmLeadEntity.class); - MPJLambdaWrapper wrapper2 = JoinWrappers - .lambda("crm_lead",CrmLeadEntity.class) - .distinct().select(CrmLeadEntity::getLeadId); - - QueryAllModel queryAllModel = new QueryAllModel(); - queryAllModel.setWrapper(wrapper); - queryAllModel.setClassMap(tableClassMap); - queryAllModel.setDbLink(CrmLeadConstant.DBLINKID); - //数据过滤 - boolean isPc = ServletUtil.getHeader("yunzhupaas-origin").equals("pc"); - String columnData = !isPc ? CrmLeadConstant.getAppColumnData() : CrmLeadConstant.getColumnData(); - ColumnDataModel columnDataModel = JsonUtil.getJsonToBean(columnData, ColumnDataModel.class); - String ruleJson = !isPc ? JsonUtil.getObjectToString(columnDataModel.getRuleListApp()) : JsonUtil.getObjectToString(columnDataModel.getRuleList()); - queryAllModel.setRuleJson(ruleJson); - //高级查询 - boolean hasSuperQuery = true; - if (hasSuperQuery) { - queryAllModel.setSuperJson(crmLeadPagination.getSuperQueryJson()); - } - //数据权限 - boolean pcPermission = true; - boolean appPermission = false; - if (isPc && pcPermission) { - queryAllModel.setModuleId(crmLeadPagination.getMenuId()); - } - if (!isPc && appPermission) { - queryAllModel.setModuleId(crmLeadPagination.getMenuId()); - } - //拼接复杂条件 - wrapper = generaterSwapUtil.getConditionAllTable(queryAllModel); - if(wrapper == null) return new ArrayList<>(); - queryAllModel.setWrapper(wrapper2); - wrapper2 = generaterSwapUtil.getConditionAllTable(queryAllModel); - //其他条件拼接 - otherConditions(crmLeadPagination, wrapper, isPc); - otherConditions(crmLeadPagination, wrapper2, isPc); - - if("0".equals(dataType)){ - com.github.pagehelper.Page objects = PageHelper.startPage((int) crmLeadPagination.getCurrentPage(), (int) crmLeadPagination.getPageSize(), true); - List userIPage = this.selectJoinList(CrmLeadEntity.class, wrapper2); - List collect = userIPage.stream().map(t -> t.getLeadId()).collect(Collectors.toList()); - if(CollectionUtils.isNotEmpty(collect)){ - wrapper.in(CrmLeadEntity::getLeadId,collect); - } - List result = this.selectJoinList(CrmLeadEntity.class, wrapper); - return crmLeadPagination.setData(result,objects.getTotal()); - }else{ - List list = this.selectJoinList(CrmLeadEntity.class, wrapper); - if("2".equals(dataType)){ - List selectIds = Arrays.asList(crmLeadPagination.getSelectIds()); - return list.stream().filter(t -> selectIds.contains(t.getLeadId())).collect(Collectors.toList()); - }else{ - return list; - } - } - - } - - /** - * 其他条件拼接 - */ - private void otherConditions(CrmLeadPagination crmLeadPagination, MPJLambdaWrapper wrapper, boolean isPc) { - String databaseName; - try { - @Cleanup Connection cnn = DynamicDataSourceUtil.getCurrentConnection(); - databaseName = cnn.getMetaData().getDatabaseProductName().trim(); - } catch (SQLException e) { - throw new DataException(e.getMessage()); - } - //假删除标志 - wrapper.isNull(CrmLeadEntity::getDeleteMark); - - //流程数据隔离 - List flowIds = generaterSwapUtil.getFlowIds(crmLeadPagination.getFlowId()); - wrapper.in(CrmLeadEntity::getFlowId,flowIds); - //关键词 - if(ObjectUtil.isNotEmpty(crmLeadPagination.getYunzhupaasKeyword())){ - if(isPc){ - wrapper.and(t -> { - t.like(CrmLeadEntity::getMobile,crmLeadPagination.getYunzhupaasKeyword()).or(); - }); - } - } - //普通查询 - if(isPc){ - if(ObjectUtil.isNotEmpty(crmLeadPagination.getMobile())){ - String value = crmLeadPagination.getMobile() instanceof List ? - JsonUtil.getObjectToString(crmLeadPagination.getMobile()) : - String.valueOf(crmLeadPagination.getMobile()); - wrapper.like(CrmLeadEntity::getMobile,value); - } - - if(ObjectUtil.isNotEmpty(crmLeadPagination.getCustomerSource())){ - List idList = new ArrayList<>(); - try { - String[][] customerSource = JsonUtil.getJsonToBean(crmLeadPagination.getCustomerSource(),String[][].class); - for(int i=0;i0){ - idList.add(JsonUtil.getObjectToString(Arrays.asList(customerSource[i]))); - } - } - }catch (Exception e1){ - try { - List customerSource = JsonUtil.getJsonToList(crmLeadPagination.getCustomerSource(),String.class); - if(customerSource.size()>0){ - idList.addAll(customerSource); - } - }catch (Exception e2){ - idList.add(String.valueOf(crmLeadPagination.getCustomerSource())); - } - } - wrapper.and(t->{ - idList.forEach(tt->{ - if(StringUtil.isNotEmpty(tt) && "Microsoft SQL Server".equalsIgnoreCase(databaseName)){ - tt = tt.replaceFirst("\\[","[[]"); - } - t.like(CrmLeadEntity::getCustomerSource, tt).or(); - }); - }); - } - - } - //排序 - if(StringUtil.isEmpty(crmLeadPagination.getSidx())){ - wrapper.orderByDesc(CrmLeadEntity::getLeadId); - }else{ - try { - String[] split = crmLeadPagination.getSidx().split(","); - for(String sidx:split){ - CrmLeadEntity crmLeadEntity = new CrmLeadEntity(); - String oderTableField = crmLeadEntity.getClass().getAnnotation(TableName.class).value(); - boolean descFlag = sidx.startsWith("-"); - String sidxField = descFlag ? sidx.substring(1) : sidx; - try{ - Field declaredField = crmLeadEntity.getClass().getDeclaredField(sidxField); - declaredField.setAccessible(true); - sidxField = declaredField.getAnnotation(TableField.class).value(); - }catch (Exception e){ - } - String finalOderTableField = oderTableField; - String finalSidxField = sidxField; - Object select = wrapper.getSelectColumns().stream().filter(t -> Objects.equals(finalOderTableField, t.getTableAlias()) - && Objects.equals(finalSidxField, t.getColumn())).findFirst().orElse(null); - oderTableField = oderTableField + "." + sidxField; - if (select == null) { - wrapper.select(oderTableField); - } - if (descFlag) { - wrapper.orderByDesc(oderTableField); - } else { - wrapper.orderByAsc(oderTableField); - } - } - } catch (Exception e) { - e.printStackTrace(); - } - } - } - @Override - public CrmLeadEntity getInfo(String leadid){ - MPJLambdaWrapper wrapper = JoinWrappers - .lambda("crm_lead",CrmLeadEntity.class) - .selectAll(CrmLeadEntity.class); - wrapper.and( - t->t.eq(CrmLeadEntity::getLeadId, leadid ) - .or().eq(CrmLeadEntity::getFlowTaskId, leadid) - ); - return this.selectJoinOne(CrmLeadEntity.class,wrapper); - } - @Override - public void create(CrmLeadEntity entity){ - this.save(entity); - } - @Override - public boolean update(String leadid, CrmLeadEntity entity){ - return this.updateById(entity); - } - @Override - public void delete(CrmLeadEntity entity){ - if(entity!=null){ - this.removeById(entity.getLeadId()); - } - } - /** 验证表单唯一字段,正则,非空 i-0新增-1修改*/ - @Override - public String checkForm(CrmLeadForm form,int i) { - List flowIds = generaterSwapUtil.getFlowIds(form.getFlowId()); - boolean isUp =StringUtil.isNotEmpty(form.getLeadId()) && !form.getLeadId().equals("0"); - Object id= null; - String countRecover = ""; - String fieldTipName = ""; - String canNotNull = I18nUtil.getMessageStr("sys.validate.textRequiredSuffix", "不能为空"); - String canNotRepeated = I18nUtil.getMessageStr("EXIST103", "不能重复"); - if (isUp){ - id = form.getLeadId(); - } - //主表字段验证 - fieldTipName = "线索名称"; - if(StringUtil.isEmpty(form.getLeadName())){ - return fieldTipName + canNotNull; - } - fieldTipName = "手机号"; - if(StringUtil.isEmpty(form.getMobile())){ - return fieldTipName + canNotNull; - } - if(StringUtil.isNotEmpty(form.getMobile())){ - form.setMobile(form.getMobile().trim()); - QueryWrapper mobileWrapper=new QueryWrapper<>(); - mobileWrapper.lambda().eq(CrmLeadEntity::getMobile,form.getMobile()); - mobileWrapper.lambda().in(CrmLeadEntity::getFlowId, flowIds); - //假删除标志 - mobileWrapper.lambda().isNull(CrmLeadEntity::getDeleteMark); - if (isUp){ - mobileWrapper.lambda().ne(CrmLeadEntity::getLeadId, id); - } - if((int) this.count(mobileWrapper)>0){ - countRecover = fieldTipName + canNotRepeated; - } - } - if(StringUtil.isNotEmpty(form.getMobile())){ - if(!Pattern.compile("^1[3456789]\\d{9}$").matcher(String.valueOf(form.getMobile())).matches()){ - return I18nUtil.getMessageStr("sys.validate.mobilePhone", "请输入正确的手机号码"); - } - } - fieldTipName = "邮箱"; - if(StringUtil.isNotEmpty(form.getEmail())){ - if(!Pattern.compile("^[a-z0-9]+([._\\-]*[a-z0-9])*@([a-z0-9]+[-a-z0-9]*[a-z0-9]+.){1,63}[a-z0-9]+$").matcher(String.valueOf(form.getEmail())).matches()){ - return I18nUtil.getMessageStr("sys.validate.email", "请输入正确的邮箱"); - } - } - fieldTipName = "状态"; - fieldTipName = "销售人员"; - fieldTipName = "来源"; - fieldTipName = "备注"; - return countRecover; - } - /** - * 新增修改数据(事务回滚) - * @param id - * @param crmLeadForm - * @return - */ - @Override - @Transactional - public void saveOrUpdate(CrmLeadForm crmLeadForm,String id, boolean isSave) throws Exception{ - List> formOperates = crmLeadForm.getFormOperates(); - List hasOperate = new ArrayList<>(); - boolean noOperate = false; - if(CollectionUtils.isNotEmpty(formOperates)){ - for (Map formOperate : formOperates) { - String formOperateId = formOperate.get("id").toString(); - boolean formOperateWrite = formOperate.get("write") ==null? false : (boolean) formOperate.get("write"); - if(formOperateWrite){ - hasOperate.add(formOperateId); - } - } - }else{ - noOperate = true; - } - UserInfo userInfo=userProvider.get(); - UserEntity userEntity = generaterSwapUtil.getUser(userInfo.getUserId()); - crmLeadForm = JsonUtil.getJsonToBean( - generaterSwapUtil.swapDatetime(CrmLeadConstant.getFormData(),crmLeadForm,CrmLeadConstant.TABLERENAMES),CrmLeadForm.class); - CrmLeadEntity entity = JsonUtil.getJsonToBean(crmLeadForm, CrmLeadEntity.class); - String mainUuid = StringUtil.isEmpty(id) ? RandomUtil.uuId() : id; - entity.setFlowId(crmLeadForm.getFlowId()); - if(isSave){ - entity.setFlowTaskId(mainUuid); - entity.setLeadId(mainUuid); - entity.setVersion(0); - } else { - } - boolean b = this.saveOrUpdate(entity); - if(!b){ - throw new DataException("当前表单原数据已被调整,请重新进入该页面编辑并提交数据"); - } - CrmLeadEntity info = this.getInfo(mainUuid); - if (info == null) throw new RuntimeException(MsgCode.FA001.get()); - - } -} diff --git a/yunzhupaas-mdm/yunzhupaas-mdm-biz/src/main/java/com/yunzhupaas/mdm/service/impl/CustinfoServiceImpl.java b/yunzhupaas-mdm/yunzhupaas-mdm-biz/src/main/java/com/yunzhupaas/mdm/service/impl/CustinfoServiceImpl.java index 8d44322..fff0450 100644 --- a/yunzhupaas-mdm/yunzhupaas-mdm-biz/src/main/java/com/yunzhupaas/mdm/service/impl/CustinfoServiceImpl.java +++ b/yunzhupaas-mdm/yunzhupaas-mdm-biz/src/main/java/com/yunzhupaas/mdm/service/impl/CustinfoServiceImpl.java @@ -4,7 +4,7 @@ package com.yunzhupaas.mdm.service.impl; import com.yunzhupaas.mdm.entity.*; import com.yunzhupaas.mdm.mapper.CompanyMapper; import com.yunzhupaas.mdm.service.*; -import com.yunzhupaas.mdm.model.custinfo.*; +import com.yunzhupaas.mdm.model.customer.*; import org.springframework.stereotype.Service; import com.yunzhupaas.base.service.SuperServiceImpl; import org.springframework.beans.factory.annotation.Autowired; diff --git a/yunzhupaas-mdm/yunzhupaas-mdm-biz/src/main/java/com/yunzhupaas/mdm/service/impl/CustomersServiceImpl.java b/yunzhupaas-mdm/yunzhupaas-mdm-biz/src/main/java/com/yunzhupaas/mdm/service/impl/CustomersServiceImpl.java index c2b5c10..f719506 100644 --- a/yunzhupaas-mdm/yunzhupaas-mdm-biz/src/main/java/com/yunzhupaas/mdm/service/impl/CustomersServiceImpl.java +++ b/yunzhupaas-mdm/yunzhupaas-mdm-biz/src/main/java/com/yunzhupaas/mdm/service/impl/CustomersServiceImpl.java @@ -4,21 +4,11 @@ package com.yunzhupaas.mdm.service.impl; import com.yunzhupaas.mdm.entity.*; import com.yunzhupaas.mdm.mapper.CustomersMapper; import com.yunzhupaas.mdm.service.*; -import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; -import com.yunzhupaas.mdm.model.custinfo.*; import org.springframework.stereotype.Service; import com.yunzhupaas.base.service.SuperServiceImpl; import org.springframework.beans.factory.annotation.Autowired; import com.yunzhupaas.util.GeneraterSwapUtil; -import java.sql.Connection; -import java.sql.SQLException; -import lombok.Cleanup; -import com.yunzhupaas.database.plugins.DynamicSourceGeneratorInterface; -import com.yunzhupaas.database.util.DynamicDataSourceUtil; -import org.apache.commons.collections4.CollectionUtils; -import com.yunzhupaas.i18n.util.I18nUtil; -import com.yunzhupaas.exception.DataException; -import com.yunzhupaas.constant.MsgCode; + /** * * 客户信息 diff --git a/yunzhupaas-mdm/yunzhupaas-mdm-biz/src/main/java/com/yunzhupaas/mdm/service/impl/ProjectsServiceImpl.java b/yunzhupaas-mdm/yunzhupaas-mdm-biz/src/main/java/com/yunzhupaas/mdm/service/impl/ProjectsServiceImpl.java index 87e80b5..314fb77 100644 --- a/yunzhupaas-mdm/yunzhupaas-mdm-biz/src/main/java/com/yunzhupaas/mdm/service/impl/ProjectsServiceImpl.java +++ b/yunzhupaas-mdm/yunzhupaas-mdm-biz/src/main/java/com/yunzhupaas/mdm/service/impl/ProjectsServiceImpl.java @@ -4,8 +4,7 @@ package com.yunzhupaas.mdm.service.impl; import com.yunzhupaas.mdm.entity.*; import com.yunzhupaas.mdm.mapper.ProjectsMapper; import com.yunzhupaas.mdm.service.*; -import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; -import com.yunzhupaas.mdm.model.projects.*; +import com.yunzhupaas.mdm.model.projectInfo.*; import org.springframework.stereotype.Service; import com.yunzhupaas.base.service.SuperServiceImpl; import org.springframework.beans.factory.annotation.Autowired; @@ -13,29 +12,22 @@ import com.yunzhupaas.util.GeneraterSwapUtil; import java.sql.Connection; import java.sql.SQLException; import lombok.Cleanup; -import com.yunzhupaas.database.plugins.DynamicSourceGeneratorInterface; import com.yunzhupaas.database.util.DynamicDataSourceUtil; import org.apache.commons.collections4.CollectionUtils; import com.yunzhupaas.i18n.util.I18nUtil; import com.yunzhupaas.exception.DataException; import com.yunzhupaas.constant.MsgCode; -import java.math.BigDecimal; import cn.hutool.core.util.ObjectUtil; import java.lang.reflect.Field; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableName; -import java.util.regex.Pattern; + import java.util.stream.Collectors; import com.yunzhupaas.base.model.ColumnDataModel; -import com.baomidou.mybatisplus.core.metadata.IPage; import org.springframework.transaction.annotation.Transactional; -import com.baomidou.dynamic.datasource.annotation.DSTransactional; -import com.baomidou.mybatisplus.extension.plugins.pagination.Page; -import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.github.yulichang.toolkit.JoinWrappers; import com.github.yulichang.wrapper.MPJLambdaWrapper; import com.yunzhupaas.model.QueryAllModel; -import java.text.SimpleDateFormat; import com.yunzhupaas.util.*; import java.util.*; import com.yunzhupaas.base.UserInfo; diff --git a/yunzhupaas-mdm/yunzhupaas-mdm-biz/src/main/java/com/yunzhupaas/mdm/service/impl/SuppinfoServiceImpl.java b/yunzhupaas-mdm/yunzhupaas-mdm-biz/src/main/java/com/yunzhupaas/mdm/service/impl/SuppinfoServiceImpl.java index 59000aa..8a6dbf1 100644 --- a/yunzhupaas-mdm/yunzhupaas-mdm-biz/src/main/java/com/yunzhupaas/mdm/service/impl/SuppinfoServiceImpl.java +++ b/yunzhupaas-mdm/yunzhupaas-mdm-biz/src/main/java/com/yunzhupaas/mdm/service/impl/SuppinfoServiceImpl.java @@ -4,8 +4,7 @@ package com.yunzhupaas.mdm.service.impl; import com.yunzhupaas.mdm.entity.*; import com.yunzhupaas.mdm.mapper.CompanyMapper; import com.yunzhupaas.mdm.service.*; -import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; -import com.yunzhupaas.mdm.model.suppinfo.*; +import com.yunzhupaas.mdm.model.supplier.*; import org.springframework.stereotype.Service; import com.yunzhupaas.base.service.SuperServiceImpl; import org.springframework.beans.factory.annotation.Autowired; @@ -13,13 +12,11 @@ import com.yunzhupaas.util.GeneraterSwapUtil; import java.sql.Connection; import java.sql.SQLException; import lombok.Cleanup; -import com.yunzhupaas.database.plugins.DynamicSourceGeneratorInterface; import com.yunzhupaas.database.util.DynamicDataSourceUtil; import org.apache.commons.collections4.CollectionUtils; import com.yunzhupaas.i18n.util.I18nUtil; import com.yunzhupaas.exception.DataException; import com.yunzhupaas.constant.MsgCode; -import java.math.BigDecimal; import cn.hutool.core.util.ObjectUtil; import java.lang.reflect.Field; import com.baomidou.mybatisplus.annotation.TableField; @@ -27,15 +24,11 @@ import com.baomidou.mybatisplus.annotation.TableName; import java.util.regex.Pattern; import java.util.stream.Collectors; import com.yunzhupaas.base.model.ColumnDataModel; -import com.baomidou.mybatisplus.core.metadata.IPage; import org.springframework.transaction.annotation.Transactional; -import com.baomidou.dynamic.datasource.annotation.DSTransactional; -import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.github.yulichang.toolkit.JoinWrappers; import com.github.yulichang.wrapper.MPJLambdaWrapper; import com.yunzhupaas.model.QueryAllModel; -import java.text.SimpleDateFormat; import com.yunzhupaas.util.*; import java.util.*; import com.yunzhupaas.base.UserInfo; diff --git a/yunzhupaas-mdm/yunzhupaas-mdm-controller/src/main/java/com/yunzhupaas/mdm/controller/CorporationController.java b/yunzhupaas-mdm/yunzhupaas-mdm-controller/src/main/java/com/yunzhupaas/mdm/controller/CorporationController.java index 1f9621b..a824211 100644 --- a/yunzhupaas-mdm/yunzhupaas-mdm-controller/src/main/java/com/yunzhupaas/mdm/controller/CorporationController.java +++ b/yunzhupaas-mdm/yunzhupaas-mdm-controller/src/main/java/com/yunzhupaas/mdm/controller/CorporationController.java @@ -11,7 +11,7 @@ import com.yunzhupaas.constant.MsgCode; import com.yunzhupaas.mdm.service.*; import com.yunzhupaas.mdm.entity.*; import com.yunzhupaas.util.*; -import com.yunzhupaas.mdm.model.lpc.*; +import com.yunzhupaas.mdm.model.corporation.*; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.*; @@ -71,7 +71,7 @@ public class CorporationController { private UserProvider userProvider; @Autowired - private LpcService companyService; + private CorporateService companyService; @Autowired private CompanyInvoiceService company_invoiceService; diff --git a/yunzhupaas-mdm/yunzhupaas-mdm-controller/src/main/java/com/yunzhupaas/mdm/controller/CrmLeadController.java b/yunzhupaas-mdm/yunzhupaas-mdm-controller/src/main/java/com/yunzhupaas/mdm/controller/CrmLeadController.java deleted file mode 100644 index 1b688b4..0000000 --- a/yunzhupaas-mdm/yunzhupaas-mdm-controller/src/main/java/com/yunzhupaas/mdm/controller/CrmLeadController.java +++ /dev/null @@ -1,636 +0,0 @@ -package com.yunzhupaas.mdm.controller; - - -import cn.hutool.core.util.ObjectUtil; -import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; -import io.swagger.v3.oas.annotations.Operation; -import io.swagger.v3.oas.annotations.tags.Tag; -import com.yunzhupaas.base.ActionResult; -import com.yunzhupaas.base.UserInfo; -import com.yunzhupaas.exception.DataException; -import com.yunzhupaas.permission.entity.UserEntity; -import com.yunzhupaas.constant.MsgCode; -import com.yunzhupaas.mdm.service.*; -import com.yunzhupaas.mdm.entity.*; -import com.yunzhupaas.util.*; -import com.yunzhupaas.mdm.model.crmlead.*; -import lombok.extern.slf4j.Slf4j; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.web.bind.annotation.*; -import com.yunzhupaas.flowable.entity.TaskEntity; -import jakarta.validation.Valid; -import java.util.*; -import com.yunzhupaas.model.ExcelModel; -import com.yunzhupaas.excel.ExcelExportStyler; -import com.yunzhupaas.excel.ExcelHelper; -import com.yunzhupaas.annotation.YunzhupaasField; -import com.yunzhupaas.base.vo.PageListVO; -import com.yunzhupaas.base.vo.PaginationVO; -import com.yunzhupaas.base.vo.DownloadVO; -import com.yunzhupaas.config.ConfigValueUtil; -import com.yunzhupaas.base.entity.ProvinceEntity; -import java.io.IOException; -import java.util.stream.Collectors; -import com.yunzhupaas.flowable.entity.TaskEntity; -import com.yunzhupaas.exception.WorkFlowException; -import com.yunzhupaas.model.visualJson.UploaderTemplateModel; -import com.yunzhupaas.base.util.FormExecelUtils; -import org.springframework.web.multipart.MultipartFile; -import cn.afterturn.easypoi.excel.ExcelExportUtil; -import cn.afterturn.easypoi.excel.ExcelImportUtil; -import cn.afterturn.easypoi.excel.entity.ExportParams; -import cn.afterturn.easypoi.excel.entity.ImportParams; -import cn.afterturn.easypoi.excel.entity.params.ExcelExportEntity; -import cn.afterturn.easypoi.excel.entity.enmus.ExcelType; -import org.apache.poi.hssf.usermodel.HSSFWorkbook; -import org.apache.poi.ss.usermodel.Workbook; -import java.io.File; -import java.io.IOException; -import java.io.InputStream; -import com.yunzhupaas.onlinedev.model.ExcelImFieldModel; -import com.yunzhupaas.base.model.OnlineImport.ImportDataModel; -import com.yunzhupaas.base.model.OnlineImport.ImportFormCheckUniqueModel; -import com.yunzhupaas.base.model.OnlineImport.ExcelImportModel; -import com.yunzhupaas.base.model.OnlineImport.VisualImportModel; -import cn.xuyanwu.spring.file.storage.FileInfo; -import lombok.Cleanup; -import com.yunzhupaas.model.visualJson.config.HeaderModel; -import com.yunzhupaas.base.model.ColumnDataModel; -import com.yunzhupaas.base.util.VisualUtils; -import org.springframework.transaction.annotation.Transactional; - -/** - * crm_lead - * @版本: V5.2.7 - * @版权: Copyright @ 2025 深圳市乐程软件有限公司版权所有 - * @作者: 深圳市乐程软件有限公司 - * @日期: 2026-05-18 - */ -@Slf4j -@RestController -@Tag(name = "crm_lead" , description = "bcm") -@RequestMapping("/api/bcm/CrmLead") -public class CrmLeadController { - - @Autowired - private GeneraterSwapUtil generaterSwapUtil; - - @Autowired - private UserProvider userProvider; - - @Autowired - private CrmLeadService crmLeadService; - - - - @Autowired - private ConfigValueUtil configValueUtil; - - /** - * 列表 - * - * @param crmLeadPagination - * @return - */ - @Operation(summary = "获取列表") - @PostMapping("/getList") - public ActionResult list(@RequestBody CrmLeadPagination crmLeadPagination)throws Exception{ - List list= crmLeadService.getList(crmLeadPagination); - List> realList=new ArrayList<>(); - for (CrmLeadEntity entity : list) { - Map crmLeadMap=JsonUtil.entityToMap(entity); - crmLeadMap.put("id", crmLeadMap.get("lead_id")); - //副表数据 - //子表数据 - realList.add(crmLeadMap); - } - //数据转换 - boolean isPc = "pc".equals(ServletUtil.getHeader("yunzhupaas-origin" )); - realList = generaterSwapUtil.swapDataList(realList, CrmLeadConstant.getFormData(), CrmLeadConstant.getColumnData(), crmLeadPagination.getModuleId(),isPc?false:false); - - //流程状态添加 - generaterSwapUtil.getFlowStatus(realList); - //返回对象 - PageListVO vo = new PageListVO(); - vo.setList(realList); - PaginationVO page = JsonUtil.getJsonToBean(crmLeadPagination, PaginationVO.class); - vo.setPagination(page); - return ActionResult.success(vo); - } - /** - * 创建 - * - * @param crmLeadForm - * @return - */ - @PostMapping("/{id}") - @Operation(summary = "创建") - public ActionResult create(@PathVariable("id") String id, @RequestBody @Valid CrmLeadForm crmLeadForm) { - String b = crmLeadService.checkForm(crmLeadForm,0); - if (StringUtil.isNotEmpty(b)){ - return ActionResult.fail(b ); - } - try{ - crmLeadService.saveOrUpdate(crmLeadForm, id ,true); - }catch(Exception e){ - return ActionResult.fail(MsgCode.FA028.get()); - } - return ActionResult.success(MsgCode.SU001.get()); - } - /** - * 导出Excel - * - * @return - */ - @Operation(summary = "导出Excel") - @PostMapping("/Actions/Export") - public ActionResult Export(@RequestBody CrmLeadPagination crmLeadPagination) throws IOException { - if (StringUtil.isEmpty(crmLeadPagination.getSelectKey())){ - return ActionResult.fail(MsgCode.IMP011.get()); - } - List list= crmLeadService.getList(crmLeadPagination); - List> realList=new ArrayList<>(); - for (CrmLeadEntity entity : list) { - Map crmLeadMap=JsonUtil.entityToMap(entity); - crmLeadMap.put("id", crmLeadMap.get("lead_id")); - //副表数据 - //子表数据 - realList.add(crmLeadMap); - } - //数据转换 - realList = generaterSwapUtil.swapDataList(realList, CrmLeadConstant.getFormData(), CrmLeadConstant.getColumnData(), crmLeadPagination.getModuleId(),false); - String[]keys=!StringUtil.isEmpty(crmLeadPagination.getSelectKey())?crmLeadPagination.getSelectKey():new String[0]; - UserInfo userInfo=userProvider.get(); - String menuFullName = generaterSwapUtil.getMenuName(crmLeadPagination.getMenuId()); - - DownloadVO vo=this.creatModelExcel(configValueUtil.getTemporaryFilePath(),realList,keys,userInfo,menuFullName); - return ActionResult.success(vo); - } - - /** - * 导出表格方法 - */ - public DownloadVO creatModelExcel(String path,List>list,String[]keys,UserInfo userInfo,String menuFullName){ - DownloadVO vo=DownloadVO.builder().build(); - List entitys=new ArrayList<>(); - if(keys.length>0){ - for(String key:keys){ - switch(key){ - case "lead_name" : - entitys.add(new ExcelExportEntity("线索名称" ,"lead_name")); - break; - case "mobile" : - entitys.add(new ExcelExportEntity("手机号" ,"mobile")); - break; - case "email" : - entitys.add(new ExcelExportEntity("邮箱" ,"email")); - break; - case "lead_status" : - entitys.add(new ExcelExportEntity("状态" ,"lead_status")); - break; - case "sales_id" : - entitys.add(new ExcelExportEntity("销售人员" ,"sales_id")); - break; - case "customer_source" : - entitys.add(new ExcelExportEntity("来源" ,"customer_source")); - break; - case "remark" : - entitys.add(new ExcelExportEntity("备注" ,"remark")); - break; - default: - break; - } - } - } - - ExportParams exportParams = new ExportParams(null, "表单信息"); - exportParams.setType(ExcelType.XSSF); - try{ - @Cleanup Workbook workbook = new HSSFWorkbook(); - if (entitys.size()>0){ - if (list.size()==0){ - list.add(new HashMap<>()); - } - //去除空数据 - List> dataList = new ArrayList<>(); - for (Map map : list) { - int i = 0; - for (String key : keys) { - //子表 - if (key.toLowerCase().startsWith("tablefield")) { - String tableField = key.substring(0, key.indexOf("-" )); - String field = key.substring(key.indexOf("-" ) + 1); - Object o = map.get(tableField); - if (o != null) { - List> childList = (List>) o; - for (Map childMap : childList) { - if (childMap.get(field) != null) { - i++; - } - } - } - } else { - Object o = map.get(key); - if (o != null) { - i++; - } - } - } - if (i > 0) { - dataList.add(map); - } - } - List mergerEntitys = new ArrayList<>(entitys); - List> mergerList=new ArrayList<>(dataList); - //复杂表头-表头和数据处理 - ColumnDataModel columnDataModel = JsonUtil.getJsonToBean(CrmLeadConstant.getColumnData(), ColumnDataModel.class); - List complexHeaderList = columnDataModel.getComplexHeaderList(); - if (!Objects.equals(columnDataModel.getType(), 3) && !Objects.equals(columnDataModel.getType(), 5)) { - entitys = VisualUtils.complexHeaderHandel(entitys, complexHeaderList, Objects.equals(columnDataModel.getType(), 4)); - dataList = VisualUtils.complexHeaderDataHandel(dataList, complexHeaderList, Objects.equals(columnDataModel.getType(), 4)); - } - - exportParams.setStyle(ExcelExportStyler.class); - workbook = ExcelExportUtil.exportExcel(exportParams, entitys, dataList); - VisualUtils.mergerVertical(workbook, mergerEntitys, mergerList); - ExcelModel excelModel = generaterSwapUtil.getExcelParams(CrmLeadConstant.getFormData(),Arrays.asList(keys)); - ExcelHelper helper = new ExcelHelper(); - helper.init(workbook, exportParams, entitys, excelModel); - helper.doPreHandle(); - helper.doPostHandle(); - } - String fileName = menuFullName +"_"+ DateUtil.dateNow("yyyyMMddHHmmss") + ".xls"; - MultipartFile multipartFile = ExcelUtil.workbookToCommonsMultipartFile(workbook, fileName); - String temporaryFilePath = configValueUtil.getTemporaryFilePath(); - FileInfo fileInfo = FileUploadUtils.uploadFile(multipartFile, temporaryFilePath, fileName); - vo.setName(fileInfo.getFilename()); - vo.setUrl(UploaderUtil.uploaderFile(fileInfo.getFilename() + "#" + "Temporary") + "&name=" + fileName); - } catch (Exception e) { - log.error("信息导出Excel错误:{}", e.getMessage()); - e.printStackTrace(); - } - return vo; - } - @Operation(summary = "上传文件") - @PostMapping("/Uploader") - public ActionResult Uploader() { - List list = UpUtil.getFileAll(); - MultipartFile file = list.get(0); - if (file.getOriginalFilename().endsWith(".xlsx") || file.getOriginalFilename().endsWith(".xls")) { - String filePath = XSSEscape.escape(configValueUtil.getTemporaryFilePath()); - String fileName = XSSEscape.escape(RandomUtil.uuId() + "." + UpUtil.getFileType(file)); - //上传文件 - FileInfo fileInfo = FileUploadUtils.uploadFile(file, filePath, fileName); - DownloadVO vo = DownloadVO.builder().build(); - vo.setName(fileInfo.getFilename()); - return ActionResult.success(vo); - } else { - return ActionResult.fail(MsgCode.FA017.get()); - } - } - - /** - * 模板下载 - * - * @return - */ - @Operation(summary = "模板下载") - @GetMapping("/TemplateDownload") - public ActionResult TemplateDownload(@RequestParam("menuId") String menuId){ - DownloadVO vo = DownloadVO.builder().build(); - UserInfo userInfo = userProvider.get(); - String menuFullName = generaterSwapUtil.getMenuName(menuId); - //主表对象 - List entitys = new ArrayList<>(); - List selectKeys = new ArrayList<>(); - //以下添加字段 - entitys.add(new ExcelExportEntity("线索名称(lead_name)" ,"lead_name")); - selectKeys.add("lead_name"); - entitys.add(new ExcelExportEntity("手机号(mobile)" ,"mobile")); - selectKeys.add("mobile"); - entitys.add(new ExcelExportEntity("状态(lead_status)" ,"lead_status")); - selectKeys.add("lead_status"); - entitys.add(new ExcelExportEntity("销售人员(sales_id)" ,"sales_id")); - selectKeys.add("sales_id"); - entitys.add(new ExcelExportEntity("备注(remark)" ,"remark")); - selectKeys.add("remark"); - entitys.add(new ExcelExportEntity("邮箱(email)" ,"email")); - selectKeys.add("email"); - entitys.add(new ExcelExportEntity("来源(customer_source)" ,"customer_source")); - selectKeys.add("customer_source"); - ExcelModel excelModel = generaterSwapUtil.getExcelParams(CrmLeadConstant.getFormData(),selectKeys); - List> list = new ArrayList<>(); - list.add(excelModel.getDataMap()); - - ExportParams exportParams = new ExportParams(null, menuFullName + "模板"); - exportParams.setStyle(ExcelExportStyler.class); - exportParams.setType(ExcelType.XSSF); - try{ - @Cleanup Workbook workbook = new HSSFWorkbook(); - if (entitys.size()>0){ - if (list.size()==0){ - list.add(new HashMap<>()); - } - //复杂表头-表头和数据处理 - ColumnDataModel columnDataModel = JsonUtil.getJsonToBean(CrmLeadConstant.getColumnData(), ColumnDataModel.class); - List complexHeaderList = columnDataModel.getComplexHeaderList(); - if (!Objects.equals(columnDataModel.getType(), 3) && !Objects.equals(columnDataModel.getType(), 5)) { - entitys = VisualUtils.complexHeaderHandel(entitys, complexHeaderList, false); - list = VisualUtils.complexHeaderDataHandel(list, complexHeaderList, false); - } - workbook = ExcelExportUtil.exportExcel(exportParams, entitys, list); - ExcelHelper helper = new ExcelHelper(); - helper.init(workbook, exportParams, entitys, excelModel); - helper.doPreHandle(); - helper.doPostHandle(); - } - String fileName = menuFullName + "导入模板.xls"; - MultipartFile multipartFile = ExcelUtil.workbookToCommonsMultipartFile(workbook, fileName); - String temporaryFilePath = configValueUtil.getTemporaryFilePath(); - FileInfo fileInfo = FileUploadUtils.uploadFile(multipartFile, temporaryFilePath, fileName); - vo.setName(fileInfo.getFilename()); - vo.setUrl(UploaderUtil.uploaderFile(fileInfo.getFilename() + "#" + "Temporary") + "&name=" + fileName); - } catch (Exception e) { - log.error("模板信息导出Excel错误:{}", e.getMessage()); - e.printStackTrace(); - } - return ActionResult.success(vo); - } - - /** - * 导入预览 - * - * @return - */ - @Operation(summary = "导入预览" ) - @GetMapping("/ImportPreview") - public ActionResult> ImportPreview(String fileName) throws Exception { - Map headAndDataMap = new HashMap<>(2); - String filePath = FileUploadUtils.getLocalBasePath() + configValueUtil.getTemporaryFilePath(); - FileUploadUtils.downLocal(configValueUtil.getTemporaryFilePath(), filePath, fileName); - File temporary = new File(XSSEscape.escapePath(filePath + fileName)); - int headerRowIndex = 1; - ImportParams params = new ImportParams(); - params.setTitleRows(0); - params.setHeadRows(headerRowIndex); - params.setNeedVerify(true); - try { - InputStream inputStream = ExcelUtil.solveOrginTitle(temporary, headerRowIndex); - List excelDataList = ExcelUtil.importExcelByInputStream(inputStream, 0, headerRowIndex, Map.class); - //数据超过1000条 - if(excelDataList != null && excelDataList.size() > 1000) { - return ActionResult.fail(MsgCode.ETD117.get()); - } - - ColumnDataModel columnDataModel = JsonUtil.getJsonToBean(CrmLeadConstant.getColumnData(), ColumnDataModel.class); - UploaderTemplateModel uploaderTemplateModel = JsonUtil.getJsonToBean(columnDataModel.getUploaderTemplateJson(), UploaderTemplateModel.class); - List selectKey = uploaderTemplateModel.getSelectKey(); - //子表合并 - List> results = FormExecelUtils.dataMergeChildTable(excelDataList,selectKey); - // 导入字段 - List columns = new ArrayList<>(); - columns.add(new ExcelImFieldModel("lead_name","线索名称","input")); - columns.add(new ExcelImFieldModel("mobile","手机号","input")); - columns.add(new ExcelImFieldModel("lead_status","状态","select")); - columns.add(new ExcelImFieldModel("sales_id","销售人员","usersSelect")); - columns.add(new ExcelImFieldModel("remark","备注","textarea")); - columns.add(new ExcelImFieldModel("email","邮箱","input")); - columns.add(new ExcelImFieldModel("customer_source","来源","select")); - headAndDataMap.put("dataRow" , results); - headAndDataMap.put("headerRow" , JsonUtil.getJsonToList(JsonUtil.getListToJsonArray(columns))); - } catch (Exception e){ - e.printStackTrace(); - return ActionResult.fail(MsgCode.VS407.get()); - } - return ActionResult.success(headAndDataMap); - } - - /** - * 导入数据 - * - * @return - */ - @Operation(summary = "导入数据" ) - @PostMapping("/ImportData") - public ActionResult ImportData(@RequestBody VisualImportModel visualImportModel) throws Exception { - List> listData = visualImportModel.getList(); - ImportFormCheckUniqueModel uniqueModel = new ImportFormCheckUniqueModel(); - uniqueModel.setDbLinkId(CrmLeadConstant.DBLINKID); - uniqueModel.setUpdate(Objects.equals("1", "2")); -uniqueModel.setFlowId(visualImportModel.getFlowId()); - Map tablefieldkey = new HashMap<>(); - for(String key:CrmLeadConstant.TABLEFIELDKEY.keySet()){ - tablefieldkey.put(key,CrmLeadConstant.TABLERENAMES.get(CrmLeadConstant.TABLEFIELDKEY.get(key))); - } - ExcelImportModel excelImportModel = generaterSwapUtil.importData(CrmLeadConstant.getFormData(),listData,uniqueModel, tablefieldkey,CrmLeadConstant.getTableList()); - List importDataModel = uniqueModel.getImportDataModel(); - for (ImportDataModel model : importDataModel) { - String id = model.getId(); - Map result = model.getResultData(); - if(StringUtil.isNotEmpty(id)){ - update(id, JsonUtil.getJsonToBean(result,CrmLeadForm.class), true); - }else { - create(RandomUtil.uuId(), JsonUtil.getJsonToBean(result,CrmLeadForm.class)); - } - } - return ActionResult.success(excelImportModel); - } - - /** - * 导出异常报告 - * - * @return - */ - @Operation(summary = "导出异常报告") - @PostMapping("/ImportExceptionData") - public ActionResult ImportExceptionData(@RequestBody VisualImportModel visualImportModel) { - DownloadVO vo = DownloadVO.builder().build(); - UserInfo userInfo = userProvider.get(); - String menuFullName = generaterSwapUtil.getMenuName(visualImportModel.getMenuId()); - //主表对象 - List entitys = new ArrayList<>(); - entitys.add(new ExcelExportEntity("异常原因", "errorsInfo",30)); - List selectKeys = new ArrayList<>(); - //以下添加字段 - entitys.add(new ExcelExportEntity("线索名称(lead_name)" ,"lead_name")); - selectKeys.add("lead_name"); - entitys.add(new ExcelExportEntity("手机号(mobile)" ,"mobile")); - selectKeys.add("mobile"); - entitys.add(new ExcelExportEntity("状态(lead_status)" ,"lead_status")); - selectKeys.add("lead_status"); - entitys.add(new ExcelExportEntity("销售人员(sales_id)" ,"sales_id")); - selectKeys.add("sales_id"); - entitys.add(new ExcelExportEntity("备注(remark)" ,"remark")); - selectKeys.add("remark"); - entitys.add(new ExcelExportEntity("邮箱(email)" ,"email")); - selectKeys.add("email"); - entitys.add(new ExcelExportEntity("来源(customer_source)" ,"customer_source")); - selectKeys.add("customer_source"); - ExcelModel excelModel = generaterSwapUtil.getExcelParams(CrmLeadConstant.getFormData(),selectKeys); - List> list = new ArrayList<>(); - list.addAll(visualImportModel.getList()); - - ExportParams exportParams = new ExportParams(null, menuFullName + "模板"); - exportParams.setStyle(ExcelExportStyler.class); - exportParams.setType(ExcelType.XSSF); - exportParams.setFreezeCol(1); - try{ - @Cleanup Workbook workbook = new HSSFWorkbook(); - if (entitys.size()>0){ - if (list.size()==0){ - list.add(new HashMap<>()); - } - //复杂表头-表头和数据处理 - ColumnDataModel columnDataModel = JsonUtil.getJsonToBean(CrmLeadConstant.getColumnData(), ColumnDataModel.class); - List complexHeaderList = columnDataModel.getComplexHeaderList(); - if (!Objects.equals(columnDataModel.getType(), 3) && !Objects.equals(columnDataModel.getType(), 5)) { - entitys = VisualUtils.complexHeaderHandel(entitys, complexHeaderList, false); - list = VisualUtils.complexHeaderDataHandel(list, complexHeaderList, false); - } - - workbook = ExcelExportUtil.exportExcel(exportParams, entitys, list); - ExcelHelper helper = new ExcelHelper(); - helper.init(workbook, exportParams, entitys, excelModel); - helper.doPreHandle(); - helper.doPostHandle(); - } - - String fileName = menuFullName + "错误报告_" + DateUtil.dateNow("yyyyMMddHHmmss") + ".xls"; - MultipartFile multipartFile = ExcelUtil.workbookToCommonsMultipartFile(workbook, fileName); - String temporaryFilePath = configValueUtil.getTemporaryFilePath(); - FileInfo fileInfo = FileUploadUtils.uploadFile(multipartFile, temporaryFilePath, fileName); - vo.setName(fileInfo.getFilename()); - vo.setUrl(UploaderUtil.uploaderFile(fileInfo.getFilename() + "#" + "Temporary") + "&name=" + fileName); - } catch (Exception e) { - e.printStackTrace(); - } - return ActionResult.success(vo); - } - /** - * 删除 - * @param id - * @return - */ - @Operation(summary = "删除") - @DeleteMapping("/{id}") - @Transactional - public ActionResult delete(@PathVariable("id") String id,@RequestParam(name = "forceDel",defaultValue = "false") boolean forceDel) throws Exception{ - CrmLeadEntity entity= crmLeadService.getInfo(id); - if(entity!=null){ - if(!forceDel){ - String errMsg = generaterSwapUtil.deleteFlowTask(entity.getFlowTaskId()); - if (StringUtil.isNotEmpty(errMsg)) { - throw new DataException(errMsg); - } - } - //假删除 - entity.setDeleteMark(1); - entity.setDeleteUserId(userProvider.get().getUserId()); - entity.setDeleteTime(new Date()); - crmLeadService.setIgnoreLogicDelete().updateById(entity); - } - return ActionResult.success(MsgCode.SU003.get()); - } - /** - * 批量删除 - * @param obj - * @return - */ - @DeleteMapping("/batchRemove") - @Transactional - @Operation(summary = "批量删除") - public ActionResult batchRemove(@RequestBody Object obj){ - Map objectMap = JsonUtil.entityToMap(obj); - List idList = JsonUtil.getJsonToList(objectMap.get("ids"), String.class); - String errInfo = ""; - List successList = new ArrayList<>(); - for (String allId : idList){ - try { - this.delete(allId,false); - successList.add(allId); - } catch (Exception e) { - errInfo = e.getMessage(); - } - } - if (successList.size() == 0 && StringUtil.isNotEmpty(errInfo)){ - return ActionResult.fail(errInfo); - } - return ActionResult.success(MsgCode.SU003.get()); - } - /** - * 编辑 - * @param id - * @param crmLeadForm - * @return - */ - @PutMapping("/{id}") - @Operation(summary = "更新") - public ActionResult update(@PathVariable("id") String id,@RequestBody @Valid CrmLeadForm crmLeadForm, - @RequestParam(value = "isImport", required = false) boolean isImport){ - CrmLeadEntity entity= crmLeadService.getInfo(id); - if(entity!=null){ - crmLeadForm.setLeadId(String.valueOf(entity.getLeadId())); - - if (!isImport) { - String b = crmLeadService.checkForm(crmLeadForm,1); - if (StringUtil.isNotEmpty(b)){ - return ActionResult.fail(b ); - } - } - - try{ - crmLeadService.saveOrUpdate(crmLeadForm,id,false); - }catch (DataException e1){ - return ActionResult.fail(e1.getMessage()); - }catch(Exception e){ - return ActionResult.fail(MsgCode.FA029.get()); - } - return ActionResult.success(MsgCode.SU004.get()); - }else{ - return ActionResult.fail(MsgCode.FA002.get()); - } - } - /** - * 表单信息(详情页) - * 详情页面使用-转换数据 - * @param id - * @return - */ - @Operation(summary = "表单信息(详情页)") - @GetMapping("/detail/{id}") - public ActionResult detailInfo(@PathVariable("id") String id){ - CrmLeadEntity entity= crmLeadService.getInfo(id); - if(entity==null){ - return ActionResult.fail(MsgCode.FA001.get()); - } - Map crmLeadMap=JsonUtil.entityToMap(entity); - crmLeadMap.put("id", crmLeadMap.get("lead_id")); - //副表数据 - //子表数据 - boolean isPc = "pc".equals(ServletUtil.getHeader("yunzhupaas-origin" )); - crmLeadMap = generaterSwapUtil.swapDataDetail(crmLeadMap,CrmLeadConstant.getFormData(),"807145376418105157",isPc?false:false); - //子表数据 - return ActionResult.success(crmLeadMap); - } - /** - * 获取详情(编辑页) - * 编辑页面使用-不转换数据 - * @param id - * @return - */ - @Operation(summary = "信息") - @GetMapping("/{id}") - public ActionResult info(@PathVariable("id") String id){ - CrmLeadEntity entity= crmLeadService.getInfo(id); - if(entity==null){ - return ActionResult.fail(MsgCode.FA001.get()); - } - Map crmLeadMap=JsonUtil.entityToMap(entity); - crmLeadMap.put("id", crmLeadMap.get("lead_id")); - //副表数据 - //子表数据 - crmLeadMap = generaterSwapUtil.swapDataForm(crmLeadMap,CrmLeadConstant.getFormData(),CrmLeadConstant.TABLEFIELDKEY,CrmLeadConstant.TABLERENAMES); - return ActionResult.success(crmLeadMap); - } - -} diff --git a/yunzhupaas-mdm/yunzhupaas-mdm-controller/src/main/java/com/yunzhupaas/mdm/controller/CustomersController.java b/yunzhupaas-mdm/yunzhupaas-mdm-controller/src/main/java/com/yunzhupaas/mdm/controller/CustomersController.java index bdb6d74..2577bd7 100644 --- a/yunzhupaas-mdm/yunzhupaas-mdm-controller/src/main/java/com/yunzhupaas/mdm/controller/CustomersController.java +++ b/yunzhupaas-mdm/yunzhupaas-mdm-controller/src/main/java/com/yunzhupaas/mdm/controller/CustomersController.java @@ -3,9 +3,9 @@ package com.yunzhupaas.mdm.controller; import cn.hutool.core.util.ObjectUtil; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; -import com.yunzhupaas.mdm.model.custinfo.CustinfoConstant; -import com.yunzhupaas.mdm.model.custinfo.CustinfoForm; -import com.yunzhupaas.mdm.model.custinfo.CustinfoPagination; +import com.yunzhupaas.mdm.model.customer.CustinfoConstant; +import com.yunzhupaas.mdm.model.customer.CustinfoForm; +import com.yunzhupaas.mdm.model.customer.CustinfoPagination; import io.swagger.v3.oas.annotations.Operation; import io.swagger.v3.oas.annotations.tags.Tag; import com.yunzhupaas.base.ActionResult; diff --git a/yunzhupaas-mdm/yunzhupaas-mdm-controller/src/main/java/com/yunzhupaas/mdm/controller/ProjectsController.java b/yunzhupaas-mdm/yunzhupaas-mdm-controller/src/main/java/com/yunzhupaas/mdm/controller/ProjectInfoController.java similarity index 91% rename from yunzhupaas-mdm/yunzhupaas-mdm-controller/src/main/java/com/yunzhupaas/mdm/controller/ProjectsController.java rename to yunzhupaas-mdm/yunzhupaas-mdm-controller/src/main/java/com/yunzhupaas/mdm/controller/ProjectInfoController.java index fc58b61..761ad7d 100644 --- a/yunzhupaas-mdm/yunzhupaas-mdm-controller/src/main/java/com/yunzhupaas/mdm/controller/ProjectsController.java +++ b/yunzhupaas-mdm/yunzhupaas-mdm-controller/src/main/java/com/yunzhupaas/mdm/controller/ProjectInfoController.java @@ -2,39 +2,23 @@ package com.yunzhupaas.mdm.controller; import cn.hutool.core.util.ObjectUtil; -import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import io.swagger.v3.oas.annotations.Operation; import io.swagger.v3.oas.annotations.tags.Tag; import com.yunzhupaas.base.ActionResult; -import com.yunzhupaas.base.UserInfo; import com.yunzhupaas.exception.DataException; -import com.yunzhupaas.permission.entity.UserEntity; import com.yunzhupaas.constant.MsgCode; import com.yunzhupaas.mdm.service.*; import com.yunzhupaas.mdm.entity.*; import com.yunzhupaas.util.*; -import com.yunzhupaas.mdm.model.projects.*; +import com.yunzhupaas.mdm.model.projectInfo.*; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.*; -import com.yunzhupaas.flowable.entity.TaskEntity; import jakarta.validation.Valid; import java.util.*; -import com.yunzhupaas.model.ExcelModel; -import com.yunzhupaas.excel.ExcelExportStyler; -import com.yunzhupaas.excel.ExcelHelper; -import com.yunzhupaas.annotation.YunzhupaasField; + import com.yunzhupaas.base.vo.PageListVO; import com.yunzhupaas.base.vo.PaginationVO; -import com.yunzhupaas.base.vo.DownloadVO; -import com.yunzhupaas.config.ConfigValueUtil; -import com.yunzhupaas.base.entity.ProvinceEntity; -import java.io.IOException; -import java.util.stream.Collectors; -import com.yunzhupaas.flowable.entity.TaskEntity; -import com.yunzhupaas.exception.WorkFlowException; -import com.yunzhupaas.model.visualJson.UploaderTemplateModel; -import com.yunzhupaas.base.util.FormExecelUtils; import org.springframework.transaction.annotation.Transactional; /** @@ -48,7 +32,7 @@ import org.springframework.transaction.annotation.Transactional; @RestController @Tag(name = "项目信息" , description = "2") @RequestMapping("/api/bcm/Projects") -public class ProjectsController { +public class ProjectInfoController { @Autowired private GeneraterSwapUtil generaterSwapUtil; diff --git a/yunzhupaas-mdm/yunzhupaas-mdm-controller/src/main/java/com/yunzhupaas/mdm/controller/SupplierController.java b/yunzhupaas-mdm/yunzhupaas-mdm-controller/src/main/java/com/yunzhupaas/mdm/controller/SupplierController.java index 5728de7..68933bf 100644 --- a/yunzhupaas-mdm/yunzhupaas-mdm-controller/src/main/java/com/yunzhupaas/mdm/controller/SupplierController.java +++ b/yunzhupaas-mdm/yunzhupaas-mdm-controller/src/main/java/com/yunzhupaas/mdm/controller/SupplierController.java @@ -8,36 +8,30 @@ import io.swagger.v3.oas.annotations.tags.Tag; import com.yunzhupaas.base.ActionResult; import com.yunzhupaas.base.UserInfo; import com.yunzhupaas.exception.DataException; -import com.yunzhupaas.permission.entity.UserEntity; import com.yunzhupaas.constant.MsgCode; import com.yunzhupaas.mdm.service.*; import com.yunzhupaas.mdm.entity.*; import com.yunzhupaas.util.*; -import com.yunzhupaas.mdm.model.suppinfo.*; +import com.yunzhupaas.mdm.model.supplier.*; import lombok.extern.slf4j.Slf4j; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.*; -import com.yunzhupaas.flowable.entity.TaskEntity; import jakarta.validation.Valid; import java.util.*; import com.yunzhupaas.model.ExcelModel; import com.yunzhupaas.excel.ExcelExportStyler; import com.yunzhupaas.excel.ExcelHelper; -import com.yunzhupaas.annotation.YunzhupaasField; import com.yunzhupaas.base.vo.PageListVO; import com.yunzhupaas.base.vo.PaginationVO; import com.yunzhupaas.base.vo.DownloadVO; import com.yunzhupaas.config.ConfigValueUtil; -import com.yunzhupaas.base.entity.ProvinceEntity; + import java.io.IOException; -import java.util.stream.Collectors; -import com.yunzhupaas.flowable.entity.TaskEntity; -import com.yunzhupaas.exception.WorkFlowException; + import com.yunzhupaas.model.visualJson.UploaderTemplateModel; import com.yunzhupaas.base.util.FormExecelUtils; import org.springframework.web.multipart.MultipartFile; import cn.afterturn.easypoi.excel.ExcelExportUtil; -import cn.afterturn.easypoi.excel.ExcelImportUtil; import cn.afterturn.easypoi.excel.entity.ExportParams; import cn.afterturn.easypoi.excel.entity.ImportParams; import cn.afterturn.easypoi.excel.entity.params.ExcelExportEntity; @@ -45,7 +39,6 @@ import cn.afterturn.easypoi.excel.entity.enmus.ExcelType; import org.apache.poi.hssf.usermodel.HSSFWorkbook; import org.apache.poi.ss.usermodel.Workbook; import java.io.File; -import java.io.IOException; import java.io.InputStream; import com.yunzhupaas.onlinedev.model.ExcelImFieldModel; import com.yunzhupaas.base.model.OnlineImport.ImportDataModel; diff --git a/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/entity/CrmLeadEntity.java b/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/entity/CrmLeadEntity.java deleted file mode 100644 index 5c19cd8..0000000 --- a/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/entity/CrmLeadEntity.java +++ /dev/null @@ -1,81 +0,0 @@ -package com.yunzhupaas.mdm.entity; - -import com.baomidou.mybatisplus.annotation.*; -import lombok.Data; -import java.util.Date; -import java.util.List; -import com.alibaba.fastjson.annotation.JSONField; -/** - * - * - * @版本: V5.2.7 - * @版权: Copyright @ 2025 深圳市乐程软件有限公司版权所有 - * @作者: 深圳市乐程软件有限公司 - * @日期: 2026-05-18 - */ -@Data -@TableName("crm_lead") -public class CrmLeadEntity { - @TableId(value ="lead_id" ) - @JSONField(name = "lead_id") - private String leadId; - @TableField(value = "lead_name" , updateStrategy = FieldStrategy.IGNORED) - @JSONField(name = "lead_name") - private String leadName; - @TableField(value = "mobile" , updateStrategy = FieldStrategy.IGNORED) - @JSONField(name = "mobile") - private String mobile; - @TableField(value = "email" , updateStrategy = FieldStrategy.IGNORED) - @JSONField(name = "email") - private String email; - @TableField(value = "lead_status" , updateStrategy = FieldStrategy.IGNORED) - @JSONField(name = "lead_status") - private String leadStatus; - @TableField(value = "sales_id" , updateStrategy = FieldStrategy.IGNORED) - @JSONField(name = "sales_id") - private String salesId; - @TableField(value = "customer_source" , updateStrategy = FieldStrategy.IGNORED) - @JSONField(name = "customer_source") - private String customerSource; - @TableField("customer_id") - @JSONField(name = "customer_id") - private String customerId; - @TableField(value = "remark" , updateStrategy = FieldStrategy.IGNORED) - @JSONField(name = "remark") - private String remark; - @TableField("create_by") - @JSONField(name = "create_by") - private String createBy; - @TableField("create_time") - @JSONField(name = "create_time") - private Date createTime; - @TableField("update_by") - @JSONField(name = "update_by") - private String updateBy; - @TableField("update_time") - @JSONField(name = "update_time") - private Date updateTime; - @TableField("f_flow_id") - @JSONField(name = "f_flow_id") - private String flowId; - @TableField("f_flow_task_id") - @JSONField(name = "f_flow_task_id") - private String flowTaskId; - @TableField("f_delete_mark") - @JSONField(name = "f_delete_mark") - private Integer deleteMark; - @TableField("f_delete_time") - @JSONField(name = "f_delete_time") - private Date deleteTime; - @TableField("f_delete_user_id") - @JSONField(name = "f_delete_user_id") - private String deleteUserId; - @TableField("f_version") - @Version - @JSONField(name = "f_version") - private Integer version; - @TableField(value = "f_tenant_id",fill = FieldFill.INSERT_UPDATE) - @JSONField(name = "f_tenant_id") - private String tenantId; - -} diff --git a/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/lpc/LpcConstant.java b/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/corporation/LpcConstant.java similarity index 99% rename from yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/lpc/LpcConstant.java rename to yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/corporation/LpcConstant.java index 8cc35aa..f2e74f7 100644 --- a/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/lpc/LpcConstant.java +++ b/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/corporation/LpcConstant.java @@ -1,4 +1,4 @@ -package com.yunzhupaas.mdm.model.lpc; +package com.yunzhupaas.mdm.model.corporation; import com.yunzhupaas.util.JsonUtil; import java.util.*; diff --git a/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/lpc/LpcExcelErrorVO.java b/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/corporation/LpcExcelErrorVO.java similarity index 91% rename from yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/lpc/LpcExcelErrorVO.java rename to yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/corporation/LpcExcelErrorVO.java index 2dd4a00..e791f43 100644 --- a/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/lpc/LpcExcelErrorVO.java +++ b/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/corporation/LpcExcelErrorVO.java @@ -1,6 +1,6 @@ -package com.yunzhupaas.mdm.model.lpc; +package com.yunzhupaas.mdm.model.corporation; import lombok.Data; import cn.afterturn.easypoi.excel.annotation.Excel; diff --git a/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/lpc/LpcExcelVO.java b/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/corporation/LpcExcelVO.java similarity index 98% rename from yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/lpc/LpcExcelVO.java rename to yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/corporation/LpcExcelVO.java index f289819..50ebd82 100644 --- a/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/lpc/LpcExcelVO.java +++ b/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/corporation/LpcExcelVO.java @@ -1,4 +1,4 @@ -package com.yunzhupaas.mdm.model.lpc; +package com.yunzhupaas.mdm.model.corporation; import com.yunzhupaas.mdm.model.companyBank.CompanyBankExcelVO; import com.yunzhupaas.mdm.model.companyInvoice.CompanyInvoiceExcelVO; diff --git a/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/lpc/LpcForm.java b/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/corporation/LpcForm.java similarity index 99% rename from yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/lpc/LpcForm.java rename to yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/corporation/LpcForm.java index 1f80d44..0d35fa4 100644 --- a/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/lpc/LpcForm.java +++ b/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/corporation/LpcForm.java @@ -1,4 +1,4 @@ -package com.yunzhupaas.mdm.model.lpc; +package com.yunzhupaas.mdm.model.corporation; import com.yunzhupaas.mdm.model.companyBank.CompanyBankModel; import com.yunzhupaas.mdm.model.companyInvoice.CompanyInvoiceModel; diff --git a/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/lpc/LpcPagination.java b/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/corporation/LpcPagination.java similarity index 97% rename from yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/lpc/LpcPagination.java rename to yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/corporation/LpcPagination.java index ffc5e57..845a2f7 100644 --- a/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/lpc/LpcPagination.java +++ b/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/corporation/LpcPagination.java @@ -1,4 +1,4 @@ -package com.yunzhupaas.mdm.model.lpc; +package com.yunzhupaas.mdm.model.corporation; import com.alibaba.fastjson.annotation.JSONField; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/crmlead/CrmLeadConstant.java b/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/crmlead/CrmLeadConstant.java deleted file mode 100644 index faa6c89..0000000 --- a/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/crmlead/CrmLeadConstant.java +++ /dev/null @@ -1,42 +0,0 @@ -package com.yunzhupaas.mdm.model.crmlead; - -import com.yunzhupaas.util.JsonUtil; -import java.util.*; - -/** - * crm_lead配置json - * - * @版本: V5.2.7 - * @版权: Copyright @ 2025 深圳市乐程软件有限公司版权所有 - * @作者: 深圳市乐程软件有限公司 - * @日期: 2026-05-18 - */ -public class CrmLeadConstant{ - /** 数据库链接 */ - public static final String DBLINKID = "0"; - /** 表别名 map */ - public static final Map TABLERENAMES = JsonUtil.getJsonToBean("{\"crm_lead\":\"crmLead\"}",Map.class); - /** 子表model map */ - public static final Map TABLEFIELDKEY = JsonUtil.getJsonToBean("{}",Map.class); - /** 整个表单配置json */ - public static final String getFormData(){ - StringBuilder sb = new StringBuilder(); -sb.append("{\"popupType\":\"drawer\",\"labelWidth\":100,\"classNames\":[],\"className\":[],\"fullScreenWidth\":\"100%\",\"hasConfirmAndAddBtn\":true,\"cancelButtonTextI18nCode\":\"common.cancelText\",\"businessKeyTip\":\"数据已存在,请勿重复提交!\",\"labelPosition\":\"right\",\"printId\":\"\",\"labelSuffix\":\"\",\"customBtns\":[],\"disabled\":false,\"formModel\":\"dataForm\",\"cancelButtonText\":\"取消\",\"confirmButtonText\":\"确定\",\"hasCancelBtn\":true,\"primaryKeyPolicy\":1,\"hasPrintBtn\":false,\"concurrencyLock\":true,\"classJson\":\"\",\"drawerWidth\":\"800px\",\"confirmButtonTextI18nCode\":\"common.okText\",\"printButtonText\":\"打印\",\"businessKeyList\":[],\"formRef\":\"formRef\",\"gutter\":15,\"logicalDelete\":true,\"size\":\"middle\",\"formRules\":\"rules\",\"generalWidth\":\"600px\",\"colon\":false,\"hasConfirmBtn\":true,\"useBusinessKey\":false,\"formStyle\":\"\",\"printButtonTextI18nCode\":\"common.printText\",\"fields\":[{\"clearable\":true,\"maxlength\":50,\"useScan\":false,\"suffixIcon\":\"\",\"addonAfter\":\"\",\"showCount\":false,\"__config__\":{\"formId\":\"formItemcd2c2e\",\"yunzhupaasKey\":\"input\",\"visibility\":[\"pc\",\"app\"],\"noShow\":false,\"tipLabel\":\"\",\"tableFixed\":\"none\",\"dragDisabled\":false,\"className\":[],\"label\":\"线索名称\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"crm_lead\",\"renderKey\":1774574864579,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"tag\":\"YunzhupaasInput\",\"regList\":[],\"tableAlign\":\"left\",\"span\":24},\"readonly\":false,\"maskConfig\":{\"prefixType\":1,\"useUnrealMask\":false,\"maskType\":1,\"unrealMaskLength\":1,\"prefixLimit\":0,\"suffixLimit\":0,\"filler\":\"*\",\"prefixSpecifyChar\":\"\",\"suffixType\":1,\"ignoreChar\":\"\",\"suffixSpecifyChar\":\"\"},\"__vModel__\":\"lead_name\",\"useMask\":false,\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入线索名称\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"maxlength\":11,\"useScan\":false,\"suffixIcon\":\"\",\"addonAfter\":\"\",\"showCount\":false,\"__config__\":{\"formId\":\"formItem35dee5\",\"yunzhupaasKey\":\"input\",\"visibility\":[\"pc\",\"app\"],\"noShow\":false,\"tipLabel\":\"\",\"tableFixed\":\"none\",\"dragDisabled\":false,\"className\":[],\"label\":\"手机号\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"crm_lead\",\"renderKey\":1774574898493,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":true,\"tag\":\"YunzhupaasInput\",\"regList\":[{\"pattern\":\"/^1[3456789]\\\\d{9}$/\",\"message\":\"请输入正确的手机号码\",\"messageI18nCode\":\"sys.validate.mobilePhone\"}],\"tableAlign\":\"left\",\"span\":24},\"readonly\":false,\"maskConfig\":{\"prefixType\":1,\"useUnrealMask\":false,\"maskType\":1,\"unrealMaskLength\":1,\"prefixLimit\":0,\"suffixLimit\":0,\"filler\":\"*\",\"prefixSpecifyChar\":\"\",\"suffixType\":1,\"ignoreChar\":\"\",\"suffixSpecifyChar\":\"\"},\"__vModel__\":\"mobile\",\"useMask\":false,\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入手机号\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"maxlength\":50,\"useScan\":false,\"suffixIcon\":\"\",\"addonAfter\":\"\",\"showCount\":false,\"__config__\":{\"formId\":\"formItem4e5a2c\",\"yunzhupaasKey\":\"input\",\"visibility\":[\"pc\",\"app\"],\"noShow\":false,\"tipLabel\":\"\",\"tableFixed\":\"none\",\"dragDisabled\":false,\"className\":[],\"label\":\"邮箱\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"crm_lead\",\"renderKey\":1774574938265,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"tag\":\"YunzhupaasInput\",\"regList\":[{\"pattern\":\"/^[a-z0-9]+([._\\\\-]*[a-z0-9])*@([a-z0-9]+[-a-z0-9]*[a-z0-9]+.){1,63}[a-z0-9]+$/\",\"message\":\"请输入正确的邮箱\",\"messageI18nCode\":\"sys.validate.email\"}],\"tableAlign\":\"left\",\"span\":24},\"readonly\":false,\"maskConfig\":{\"prefixType\":1,\"useUnrealMask\":false,\"maskType\":1,\"unrealMaskLength\":1,\"prefixLimit\":0,\"suffixLimit\":0,\"filler\":\"*\",\"prefixSpecifyChar\":\"\",\"suffixType\":1,\"ignoreChar\":\"\",\"suffixSpecifyChar\":\"\"},\"__vModel__\":\"email\",\"useMask\":false,\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入邮箱\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"filterable\":false,\"clearable\":true,\"__config__\":{\"yunzhupaasKey\":\"select\",\"defaultValue\":\"Unassigned\",\"dragDisabled\":false,\"className\":[],\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":true,\"tableName\":\"crm_lead\",\"renderKey\":1774574965631,\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"tag\":\"YunzhupaasSelect\",\"formId\":\"formItem199e0c\",\"visibility\":[\"pc\",\"app\"],\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"tableFixed\":\"none\",\"label\":\"状态\",\"trigger\":\"change\",\"layout\":\"colFormItem\",\"useCache\":true,\"propsName\":\"\",\"regList\":[],\"tableAlign\":\"left\",\"span\":24},\"options\":[{\"fullName\":\"待分配\",\"id\":\"Unassigned\"},{\"fullName\":\"跟进中\",\"id\":\"InProgress\"},{\"fullName\":\"已转换\",\"id\":\"Converted\"},{\"fullName\":\"无效\",\"id\":\"Invalid\"}],\"multiple\":false,\"__vModel__\":\"lead_status\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请选择状态\",\"props\":{\"label\":\"fullName\",\"value\":\"id\"}},{\"clearable\":true,\"__config__\":{\"formId\":\"formItem20008f\",\"yunzhupaasKey\":\"usersSelect\",\"visibility\":[\"pc\",\"app\"],\"noShow\":false,\"tipLabel\":\"\",\"tableFixed\":\"none\",\"dragDisabled\":false,\"className\":[],\"label\":\"销售人员\",\"trigger\":\"change\",\"showLabel\":true,\"required\":true,\"tableName\":\"crm_lead\",\"renderKey\":1774575084782,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-founder\",\"defaultCurrent\":false,\"tag\":\"YunzhupaasUsersSelect\",\"regList\":[],\"tableAlign\":\"left\",\"span\":24},\"ableIds\":[],\"multiple\":false,\"__vModel__\":\"sales_id\",\"style\":{\"width\":\"100%\"},\"selectType\":\"all\",\"disabled\":false,\"placeholder\":\"请选择销售人员\"},{\"filterable\":false,\"clearable\":true,\"__config__\":{\"yunzhupaasKey\":\"select\",\"defaultValue\":\"\",\"dragDisabled\":false,\"className\":[],\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"crm_lead\",\"renderKey\":1774575125146,\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"tag\":\"YunzhupaasSelect\",\"formId\":\"formItem0800c0\",\"visibility\":[\"pc\",\"app\"],\"noShow\":false,\"dataType\":\"dictionary\",\"dictionaryType\":\"797256993944371205\",\"tipLabel\":\"\",\"tableFixed\":\"none\",\"label\":\"来源\",\"trigger\":\"change\",\"layout\":\"colFormItem\",\"useCache\":true,\"propsName\":\"\",\"regList\":[],\"tableAlign\":\"left\",\"span\":24},\"multiple\":false,\"__vModel__\":\"customer_source\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请选择来源\",\"props\":{\"label\":\"fullName\",\"value\":\"enCode\"}},{\"autoSize\":{\"minRows\":4,\"maxRows\":4},\"clearable\":true,\"showCount\":false,\"__config__\":{\"formId\":\"formItem292367\",\"yunzhupaasKey\":\"textarea\",\"visibility\":[\"pc\",\"app\"],\"noShow\":false,\"tipLabel\":\"\",\"tableFixed\":\"none\",\"dragDisabled\":false,\"className\":[],\"label\":\"备注\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"crm_lead\",\"renderKey\":1774575155402,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-textarea\",\"tag\":\"YunzhupaasTextarea\",\"regList\":[],\"tableAlign\":\"left\",\"span\":24},\"readonly\":false,\"maxlength\":200,\"__vModel__\":\"remark\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"placeholder\":\"请输入备注\"}],\"detailExtraList\":[],\"span\":24,\"dataLog\":false}"); return sb.toString(); - } - /** 列表字段配置json */ - public static final String getColumnData(){ - StringBuilder sb = new StringBuilder(); -sb.append("{\"showSummary\":false,\"treePropsValue\":\"id\",\"columnOptions\":[{\"clearable\":true,\"maxlength\":50,\"useScan\":false,\"suffixIcon\":\"\",\"fullName\":\"线索名称\",\"fullNameI18nCode\":[\"\"],\"addonAfter\":\"\",\"showCount\":false,\"__config__\":{\"formId\":\"formItemcd2c2e\",\"yunzhupaasKey\":\"input\",\"visibility\":[\"pc\",\"app\"],\"noShow\":false,\"tipLabel\":\"\",\"tableFixed\":\"none\",\"dragDisabled\":false,\"className\":[],\"label\":\"线索名称\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"crm_lead\",\"renderKey\":1774574864579,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"tag\":\"YunzhupaasInput\",\"regList\":[],\"tableAlign\":\"left\",\"span\":24},\"readonly\":false,\"maskConfig\":{\"prefixType\":1,\"useUnrealMask\":false,\"maskType\":1,\"unrealMaskLength\":1,\"prefixLimit\":0,\"suffixLimit\":0,\"filler\":\"*\",\"prefixSpecifyChar\":\"\",\"suffixType\":1,\"ignoreChar\":\"\",\"suffixSpecifyChar\":\"\"},\"__vModel__\":\"lead_name\",\"useMask\":false,\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"lead_name\",\"placeholder\":\"请输入线索名称\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"maxlength\":11,\"useScan\":false,\"suffixIcon\":\"\",\"fullName\":\"手机号\",\"fullNameI18nCode\":[\"\"],\"addonAfter\":\"\",\"showCount\":false,\"__config__\":{\"formId\":\"formItem35dee5\",\"yunzhupaasKey\":\"input\",\"visibility\":[\"pc\",\"app\"],\"noShow\":false,\"tipLabel\":\"\",\"tableFixed\":\"none\",\"dragDisabled\":false,\"className\":[],\"label\":\"手机号\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"crm_lead\",\"renderKey\":1774574898493,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":true,\"tag\":\"YunzhupaasInput\",\"regList\":[{\"pattern\":\"/^1[3456789]\\\\d{9}$/\",\"message\":\"请输入正确的手机号码\",\"messageI18nCode\":\"sys.validate.mobilePhone\"}],\"tableAlign\":\"left\",\"span\":24},\"readonly\":false,\"maskConfig\":{\"prefixType\":1,\"useUnrealMask\":false,\"maskType\":1,\"unrealMaskLength\":1,\"prefixLimit\":0,\"suffixLimit\":0,\"filler\":\"*\",\"prefixSpecifyChar\":\"\",\"suffixType\":1,\"ignoreChar\":\"\",\"suffixSpecifyChar\":\"\"},\"__vModel__\":\"mobile\",\"useMask\":false,\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"mobile\",\"placeholder\":\"请输入手机号\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"maxlength\":50,\"useScan\":false,\"suffixIcon\":\"\",\"fullName\":\"邮箱\",\"fullNameI18nCode\":[\"\"],\"addonAfter\":\"\",\"showCount\":false,\"__config__\":{\"formId\":\"formItem4e5a2c\",\"yunzhupaasKey\":\"input\",\"visibility\":[\"pc\",\"app\"],\"noShow\":false,\"tipLabel\":\"\",\"tableFixed\":\"none\",\"dragDisabled\":false,\"className\":[],\"label\":\"邮箱\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"crm_lead\",\"renderKey\":1774574938265,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"tag\":\"YunzhupaasInput\",\"regList\":[{\"pattern\":\"/^[a-z0-9]+([._\\\\-]*[a-z0-9])*@([a-z0-9]+[-a-z0-9]*[a-z0-9]+.){1,63}[a-z0-9]+$/\",\"message\":\"请输入正确的邮箱\",\"messageI18nCode\":\"sys.validate.email\"}],\"tableAlign\":\"left\",\"span\":24},\"readonly\":false,\"maskConfig\":{\"prefixType\":1,\"useUnrealMask\":false,\"maskType\":1,\"unrealMaskLength\":1,\"prefixLimit\":0,\"suffixLimit\":0,\"filler\":\"*\",\"prefixSpecifyChar\":\"\",\"suffixType\":1,\"ignoreChar\":\"\",\"suffixSpecifyChar\":\"\"},\"__vModel__\":\"email\",\"useMask\":false,\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"email\",\"placeholder\":\"请输入邮箱\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"filterable\":false,\"clearable\":true,\"multiple\":false,\"fullName\":\"状态\",\"fullNameI18nCode\":[\"\"],\"props\":{\"label\":\"fullName\",\"value\":\"id\"},\"__config__\":{\"yunzhupaasKey\":\"select\",\"defaultValue\":\"Unassigned\",\"dragDisabled\":false,\"className\":[],\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":true,\"tableName\":\"crm_lead\",\"renderKey\":1774574965631,\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"tag\":\"YunzhupaasSelect\",\"formId\":\"formItem199e0c\",\"visibility\":[\"pc\",\"app\"],\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"tableFixed\":\"none\",\"label\":\"状态\",\"trigger\":\"change\",\"layout\":\"colFormItem\",\"useCache\":true,\"propsName\":\"\",\"regList\":[],\"tableAlign\":\"left\",\"span\":24},\"options\":[{\"fullName\":\"待分配\",\"id\":\"Unassigned\"},{\"fullName\":\"跟进中\",\"id\":\"InProgress\"},{\"fullName\":\"已转换\",\"id\":\"Converted\"},{\"fullName\":\"无效\",\"id\":\"Invalid\"}],\"__vModel__\":\"lead_status\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"lead_status\",\"placeholder\":\"请选择状态\"},{\"clearable\":true,\"ableIds\":[],\"multiple\":false,\"fullName\":\"销售人员\",\"fullNameI18nCode\":[\"\"],\"__config__\":{\"formId\":\"formItem20008f\",\"yunzhupaasKey\":\"usersSelect\",\"visibility\":[\"pc\",\"app\"],\"noShow\":false,\"tipLabel\":\"\",\"tableFixed\":\"none\",\"dragDisabled\":false,\"className\":[],\"label\":\"销售人员\",\"trigger\":\"change\",\"showLabel\":true,\"required\":true,\"tableName\":\"crm_lead\",\"renderKey\":1774575084782,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-founder\",\"defaultCurrent\":false,\"tag\":\"YunzhupaasUsersSelect\",\"regList\":[],\"tableAlign\":\"left\",\"span\":24},\"__vModel__\":\"sales_id\",\"style\":{\"width\":\"100%\"},\"selectType\":\"all\",\"disabled\":false,\"id\":\"sales_id\",\"placeholder\":\"请选择销售人员\"},{\"filterable\":false,\"clearable\":true,\"multiple\":false,\"fullName\":\"来源\",\"fullNameI18nCode\":[\"\"],\"props\":{\"label\":\"fullName\",\"value\":\"enCode\"},\"__config__\":{\"yunzhupaasKey\":\"select\",\"defaultValue\":\"\",\"dragDisabled\":false,\"className\":[],\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"crm_lead\",\"renderKey\":1774575125146,\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"tag\":\"YunzhupaasSelect\",\"formId\":\"formItem0800c0\",\"visibility\":[\"pc\",\"app\"],\"noShow\":false,\"dataType\":\"dictionary\",\"dictionaryType\":\"797256993944371205\",\"tipLabel\":\"\",\"tableFixed\":\"none\",\"label\":\"来源\",\"trigger\":\"change\",\"layout\":\"colFormItem\",\"useCache\":true,\"propsName\":\"\",\"regList\":[],\"tableAlign\":\"left\",\"span\":24},\"__vModel__\":\"customer_source\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"customer_source\",\"placeholder\":\"请选择来源\"},{\"clearable\":true,\"maxlength\":200,\"fullName\":\"备注\",\"fullNameI18nCode\":[\"\"],\"autoSize\":{\"minRows\":4,\"maxRows\":4},\"showCount\":false,\"__config__\":{\"formId\":\"formItem292367\",\"yunzhupaasKey\":\"textarea\",\"visibility\":[\"pc\",\"app\"],\"noShow\":false,\"tipLabel\":\"\",\"tableFixed\":\"none\",\"dragDisabled\":false,\"className\":[],\"label\":\"备注\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"crm_lead\",\"renderKey\":1774575155402,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-textarea\",\"tag\":\"YunzhupaasTextarea\",\"regList\":[],\"tableAlign\":\"left\",\"span\":24},\"readonly\":false,\"__vModel__\":\"remark\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"remark\",\"placeholder\":\"请输入备注\"}],\"pageSize\":20,\"type\":1,\"columnBtnsList\":[{\"show\":true,\"icon\":\"icon-ym icon-ym-btn-edit\",\"label\":\"编辑\",\"event\":{\"enableFunc\":\"({ row, rowIndex, onlineUtils }) => {\\r\\n\\r\\n return true \\r\\n}\"},\"value\":\"edit\",\"labelI18nCode\":\"common.editText\"},{\"show\":true,\"icon\":\"icon-ym icon-ym-btn-clearn\",\"label\":\"删除\",\"event\":{\"enableFunc\":\"({ row, rowIndex, onlineUtils }) => {\\r\\n\\r\\n return true \\r\\n}\"},\"value\":\"remove\",\"labelI18nCode\":\"common.delText\"},{\"show\":true,\"icon\":\"icon-ym icon-ym-generator-menu\",\"label\":\"详情\",\"event\":{\"enableFunc\":\"({ row, rowIndex, onlineUtils }) => {\\r\\n\\r\\n return true \\r\\n}\"},\"value\":\"detail\",\"labelI18nCode\":\"common.detailText\"}],\"treeTitle\":\"左侧标题\",\"defaultColumnList\":[{\"yunzhupaasKey\":\"input\",\"useScan\":false,\"suffixIcon\":\"\",\"fullNameI18nCode\":[\"\"],\"align\":\"left\",\"showCount\":false,\"__config__\":{\"formId\":\"formItemcd2c2e\",\"yunzhupaasKey\":\"input\",\"visibility\":[\"pc\",\"app\"],\"noShow\":false,\"tipLabel\":\"\",\"tableFixed\":\"none\",\"dragDisabled\":false,\"className\":[],\"label\":\"线索名称\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"crm_lead\",\"renderKey\":1774574864579,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"tag\":\"YunzhupaasInput\",\"regList\":[],\"tableAlign\":\"left\",\"span\":24},\"readonly\":false,\"prop\":\"lead_name\",\"__vModel__\":\"lead_name\",\"checked\":true,\"disabled\":false,\"id\":\"lead_name\",\"placeholder\":\"请输入线索名称\",\"addonBefore\":\"\",\"clearable\":true,\"resizable\":true,\"maxlength\":50,\"fullName\":\"线索名称\",\"label\":\"线索名称\",\"sortable\":false,\"addonAfter\":\"\",\"maskConfig\":{\"prefixType\":1,\"useUnrealMask\":false,\"maskType\":1,\"unrealMaskLength\":1,\"prefixLimit\":0,\"suffixLimit\":0,\"filler\":\"*\",\"prefixSpecifyChar\":\"\",\"suffixType\":1,\"ignoreChar\":\"\",\"suffixSpecifyChar\":\"\"},\"useMask\":false,\"showPassword\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"prefixIcon\":\"\",\"labelI18nCode\":\"\"},{\"yunzhupaasKey\":\"input\",\"useScan\":false,\"suffixIcon\":\"\",\"fullNameI18nCode\":[\"\"],\"align\":\"left\",\"showCount\":false,\"__config__\":{\"formId\":\"formItem35dee5\",\"yunzhupaasKey\":\"input\",\"visibility\":[\"pc\",\"app\"],\"noShow\":false,\"tipLabel\":\"\",\"tableFixed\":\"none\",\"dragDisabled\":false,\"className\":[],\"label\":\"手机号\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"crm_lead\",\"renderKey\":1774574898493,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":true,\"tag\":\"YunzhupaasInput\",\"regList\":[{\"pattern\":\"/^1[3456789]\\\\d{9}$/\",\"message\":\"请输入正确的手机号码\",\"messageI18nCode\":\"sys.validate.mobilePhone\"}],\"tableAlign\":\"left\",\"span\":24},\"readonly\":false,\"prop\":\"mobile\",\"__vModel__\":\"mobile\",\"checked\":true,\"disabled\":false,\"id\":\"mobile\",\"placeholder\":\"请输入手机号\",\"addonBefore\":\"\",\"clearable\":true,\"resizable\":true,\"maxlength\":11,\"fullName\":\"手机号\",\"label\":\"手机号\",\"sortable\":false,\"addonAfter\":\"\",\"maskConfig\":{\"prefixType\":1,\"useUnrealMask\":false,\"maskType\":1,\"unrealMaskLength\":1,\"prefixLimit\":0,\"suffixLimit\":0,\"filler\":\"*\",\"prefixSpecifyChar\":\"\",\"suffixType\":1,\"ignoreChar\":\"\",\"suffixSpecifyChar\":\"\"},\"useMask\":false,\"showPassword\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"prefixIcon\":\"\",\"labelI18nCode\":\"\"},{\"yunzhupaasKey\":\"input\",\"useScan\":false,\"suffixIcon\":\"\",\"fullNameI18nCode\":[\"\"],\"align\":\"left\",\"showCount\":false,\"__config__\":{\"formId\":\"formItem4e5a2c\",\"yunzhupaasKey\":\"input\",\"visibility\":[\"pc\",\"app\"],\"noShow\":false,\"tipLabel\":\"\",\"tableFixed\":\"none\",\"dragDisabled\":false,\"className\":[],\"label\":\"邮箱\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"crm_lead\",\"renderKey\":1774574938265,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"tag\":\"YunzhupaasInput\",\"regList\":[{\"pattern\":\"/^[a-z0-9]+([._\\\\-]*[a-z0-9])*@([a-z0-9]+[-a-z0-9]*[a-z0-9]+.){1,63}[a-z0-9]+$/\",\"message\":\"请输入正确的邮箱\",\"messageI18nCode\":\"sys.validate.email\"}],\"tableAlign\":\"left\",\"span\":24},\"readonly\":false,\"prop\":\"email\",\"__vModel__\":\"email\",\"checked\":true,\"disabled\":false,\"id\":\"email\",\"placeholder\":\"请输入邮箱\",\"addonBefore\":\"\",\"clearable\":true,\"resizable\":true,\"maxlength\":50,\"fullName\":\"邮箱\",\"label\":\"邮箱\",\"sortable\":false,\"addonAfter\":\"\",\"maskConfig\":{\"prefixType\":1,\"useUnrealMask\":false,\"maskType\":1,\"unrealMaskLength\":1,\"prefixLimit\":0,\"suffixLimit\":0,\"filler\":\"*\",\"prefixSpecifyChar\":\"\",\"suffixType\":1,\"ignoreChar\":\"\",\"suffixSpecifyChar\":\"\"},\"useMask\":false,\"showPassword\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"prefixIcon\":\"\",\"labelI18nCode\":\"\"},{\"yunzhupaasKey\":\"select\",\"filterable\":false,\"clearable\":true,\"resizable\":true,\"multiple\":false,\"fullName\":\"状态\",\"fullNameI18nCode\":[\"\"],\"label\":\"状态\",\"sortable\":false,\"align\":\"left\",\"props\":{\"label\":\"fullName\",\"value\":\"id\"},\"__config__\":{\"yunzhupaasKey\":\"select\",\"defaultValue\":\"Unassigned\",\"dragDisabled\":false,\"className\":[],\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":true,\"tableName\":\"crm_lead\",\"renderKey\":1774574965631,\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"tag\":\"YunzhupaasSelect\",\"formId\":\"formItem199e0c\",\"visibility\":[\"pc\",\"app\"],\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"tableFixed\":\"none\",\"label\":\"状态\",\"trigger\":\"change\",\"layout\":\"colFormItem\",\"useCache\":true,\"propsName\":\"\",\"regList\":[],\"tableAlign\":\"left\",\"span\":24},\"prop\":\"lead_status\",\"options\":[{\"fullName\":\"待分配\",\"id\":\"Unassigned\"},{\"fullName\":\"跟进中\",\"id\":\"InProgress\"},{\"fullName\":\"已转换\",\"id\":\"Converted\"},{\"fullName\":\"无效\",\"id\":\"Invalid\"}],\"__vModel__\":\"lead_status\",\"checked\":true,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"lead_status\",\"placeholder\":\"请选择状态\",\"labelI18nCode\":\"\"},{\"yunzhupaasKey\":\"usersSelect\",\"clearable\":true,\"resizable\":true,\"ableIds\":[],\"multiple\":false,\"fullName\":\"销售人员\",\"fullNameI18nCode\":[\"\"],\"label\":\"销售人员\",\"sortable\":false,\"align\":\"left\",\"__config__\":{\"formId\":\"formItem20008f\",\"yunzhupaasKey\":\"usersSelect\",\"visibility\":[\"pc\",\"app\"],\"noShow\":false,\"tipLabel\":\"\",\"tableFixed\":\"none\",\"dragDisabled\":false,\"className\":[],\"label\":\"销售人员\",\"trigger\":\"change\",\"showLabel\":true,\"required\":true,\"tableName\":\"crm_lead\",\"renderKey\":1774575084782,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-founder\",\"defaultCurrent\":false,\"tag\":\"YunzhupaasUsersSelect\",\"regList\":[],\"tableAlign\":\"left\",\"span\":24},\"prop\":\"sales_id\",\"__vModel__\":\"sales_id\",\"checked\":true,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"selectType\":\"all\",\"disabled\":false,\"id\":\"sales_id\",\"placeholder\":\"请选择销售人员\",\"labelI18nCode\":\"\"},{\"yunzhupaasKey\":\"select\",\"filterable\":false,\"clearable\":true,\"resizable\":true,\"multiple\":false,\"fullName\":\"来源\",\"fullNameI18nCode\":[\"\"],\"label\":\"来源\",\"sortable\":false,\"align\":\"left\",\"props\":{\"label\":\"fullName\",\"value\":\"enCode\"},\"__config__\":{\"yunzhupaasKey\":\"select\",\"defaultValue\":\"\",\"dragDisabled\":false,\"className\":[],\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"crm_lead\",\"renderKey\":1774575125146,\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"tag\":\"YunzhupaasSelect\",\"formId\":\"formItem0800c0\",\"visibility\":[\"pc\",\"app\"],\"noShow\":false,\"dataType\":\"dictionary\",\"dictionaryType\":\"797256993944371205\",\"tipLabel\":\"\",\"tableFixed\":\"none\",\"label\":\"来源\",\"trigger\":\"change\",\"layout\":\"colFormItem\",\"useCache\":true,\"propsName\":\"\",\"regList\":[],\"tableAlign\":\"left\",\"span\":24},\"prop\":\"customer_source\",\"__vModel__\":\"customer_source\",\"checked\":true,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"customer_source\",\"placeholder\":\"请选择来源\",\"labelI18nCode\":\"\"},{\"yunzhupaasKey\":\"textarea\",\"clearable\":true,\"resizable\":true,\"maxlength\":200,\"fullName\":\"备注\",\"fullNameI18nCode\":[\"\"],\"label\":\"备注\",\"sortable\":false,\"align\":\"left\",\"autoSize\":{\"minRows\":4,\"maxRows\":4},\"showCount\":false,\"__config__\":{\"formId\":\"formItem292367\",\"yunzhupaasKey\":\"textarea\",\"visibility\":[\"pc\",\"app\"],\"noShow\":false,\"tipLabel\":\"\",\"tableFixed\":\"none\",\"dragDisabled\":false,\"className\":[],\"label\":\"备注\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"crm_lead\",\"renderKey\":1774575155402,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-textarea\",\"tag\":\"YunzhupaasTextarea\",\"regList\":[],\"tableAlign\":\"left\",\"span\":24},\"readonly\":false,\"prop\":\"remark\",\"__vModel__\":\"remark\",\"checked\":true,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"remark\",\"placeholder\":\"请输入备注\",\"labelI18nCode\":\"\"}],\"treeRelationFieldAbleIds\":[],\"treeSyncInterfaceName\":\"\",\"treeSyncTemplateJson\":[],\"treeRelation\":\"\",\"defaultSortConfig\":[],\"tabConfig\":{\"hasAllTab\":true,\"relationField\":\"\",\"on\":false},\"hasSuperQuery\":true,\"treePropsLabel\":\"fullName\",\"groupField\":\"\",\"printIds\":[],\"uploaderTemplateJson\":{\"selectKey\":[\"lead_name\",\"mobile\",\"lead_status\",\"sales_id\",\"remark\",\"email\",\"customer_source\"],\"dataType\":\"1\"},\"hasTreeQuery\":false,\"useFormPermission\":true,\"complexHeaderList\":[],\"useBtnPermission\":true,\"treeSyncType\":0,\"hasPage\":true,\"searchList\":[{\"yunzhupaasKey\":\"input\",\"useScan\":false,\"suffixIcon\":\"\",\"fullNameI18nCode\":[\"\"],\"showCount\":false,\"__config__\":{\"formId\":\"formItem35dee5\",\"yunzhupaasKey\":\"input\",\"visibility\":[\"pc\",\"app\"],\"noShow\":false,\"tipLabel\":\"\",\"tableFixed\":\"none\",\"dragDisabled\":false,\"className\":[],\"label\":\"手机号\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"crm_lead\",\"renderKey\":1774574898493,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":true,\"tag\":\"YunzhupaasInput\",\"regList\":[{\"pattern\":\"/^1[3456789]\\\\d{9}$/\",\"message\":\"请输入正确的手机号码\",\"messageI18nCode\":\"sys.validate.mobilePhone\"}],\"tableAlign\":\"left\",\"span\":24},\"readonly\":false,\"prop\":\"mobile\",\"__vModel__\":\"mobile\",\"searchMultiple\":false,\"disabled\":false,\"id\":\"mobile\",\"placeholder\":\"请输入手机号\",\"addonBefore\":\"\",\"clearable\":true,\"searchType\":2,\"maxlength\":11,\"fullName\":\"手机号\",\"label\":\"手机号\",\"addonAfter\":\"\",\"maskConfig\":{\"prefixType\":1,\"useUnrealMask\":false,\"maskType\":1,\"unrealMaskLength\":1,\"prefixLimit\":0,\"suffixLimit\":0,\"filler\":\"*\",\"prefixSpecifyChar\":\"\",\"suffixType\":1,\"ignoreChar\":\"\",\"suffixSpecifyChar\":\"\"},\"isKeyword\":true,\"useMask\":false,\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"prefixIcon\":\"\",\"labelI18nCode\":\"\"},{\"yunzhupaasKey\":\"select\",\"filterable\":false,\"clearable\":true,\"searchType\":1,\"multiple\":false,\"fullName\":\"来源\",\"fullNameI18nCode\":[\"\"],\"label\":\"来源\",\"props\":{\"label\":\"fullName\",\"value\":\"enCode\"},\"__config__\":{\"yunzhupaasKey\":\"select\",\"defaultValue\":\"\",\"dragDisabled\":false,\"className\":[],\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"crm_lead\",\"renderKey\":1774575125146,\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"tag\":\"YunzhupaasSelect\",\"formId\":\"formItem0800c0\",\"visibility\":[\"pc\",\"app\"],\"noShow\":false,\"dataType\":\"dictionary\",\"dictionaryType\":\"797256993944371205\",\"tipLabel\":\"\",\"tableFixed\":\"none\",\"label\":\"来源\",\"trigger\":\"change\",\"layout\":\"colFormItem\",\"useCache\":true,\"propsName\":\"\",\"regList\":[],\"tableAlign\":\"left\",\"span\":24},\"prop\":\"customer_source\",\"__vModel__\":\"customer_source\",\"searchMultiple\":true,\"isKeyword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"customer_source\",\"placeholder\":\"请选择来源\",\"labelI18nCode\":\"\"}],\"ruleList\":{\"conditionList\":[],\"matchLogic\":\"and\"},\"childTableStyle\":1,\"treePropsChildren\":\"children\",\"treeRelationFieldSelectType\":\"all\",\"showOverflow\":true,\"treeTemplateJson\":[],\"treeTitleI18nCode\":\"\",\"treePropsName\":\"\",\"useColumnPermission\":true,\"treePropsUrl\":\"\",\"btnsList\":[{\"show\":true,\"icon\":\"icon-ym icon-ym-btn-add\",\"label\":\"新增\",\"value\":\"add\",\"labelI18nCode\":\"common.add2Text\"},{\"show\":true,\"icon\":\"icon-ym icon-ym-btn-download\",\"label\":\"导出\",\"value\":\"download\",\"labelI18nCode\":\"common.exportText\"},{\"show\":true,\"icon\":\"icon-ym icon-ym-btn-upload\",\"label\":\"导入\",\"value\":\"upload\",\"labelI18nCode\":\"common.importText\"},{\"show\":false,\"icon\":\"icon-ym icon-ym-btn-clearn\",\"label\":\"批量删除\",\"value\":\"batchRemove\",\"labelI18nCode\":\"common.batchDelText\"},{\"show\":false,\"icon\":\"icon-ym icon-ym-report-icon-preview-printPreview\",\"label\":\"批量打印\",\"value\":\"batchPrint\",\"labelI18nCode\":\"common.batchPrintText\"}],\"useDataPermission\":true,\"viewKey\":\"\",\"columnList\":[{\"yunzhupaasKey\":\"input\",\"useScan\":false,\"suffixIcon\":\"\",\"fullNameI18nCode\":[\"\"],\"align\":\"left\",\"showCount\":false,\"__config__\":{\"formId\":\"formItemcd2c2e\",\"yunzhupaasKey\":\"input\",\"visibility\":[\"pc\",\"app\"],\"noShow\":false,\"tipLabel\":\"\",\"tableFixed\":\"none\",\"dragDisabled\":false,\"className\":[],\"label\":\"线索名称\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"crm_lead\",\"renderKey\":1774574864579,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"tag\":\"YunzhupaasInput\",\"regList\":[],\"tableAlign\":\"left\",\"span\":24},\"readonly\":false,\"prop\":\"lead_name\",\"__vModel__\":\"lead_name\",\"disabled\":false,\"id\":\"lead_name\",\"placeholder\":\"请输入线索名称\",\"addonBefore\":\"\",\"clearable\":true,\"resizable\":true,\"maxlength\":50,\"fullName\":\"线索名称\",\"label\":\"线索名称\",\"sortable\":false,\"addonAfter\":\"\",\"maskConfig\":{\"prefixType\":1,\"useUnrealMask\":false,\"maskType\":1,\"unrealMaskLength\":1,\"prefixLimit\":0,\"suffixLimit\":0,\"filler\":\"*\",\"prefixSpecifyChar\":\"\",\"suffixType\":1,\"ignoreChar\":\"\",\"suffixSpecifyChar\":\"\"},\"useMask\":false,\"showPassword\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"prefixIcon\":\"\",\"labelI18nCode\":\"\"},{\"yunzhupaasKey\":\"input\",\"useScan\":false,\"suffixIcon\":\"\",\"fullNameI18nCode\":[\"\"],\"align\":\"left\",\"showCount\":false,\"__config__\":{\"formId\":\"formItem35dee5\",\"yunzhupaasKey\":\"input\",\"visibility\":[\"pc\",\"app\"],\"noShow\":false,\"tipLabel\":\"\",\"tableFixed\":\"none\",\"dragDisabled\":false,\"className\":[],\"label\":\"手机号\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"crm_lead\",\"renderKey\":1774574898493,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":true,\"tag\":\"YunzhupaasInput\",\"regList\":[{\"pattern\":\"/^1[3456789]\\\\d{9}$/\",\"message\":\"请输入正确的手机号码\",\"messageI18nCode\":\"sys.validate.mobilePhone\"}],\"tableAlign\":\"left\",\"span\":24},\"readonly\":false,\"prop\":\"mobile\",\"__vModel__\":\"mobile\",\"disabled\":false,\"id\":\"mobile\",\"placeholder\":\"请输入手机号\",\"addonBefore\":\"\",\"clearable\":true,\"resizable\":true,\"maxlength\":11,\"fullName\":\"手机号\",\"label\":\"手机号\",\"sortable\":false,\"addonAfter\":\"\",\"maskConfig\":{\"prefixType\":1,\"useUnrealMask\":false,\"maskType\":1,\"unrealMaskLength\":1,\"prefixLimit\":0,\"suffixLimit\":0,\"filler\":\"*\",\"prefixSpecifyChar\":\"\",\"suffixType\":1,\"ignoreChar\":\"\",\"suffixSpecifyChar\":\"\"},\"useMask\":false,\"showPassword\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"prefixIcon\":\"\",\"labelI18nCode\":\"\"},{\"yunzhupaasKey\":\"input\",\"useScan\":false,\"suffixIcon\":\"\",\"fullNameI18nCode\":[\"\"],\"align\":\"left\",\"showCount\":false,\"__config__\":{\"formId\":\"formItem4e5a2c\",\"yunzhupaasKey\":\"input\",\"visibility\":[\"pc\",\"app\"],\"noShow\":false,\"tipLabel\":\"\",\"tableFixed\":\"none\",\"dragDisabled\":false,\"className\":[],\"label\":\"邮箱\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"crm_lead\",\"renderKey\":1774574938265,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"tag\":\"YunzhupaasInput\",\"regList\":[{\"pattern\":\"/^[a-z0-9]+([._\\\\-]*[a-z0-9])*@([a-z0-9]+[-a-z0-9]*[a-z0-9]+.){1,63}[a-z0-9]+$/\",\"message\":\"请输入正确的邮箱\",\"messageI18nCode\":\"sys.validate.email\"}],\"tableAlign\":\"left\",\"span\":24},\"readonly\":false,\"prop\":\"email\",\"__vModel__\":\"email\",\"disabled\":false,\"id\":\"email\",\"placeholder\":\"请输入邮箱\",\"addonBefore\":\"\",\"clearable\":true,\"resizable\":true,\"maxlength\":50,\"fullName\":\"邮箱\",\"label\":\"邮箱\",\"sortable\":false,\"addonAfter\":\"\",\"maskConfig\":{\"prefixType\":1,\"useUnrealMask\":false,\"maskType\":1,\"unrealMaskLength\":1,\"prefixLimit\":0,\"suffixLimit\":0,\"filler\":\"*\",\"prefixSpecifyChar\":\"\",\"suffixType\":1,\"ignoreChar\":\"\",\"suffixSpecifyChar\":\"\"},\"useMask\":false,\"showPassword\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"prefixIcon\":\"\",\"labelI18nCode\":\"\"},{\"yunzhupaasKey\":\"select\",\"filterable\":false,\"clearable\":true,\"resizable\":true,\"multiple\":false,\"fullName\":\"状态\",\"fullNameI18nCode\":[\"\"],\"label\":\"状态\",\"sortable\":false,\"align\":\"left\",\"props\":{\"label\":\"fullName\",\"value\":\"id\"},\"__config__\":{\"yunzhupaasKey\":\"select\",\"defaultValue\":\"Unassigned\",\"dragDisabled\":false,\"className\":[],\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":true,\"tableName\":\"crm_lead\",\"renderKey\":1774574965631,\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"tag\":\"YunzhupaasSelect\",\"formId\":\"formItem199e0c\",\"visibility\":[\"pc\",\"app\"],\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"tableFixed\":\"none\",\"label\":\"状态\",\"trigger\":\"change\",\"layout\":\"colFormItem\",\"useCache\":true,\"propsName\":\"\",\"regList\":[],\"tableAlign\":\"left\",\"span\":24},\"prop\":\"lead_status\",\"options\":[{\"fullName\":\"待分配\",\"id\":\"Unassigned\"},{\"fullName\":\"跟进中\",\"id\":\"InProgress\"},{\"fullName\":\"已转换\",\"id\":\"Converted\"},{\"fullName\":\"无效\",\"id\":\"Invalid\"}],\"__vModel__\":\"lead_status\",\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"lead_status\",\"placeholder\":\"请选择状态\",\"labelI18nCode\":\"\"},{\"yunzhupaasKey\":\"usersSelect\",\"clearable\":true,\"resizable\":true,\"ableIds\":[],\"multiple\":false,\"fullName\":\"销售人员\",\"fullNameI18nCode\":[\"\"],\"label\":\"销售人员\",\"sortable\":false,\"align\":\"left\",\"__config__\":{\"formId\":\"formItem20008f\",\"yunzhupaasKey\":\"usersSelect\",\"visibility\":[\"pc\",\"app\"],\"noShow\":false,\"tipLabel\":\"\",\"tableFixed\":\"none\",\"dragDisabled\":false,\"className\":[],\"label\":\"销售人员\",\"trigger\":\"change\",\"showLabel\":true,\"required\":true,\"tableName\":\"crm_lead\",\"renderKey\":1774575084782,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-founder\",\"defaultCurrent\":false,\"tag\":\"YunzhupaasUsersSelect\",\"regList\":[],\"tableAlign\":\"left\",\"span\":24},\"prop\":\"sales_id\",\"__vModel__\":\"sales_id\",\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"selectType\":\"all\",\"disabled\":false,\"id\":\"sales_id\",\"placeholder\":\"请选择销售人员\",\"labelI18nCode\":\"\"},{\"yunzhupaasKey\":\"select\",\"filterable\":false,\"clearable\":true,\"resizable\":true,\"multiple\":false,\"fullName\":\"来源\",\"fullNameI18nCode\":[\"\"],\"label\":\"来源\",\"sortable\":false,\"align\":\"left\",\"props\":{\"label\":\"fullName\",\"value\":\"enCode\"},\"__config__\":{\"yunzhupaasKey\":\"select\",\"defaultValue\":\"\",\"dragDisabled\":false,\"className\":[],\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"crm_lead\",\"renderKey\":1774575125146,\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"tag\":\"YunzhupaasSelect\",\"formId\":\"formItem0800c0\",\"visibility\":[\"pc\",\"app\"],\"noShow\":false,\"dataType\":\"dictionary\",\"dictionaryType\":\"797256993944371205\",\"tipLabel\":\"\",\"tableFixed\":\"none\",\"label\":\"来源\",\"trigger\":\"change\",\"layout\":\"colFormItem\",\"useCache\":true,\"propsName\":\"\",\"regList\":[],\"tableAlign\":\"left\",\"span\":24},\"prop\":\"customer_source\",\"__vModel__\":\"customer_source\",\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"customer_source\",\"placeholder\":\"请选择来源\",\"labelI18nCode\":\"\"},{\"yunzhupaasKey\":\"textarea\",\"clearable\":true,\"resizable\":true,\"maxlength\":200,\"fullName\":\"备注\",\"fullNameI18nCode\":[\"\"],\"label\":\"备注\",\"sortable\":false,\"align\":\"left\",\"autoSize\":{\"minRows\":4,\"maxRows\":4},\"showCount\":false,\"__config__\":{\"formId\":\"formItem292367\",\"yunzhupaasKey\":\"textarea\",\"visibility\":[\"pc\",\"app\"],\"noShow\":false,\"tipLabel\":\"\",\"tableFixed\":\"none\",\"dragDisabled\":false,\"className\":[],\"label\":\"备注\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"crm_lead\",\"renderKey\":1774575155402,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-textarea\",\"tag\":\"YunzhupaasTextarea\",\"regList\":[],\"tableAlign\":\"left\",\"span\":24},\"readonly\":false,\"prop\":\"remark\",\"__vModel__\":\"remark\",\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"remark\",\"placeholder\":\"请输入备注\",\"labelI18nCode\":\"\"}],\"summaryField\":[],\"parentField\":\"\",\"treeDataSource\":\"dictionary\",\"treeDictionary\":\"\",\"treeSyncInterfaceId\":\"\",\"customBtnsList\":[{\"show\":true,\"label\":\"转换\",\"event\":{},\"value\":\"btn_5a3d09\",\"labelI18nCode\":\"\"},{\"show\":true,\"label\":\"无效\",\"event\":{},\"value\":\"btn_73dcc9\",\"labelI18nCode\":\"\"}]}"); return sb.toString(); - } - /** app列表字段配置json */ - public static final String getAppColumnData(){ - StringBuilder sb = new StringBuilder(); -sb.append("{\"hasPage\":true,\"useColumnPermission\":false,\"searchList\":[],\"btnsList\":[{\"show\":true,\"icon\":\"icon-ym icon-ym-btn-add\",\"label\":\"新增\",\"value\":\"add\",\"labelI18nCode\":\"common.add2Text\"},{\"show\":false,\"icon\":\"icon-ym icon-ym-btn-clearn\",\"label\":\"批量删除\",\"value\":\"batchRemove\",\"labelI18nCode\":\"common.batchDelText\"}],\"useDataPermission\":false,\"viewKey\":\"\",\"ruleListApp\":{\"conditionList\":[],\"matchLogic\":\"and\"},\"columnList\":[{\"yunzhupaasKey\":\"input\",\"useScan\":false,\"suffixIcon\":\"\",\"fullNameI18nCode\":[\"\"],\"align\":\"left\",\"showCount\":false,\"__config__\":{\"formId\":\"formItemcd2c2e\",\"yunzhupaasKey\":\"input\",\"visibility\":[\"pc\",\"app\"],\"noShow\":false,\"tipLabel\":\"\",\"tableFixed\":\"none\",\"dragDisabled\":false,\"className\":[],\"label\":\"线索名称\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"crm_lead\",\"renderKey\":1774574864579,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"tag\":\"YunzhupaasInput\",\"regList\":[],\"tableAlign\":\"left\",\"span\":24},\"readonly\":false,\"prop\":\"lead_name\",\"__vModel__\":\"lead_name\",\"disabled\":false,\"id\":\"lead_name\",\"placeholder\":\"请输入线索名称\",\"addonBefore\":\"\",\"clearable\":true,\"resizable\":true,\"maxlength\":50,\"fullName\":\"线索名称\",\"label\":\"线索名称\",\"sortable\":false,\"addonAfter\":\"\",\"maskConfig\":{\"prefixType\":1,\"useUnrealMask\":false,\"maskType\":1,\"unrealMaskLength\":1,\"prefixLimit\":0,\"suffixLimit\":0,\"filler\":\"*\",\"prefixSpecifyChar\":\"\",\"suffixType\":1,\"ignoreChar\":\"\",\"suffixSpecifyChar\":\"\"},\"useMask\":false,\"showPassword\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"prefixIcon\":\"\",\"labelI18nCode\":\"\"},{\"yunzhupaasKey\":\"input\",\"useScan\":false,\"suffixIcon\":\"\",\"fullNameI18nCode\":[\"\"],\"align\":\"left\",\"showCount\":false,\"__config__\":{\"formId\":\"formItem35dee5\",\"yunzhupaasKey\":\"input\",\"visibility\":[\"pc\",\"app\"],\"noShow\":false,\"tipLabel\":\"\",\"tableFixed\":\"none\",\"dragDisabled\":false,\"className\":[],\"label\":\"手机号\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"crm_lead\",\"renderKey\":1774574898493,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":true,\"tag\":\"YunzhupaasInput\",\"regList\":[{\"pattern\":\"/^1[3456789]\\\\d{9}$/\",\"message\":\"请输入正确的手机号码\",\"messageI18nCode\":\"sys.validate.mobilePhone\"}],\"tableAlign\":\"left\",\"span\":24},\"readonly\":false,\"prop\":\"mobile\",\"__vModel__\":\"mobile\",\"disabled\":false,\"id\":\"mobile\",\"placeholder\":\"请输入手机号\",\"addonBefore\":\"\",\"clearable\":true,\"resizable\":true,\"maxlength\":11,\"fullName\":\"手机号\",\"label\":\"手机号\",\"sortable\":false,\"addonAfter\":\"\",\"maskConfig\":{\"prefixType\":1,\"useUnrealMask\":false,\"maskType\":1,\"unrealMaskLength\":1,\"prefixLimit\":0,\"suffixLimit\":0,\"filler\":\"*\",\"prefixSpecifyChar\":\"\",\"suffixType\":1,\"ignoreChar\":\"\",\"suffixSpecifyChar\":\"\"},\"useMask\":false,\"showPassword\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"prefixIcon\":\"\",\"labelI18nCode\":\"\"},{\"yunzhupaasKey\":\"input\",\"useScan\":false,\"suffixIcon\":\"\",\"fullNameI18nCode\":[\"\"],\"align\":\"left\",\"showCount\":false,\"__config__\":{\"formId\":\"formItem4e5a2c\",\"yunzhupaasKey\":\"input\",\"visibility\":[\"pc\",\"app\"],\"noShow\":false,\"tipLabel\":\"\",\"tableFixed\":\"none\",\"dragDisabled\":false,\"className\":[],\"label\":\"邮箱\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"crm_lead\",\"renderKey\":1774574938265,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"tag\":\"YunzhupaasInput\",\"regList\":[{\"pattern\":\"/^[a-z0-9]+([._\\\\-]*[a-z0-9])*@([a-z0-9]+[-a-z0-9]*[a-z0-9]+.){1,63}[a-z0-9]+$/\",\"message\":\"请输入正确的邮箱\",\"messageI18nCode\":\"sys.validate.email\"}],\"tableAlign\":\"left\",\"span\":24},\"readonly\":false,\"prop\":\"email\",\"__vModel__\":\"email\",\"disabled\":false,\"id\":\"email\",\"placeholder\":\"请输入邮箱\",\"addonBefore\":\"\",\"clearable\":true,\"resizable\":true,\"maxlength\":50,\"fullName\":\"邮箱\",\"label\":\"邮箱\",\"sortable\":false,\"addonAfter\":\"\",\"maskConfig\":{\"prefixType\":1,\"useUnrealMask\":false,\"maskType\":1,\"unrealMaskLength\":1,\"prefixLimit\":0,\"suffixLimit\":0,\"filler\":\"*\",\"prefixSpecifyChar\":\"\",\"suffixType\":1,\"ignoreChar\":\"\",\"suffixSpecifyChar\":\"\"},\"useMask\":false,\"showPassword\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"prefixIcon\":\"\",\"labelI18nCode\":\"\"},{\"yunzhupaasKey\":\"select\",\"filterable\":false,\"clearable\":true,\"resizable\":true,\"multiple\":false,\"fullName\":\"状态\",\"fullNameI18nCode\":[\"\"],\"label\":\"状态\",\"sortable\":false,\"align\":\"left\",\"props\":{\"label\":\"fullName\",\"value\":\"id\"},\"__config__\":{\"yunzhupaasKey\":\"select\",\"defaultValue\":\"Unassigned\",\"dragDisabled\":false,\"className\":[],\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":true,\"tableName\":\"crm_lead\",\"renderKey\":1774574965631,\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"tag\":\"YunzhupaasSelect\",\"formId\":\"formItem199e0c\",\"visibility\":[\"pc\",\"app\"],\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"tableFixed\":\"none\",\"label\":\"状态\",\"trigger\":\"change\",\"layout\":\"colFormItem\",\"useCache\":true,\"propsName\":\"\",\"regList\":[],\"tableAlign\":\"left\",\"span\":24},\"prop\":\"lead_status\",\"options\":[{\"fullName\":\"待分配\",\"id\":\"Unassigned\"},{\"fullName\":\"跟进中\",\"id\":\"InProgress\"},{\"fullName\":\"已转换\",\"id\":\"Converted\"},{\"fullName\":\"无效\",\"id\":\"Invalid\"}],\"__vModel__\":\"lead_status\",\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"lead_status\",\"placeholder\":\"请选择状态\",\"labelI18nCode\":\"\"},{\"yunzhupaasKey\":\"usersSelect\",\"clearable\":true,\"resizable\":true,\"ableIds\":[],\"multiple\":false,\"fullName\":\"销售人员\",\"fullNameI18nCode\":[\"\"],\"label\":\"销售人员\",\"sortable\":false,\"align\":\"left\",\"__config__\":{\"formId\":\"formItem20008f\",\"yunzhupaasKey\":\"usersSelect\",\"visibility\":[\"pc\",\"app\"],\"noShow\":false,\"tipLabel\":\"\",\"tableFixed\":\"none\",\"dragDisabled\":false,\"className\":[],\"label\":\"销售人员\",\"trigger\":\"change\",\"showLabel\":true,\"required\":true,\"tableName\":\"crm_lead\",\"renderKey\":1774575084782,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-founder\",\"defaultCurrent\":false,\"tag\":\"YunzhupaasUsersSelect\",\"regList\":[],\"tableAlign\":\"left\",\"span\":24},\"prop\":\"sales_id\",\"__vModel__\":\"sales_id\",\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"selectType\":\"all\",\"disabled\":false,\"id\":\"sales_id\",\"placeholder\":\"请选择销售人员\",\"labelI18nCode\":\"\"},{\"yunzhupaasKey\":\"select\",\"filterable\":false,\"clearable\":true,\"resizable\":true,\"multiple\":false,\"fullName\":\"来源\",\"fullNameI18nCode\":[\"\"],\"label\":\"来源\",\"sortable\":false,\"align\":\"left\",\"props\":{\"label\":\"fullName\",\"value\":\"enCode\"},\"__config__\":{\"yunzhupaasKey\":\"select\",\"defaultValue\":\"\",\"dragDisabled\":false,\"className\":[],\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"crm_lead\",\"renderKey\":1774575125146,\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"tag\":\"YunzhupaasSelect\",\"formId\":\"formItem0800c0\",\"visibility\":[\"pc\",\"app\"],\"noShow\":false,\"dataType\":\"dictionary\",\"dictionaryType\":\"797256993944371205\",\"tipLabel\":\"\",\"tableFixed\":\"none\",\"label\":\"来源\",\"trigger\":\"change\",\"layout\":\"colFormItem\",\"useCache\":true,\"propsName\":\"\",\"regList\":[],\"tableAlign\":\"left\",\"span\":24},\"prop\":\"customer_source\",\"__vModel__\":\"customer_source\",\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"customer_source\",\"placeholder\":\"请选择来源\",\"labelI18nCode\":\"\"},{\"yunzhupaasKey\":\"textarea\",\"clearable\":true,\"resizable\":true,\"maxlength\":200,\"fullName\":\"备注\",\"fullNameI18nCode\":[\"\"],\"label\":\"备注\",\"sortable\":false,\"align\":\"left\",\"autoSize\":{\"minRows\":4,\"maxRows\":4},\"showCount\":false,\"__config__\":{\"formId\":\"formItem292367\",\"yunzhupaasKey\":\"textarea\",\"visibility\":[\"pc\",\"app\"],\"noShow\":false,\"tipLabel\":\"\",\"tableFixed\":\"none\",\"dragDisabled\":false,\"className\":[],\"label\":\"备注\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"crm_lead\",\"renderKey\":1774575155402,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-textarea\",\"tag\":\"YunzhupaasTextarea\",\"regList\":[],\"tableAlign\":\"left\",\"span\":24},\"readonly\":false,\"prop\":\"remark\",\"__vModel__\":\"remark\",\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"remark\",\"placeholder\":\"请输入备注\",\"labelI18nCode\":\"\"}],\"columnOptions\":[{\"clearable\":true,\"maxlength\":50,\"useScan\":false,\"suffixIcon\":\"\",\"fullName\":\"线索名称\",\"fullNameI18nCode\":[\"\"],\"addonAfter\":\"\",\"showCount\":false,\"__config__\":{\"formId\":\"formItemcd2c2e\",\"yunzhupaasKey\":\"input\",\"visibility\":[\"pc\",\"app\"],\"noShow\":false,\"tipLabel\":\"\",\"tableFixed\":\"none\",\"dragDisabled\":false,\"className\":[],\"label\":\"线索名称\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"crm_lead\",\"renderKey\":1774574864579,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"tag\":\"YunzhupaasInput\",\"regList\":[],\"tableAlign\":\"left\",\"span\":24},\"readonly\":false,\"maskConfig\":{\"prefixType\":1,\"useUnrealMask\":false,\"maskType\":1,\"unrealMaskLength\":1,\"prefixLimit\":0,\"suffixLimit\":0,\"filler\":\"*\",\"prefixSpecifyChar\":\"\",\"suffixType\":1,\"ignoreChar\":\"\",\"suffixSpecifyChar\":\"\"},\"__vModel__\":\"lead_name\",\"useMask\":false,\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"lead_name\",\"placeholder\":\"请输入线索名称\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"maxlength\":11,\"useScan\":false,\"suffixIcon\":\"\",\"fullName\":\"手机号\",\"fullNameI18nCode\":[\"\"],\"addonAfter\":\"\",\"showCount\":false,\"__config__\":{\"formId\":\"formItem35dee5\",\"yunzhupaasKey\":\"input\",\"visibility\":[\"pc\",\"app\"],\"noShow\":false,\"tipLabel\":\"\",\"tableFixed\":\"none\",\"dragDisabled\":false,\"className\":[],\"label\":\"手机号\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"crm_lead\",\"renderKey\":1774574898493,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":true,\"tag\":\"YunzhupaasInput\",\"regList\":[{\"pattern\":\"/^1[3456789]\\\\d{9}$/\",\"message\":\"请输入正确的手机号码\",\"messageI18nCode\":\"sys.validate.mobilePhone\"}],\"tableAlign\":\"left\",\"span\":24},\"readonly\":false,\"maskConfig\":{\"prefixType\":1,\"useUnrealMask\":false,\"maskType\":1,\"unrealMaskLength\":1,\"prefixLimit\":0,\"suffixLimit\":0,\"filler\":\"*\",\"prefixSpecifyChar\":\"\",\"suffixType\":1,\"ignoreChar\":\"\",\"suffixSpecifyChar\":\"\"},\"__vModel__\":\"mobile\",\"useMask\":false,\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"mobile\",\"placeholder\":\"请输入手机号\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"clearable\":true,\"maxlength\":50,\"useScan\":false,\"suffixIcon\":\"\",\"fullName\":\"邮箱\",\"fullNameI18nCode\":[\"\"],\"addonAfter\":\"\",\"showCount\":false,\"__config__\":{\"formId\":\"formItem4e5a2c\",\"yunzhupaasKey\":\"input\",\"visibility\":[\"pc\",\"app\"],\"noShow\":false,\"tipLabel\":\"\",\"tableFixed\":\"none\",\"dragDisabled\":false,\"className\":[],\"label\":\"邮箱\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"crm_lead\",\"renderKey\":1774574938265,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"tag\":\"YunzhupaasInput\",\"regList\":[{\"pattern\":\"/^[a-z0-9]+([._\\\\-]*[a-z0-9])*@([a-z0-9]+[-a-z0-9]*[a-z0-9]+.){1,63}[a-z0-9]+$/\",\"message\":\"请输入正确的邮箱\",\"messageI18nCode\":\"sys.validate.email\"}],\"tableAlign\":\"left\",\"span\":24},\"readonly\":false,\"maskConfig\":{\"prefixType\":1,\"useUnrealMask\":false,\"maskType\":1,\"unrealMaskLength\":1,\"prefixLimit\":0,\"suffixLimit\":0,\"filler\":\"*\",\"prefixSpecifyChar\":\"\",\"suffixType\":1,\"ignoreChar\":\"\",\"suffixSpecifyChar\":\"\"},\"__vModel__\":\"email\",\"useMask\":false,\"showPassword\":false,\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"email\",\"placeholder\":\"请输入邮箱\",\"prefixIcon\":\"\",\"addonBefore\":\"\"},{\"filterable\":false,\"clearable\":true,\"multiple\":false,\"fullName\":\"状态\",\"fullNameI18nCode\":[\"\"],\"props\":{\"label\":\"fullName\",\"value\":\"id\"},\"__config__\":{\"yunzhupaasKey\":\"select\",\"defaultValue\":\"Unassigned\",\"dragDisabled\":false,\"className\":[],\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":true,\"tableName\":\"crm_lead\",\"renderKey\":1774574965631,\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"tag\":\"YunzhupaasSelect\",\"formId\":\"formItem199e0c\",\"visibility\":[\"pc\",\"app\"],\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"tableFixed\":\"none\",\"label\":\"状态\",\"trigger\":\"change\",\"layout\":\"colFormItem\",\"useCache\":true,\"propsName\":\"\",\"regList\":[],\"tableAlign\":\"left\",\"span\":24},\"options\":[{\"fullName\":\"待分配\",\"id\":\"Unassigned\"},{\"fullName\":\"跟进中\",\"id\":\"InProgress\"},{\"fullName\":\"已转换\",\"id\":\"Converted\"},{\"fullName\":\"无效\",\"id\":\"Invalid\"}],\"__vModel__\":\"lead_status\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"lead_status\",\"placeholder\":\"请选择状态\"},{\"clearable\":true,\"ableIds\":[],\"multiple\":false,\"fullName\":\"销售人员\",\"fullNameI18nCode\":[\"\"],\"__config__\":{\"formId\":\"formItem20008f\",\"yunzhupaasKey\":\"usersSelect\",\"visibility\":[\"pc\",\"app\"],\"noShow\":false,\"tipLabel\":\"\",\"tableFixed\":\"none\",\"dragDisabled\":false,\"className\":[],\"label\":\"销售人员\",\"trigger\":\"change\",\"showLabel\":true,\"required\":true,\"tableName\":\"crm_lead\",\"renderKey\":1774575084782,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-founder\",\"defaultCurrent\":false,\"tag\":\"YunzhupaasUsersSelect\",\"regList\":[],\"tableAlign\":\"left\",\"span\":24},\"__vModel__\":\"sales_id\",\"style\":{\"width\":\"100%\"},\"selectType\":\"all\",\"disabled\":false,\"id\":\"sales_id\",\"placeholder\":\"请选择销售人员\"},{\"filterable\":false,\"clearable\":true,\"multiple\":false,\"fullName\":\"来源\",\"fullNameI18nCode\":[\"\"],\"props\":{\"label\":\"fullName\",\"value\":\"enCode\"},\"__config__\":{\"yunzhupaasKey\":\"select\",\"defaultValue\":\"\",\"dragDisabled\":false,\"className\":[],\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"crm_lead\",\"renderKey\":1774575125146,\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"tag\":\"YunzhupaasSelect\",\"formId\":\"formItem0800c0\",\"visibility\":[\"pc\",\"app\"],\"noShow\":false,\"dataType\":\"dictionary\",\"dictionaryType\":\"797256993944371205\",\"tipLabel\":\"\",\"tableFixed\":\"none\",\"label\":\"来源\",\"trigger\":\"change\",\"layout\":\"colFormItem\",\"useCache\":true,\"propsName\":\"\",\"regList\":[],\"tableAlign\":\"left\",\"span\":24},\"__vModel__\":\"customer_source\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"customer_source\",\"placeholder\":\"请选择来源\"},{\"clearable\":true,\"maxlength\":200,\"fullName\":\"备注\",\"fullNameI18nCode\":[\"\"],\"autoSize\":{\"minRows\":4,\"maxRows\":4},\"showCount\":false,\"__config__\":{\"formId\":\"formItem292367\",\"yunzhupaasKey\":\"textarea\",\"visibility\":[\"pc\",\"app\"],\"noShow\":false,\"tipLabel\":\"\",\"tableFixed\":\"none\",\"dragDisabled\":false,\"className\":[],\"label\":\"备注\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"crm_lead\",\"renderKey\":1774575155402,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-textarea\",\"tag\":\"YunzhupaasTextarea\",\"regList\":[],\"tableAlign\":\"left\",\"span\":24},\"readonly\":false,\"__vModel__\":\"remark\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"remark\",\"placeholder\":\"请输入备注\"}],\"pageSize\":20,\"defaultSortConfig\":[],\"type\":1,\"columnBtnsList\":[{\"show\":true,\"icon\":\"icon-ym icon-ym-btn-edit\",\"label\":\"编辑\",\"event\":{\"enableFunc\":\"({ row, rowIndex, onlineUtils }) => {\\r\\n\\r\\n return true \\r\\n}\"},\"value\":\"edit\",\"labelI18nCode\":\"common.editText\"},{\"show\":true,\"icon\":\"icon-ym icon-ym-btn-clearn\",\"label\":\"删除\",\"event\":{\"enableFunc\":\"({ row, rowIndex, onlineUtils }) => {\\r\\n\\r\\n return true \\r\\n}\"},\"value\":\"remove\",\"labelI18nCode\":\"common.delText\"},{\"show\":true,\"icon\":\"icon-ym icon-ym-generator-menu\",\"label\":\"详情\",\"event\":{\"enableFunc\":\"({ row, rowIndex, onlineUtils }) => {\\r\\n\\r\\n return true \\r\\n}\"},\"value\":\"detail\",\"labelI18nCode\":\"common.detailText\"}],\"tabConfig\":{\"hasAllTab\":true,\"relationField\":\"\",\"on\":false},\"hasSuperQuery\":false,\"defaultColumnList\":[{\"yunzhupaasKey\":\"input\",\"useScan\":false,\"suffixIcon\":\"\",\"fullNameI18nCode\":[\"\"],\"align\":\"left\",\"showCount\":false,\"__config__\":{\"formId\":\"formItemcd2c2e\",\"yunzhupaasKey\":\"input\",\"visibility\":[\"pc\",\"app\"],\"noShow\":false,\"tipLabel\":\"\",\"tableFixed\":\"none\",\"dragDisabled\":false,\"className\":[],\"label\":\"线索名称\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"crm_lead\",\"renderKey\":1774574864579,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"tag\":\"YunzhupaasInput\",\"regList\":[],\"tableAlign\":\"left\",\"span\":24},\"readonly\":false,\"prop\":\"lead_name\",\"__vModel__\":\"lead_name\",\"checked\":false,\"disabled\":false,\"id\":\"lead_name\",\"placeholder\":\"请输入线索名称\",\"addonBefore\":\"\",\"clearable\":true,\"resizable\":true,\"maxlength\":50,\"fullName\":\"线索名称\",\"label\":\"线索名称\",\"sortable\":false,\"addonAfter\":\"\",\"maskConfig\":{\"prefixType\":1,\"useUnrealMask\":false,\"maskType\":1,\"unrealMaskLength\":1,\"prefixLimit\":0,\"suffixLimit\":0,\"filler\":\"*\",\"prefixSpecifyChar\":\"\",\"suffixType\":1,\"ignoreChar\":\"\",\"suffixSpecifyChar\":\"\"},\"useMask\":false,\"showPassword\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"prefixIcon\":\"\",\"labelI18nCode\":\"\"},{\"yunzhupaasKey\":\"input\",\"useScan\":false,\"suffixIcon\":\"\",\"fullNameI18nCode\":[\"\"],\"align\":\"left\",\"showCount\":false,\"__config__\":{\"formId\":\"formItem35dee5\",\"yunzhupaasKey\":\"input\",\"visibility\":[\"pc\",\"app\"],\"noShow\":false,\"tipLabel\":\"\",\"tableFixed\":\"none\",\"dragDisabled\":false,\"className\":[],\"label\":\"手机号\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":true,\"tableName\":\"crm_lead\",\"renderKey\":1774574898493,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"unique\":true,\"tag\":\"YunzhupaasInput\",\"regList\":[{\"pattern\":\"/^1[3456789]\\\\d{9}$/\",\"message\":\"请输入正确的手机号码\",\"messageI18nCode\":\"sys.validate.mobilePhone\"}],\"tableAlign\":\"left\",\"span\":24},\"readonly\":false,\"prop\":\"mobile\",\"__vModel__\":\"mobile\",\"checked\":false,\"disabled\":false,\"id\":\"mobile\",\"placeholder\":\"请输入手机号\",\"addonBefore\":\"\",\"clearable\":true,\"resizable\":true,\"maxlength\":11,\"fullName\":\"手机号\",\"label\":\"手机号\",\"sortable\":false,\"addonAfter\":\"\",\"maskConfig\":{\"prefixType\":1,\"useUnrealMask\":false,\"maskType\":1,\"unrealMaskLength\":1,\"prefixLimit\":0,\"suffixLimit\":0,\"filler\":\"*\",\"prefixSpecifyChar\":\"\",\"suffixType\":1,\"ignoreChar\":\"\",\"suffixSpecifyChar\":\"\"},\"useMask\":false,\"showPassword\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"prefixIcon\":\"\",\"labelI18nCode\":\"\"},{\"yunzhupaasKey\":\"input\",\"useScan\":false,\"suffixIcon\":\"\",\"fullNameI18nCode\":[\"\"],\"align\":\"left\",\"showCount\":false,\"__config__\":{\"formId\":\"formItem4e5a2c\",\"yunzhupaasKey\":\"input\",\"visibility\":[\"pc\",\"app\"],\"noShow\":false,\"tipLabel\":\"\",\"tableFixed\":\"none\",\"dragDisabled\":false,\"className\":[],\"label\":\"邮箱\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"crm_lead\",\"renderKey\":1774574938265,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-input\",\"tag\":\"YunzhupaasInput\",\"regList\":[{\"pattern\":\"/^[a-z0-9]+([._\\\\-]*[a-z0-9])*@([a-z0-9]+[-a-z0-9]*[a-z0-9]+.){1,63}[a-z0-9]+$/\",\"message\":\"请输入正确的邮箱\",\"messageI18nCode\":\"sys.validate.email\"}],\"tableAlign\":\"left\",\"span\":24},\"readonly\":false,\"prop\":\"email\",\"__vModel__\":\"email\",\"checked\":false,\"disabled\":false,\"id\":\"email\",\"placeholder\":\"请输入邮箱\",\"addonBefore\":\"\",\"clearable\":true,\"resizable\":true,\"maxlength\":50,\"fullName\":\"邮箱\",\"label\":\"邮箱\",\"sortable\":false,\"addonAfter\":\"\",\"maskConfig\":{\"prefixType\":1,\"useUnrealMask\":false,\"maskType\":1,\"unrealMaskLength\":1,\"prefixLimit\":0,\"suffixLimit\":0,\"filler\":\"*\",\"prefixSpecifyChar\":\"\",\"suffixType\":1,\"ignoreChar\":\"\",\"suffixSpecifyChar\":\"\"},\"useMask\":false,\"showPassword\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"prefixIcon\":\"\",\"labelI18nCode\":\"\"},{\"yunzhupaasKey\":\"select\",\"filterable\":false,\"clearable\":true,\"resizable\":true,\"multiple\":false,\"fullName\":\"状态\",\"fullNameI18nCode\":[\"\"],\"label\":\"状态\",\"sortable\":false,\"align\":\"left\",\"props\":{\"label\":\"fullName\",\"value\":\"id\"},\"__config__\":{\"yunzhupaasKey\":\"select\",\"defaultValue\":\"Unassigned\",\"dragDisabled\":false,\"className\":[],\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":true,\"tableName\":\"crm_lead\",\"renderKey\":1774574965631,\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"tag\":\"YunzhupaasSelect\",\"formId\":\"formItem199e0c\",\"visibility\":[\"pc\",\"app\"],\"noShow\":false,\"dataType\":\"static\",\"dictionaryType\":\"\",\"tipLabel\":\"\",\"tableFixed\":\"none\",\"label\":\"状态\",\"trigger\":\"change\",\"layout\":\"colFormItem\",\"useCache\":true,\"propsName\":\"\",\"regList\":[],\"tableAlign\":\"left\",\"span\":24},\"prop\":\"lead_status\",\"options\":[{\"fullName\":\"待分配\",\"id\":\"Unassigned\"},{\"fullName\":\"跟进中\",\"id\":\"InProgress\"},{\"fullName\":\"已转换\",\"id\":\"Converted\"},{\"fullName\":\"无效\",\"id\":\"Invalid\"}],\"__vModel__\":\"lead_status\",\"checked\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"lead_status\",\"placeholder\":\"请选择状态\",\"labelI18nCode\":\"\"},{\"yunzhupaasKey\":\"usersSelect\",\"clearable\":true,\"resizable\":true,\"ableIds\":[],\"multiple\":false,\"fullName\":\"销售人员\",\"fullNameI18nCode\":[\"\"],\"label\":\"销售人员\",\"sortable\":false,\"align\":\"left\",\"__config__\":{\"formId\":\"formItem20008f\",\"yunzhupaasKey\":\"usersSelect\",\"visibility\":[\"pc\",\"app\"],\"noShow\":false,\"tipLabel\":\"\",\"tableFixed\":\"none\",\"dragDisabled\":false,\"className\":[],\"label\":\"销售人员\",\"trigger\":\"change\",\"showLabel\":true,\"required\":true,\"tableName\":\"crm_lead\",\"renderKey\":1774575084782,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-founder\",\"defaultCurrent\":false,\"tag\":\"YunzhupaasUsersSelect\",\"regList\":[],\"tableAlign\":\"left\",\"span\":24},\"prop\":\"sales_id\",\"__vModel__\":\"sales_id\",\"checked\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"selectType\":\"all\",\"disabled\":false,\"id\":\"sales_id\",\"placeholder\":\"请选择销售人员\",\"labelI18nCode\":\"\"},{\"yunzhupaasKey\":\"select\",\"filterable\":false,\"clearable\":true,\"resizable\":true,\"multiple\":false,\"fullName\":\"来源\",\"fullNameI18nCode\":[\"\"],\"label\":\"来源\",\"sortable\":false,\"align\":\"left\",\"props\":{\"label\":\"fullName\",\"value\":\"enCode\"},\"__config__\":{\"yunzhupaasKey\":\"select\",\"defaultValue\":\"\",\"dragDisabled\":false,\"className\":[],\"propsUrl\":\"\",\"templateJson\":[],\"showLabel\":true,\"required\":false,\"tableName\":\"crm_lead\",\"renderKey\":1774575125146,\"tagIcon\":\"icon-ym icon-ym-generator-select\",\"tag\":\"YunzhupaasSelect\",\"formId\":\"formItem0800c0\",\"visibility\":[\"pc\",\"app\"],\"noShow\":false,\"dataType\":\"dictionary\",\"dictionaryType\":\"797256993944371205\",\"tipLabel\":\"\",\"tableFixed\":\"none\",\"label\":\"来源\",\"trigger\":\"change\",\"layout\":\"colFormItem\",\"useCache\":true,\"propsName\":\"\",\"regList\":[],\"tableAlign\":\"left\",\"span\":24},\"prop\":\"customer_source\",\"__vModel__\":\"customer_source\",\"checked\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"customer_source\",\"placeholder\":\"请选择来源\",\"labelI18nCode\":\"\"},{\"yunzhupaasKey\":\"textarea\",\"clearable\":true,\"resizable\":true,\"maxlength\":200,\"fullName\":\"备注\",\"fullNameI18nCode\":[\"\"],\"label\":\"备注\",\"sortable\":false,\"align\":\"left\",\"autoSize\":{\"minRows\":4,\"maxRows\":4},\"showCount\":false,\"__config__\":{\"formId\":\"formItem292367\",\"yunzhupaasKey\":\"textarea\",\"visibility\":[\"pc\",\"app\"],\"noShow\":false,\"tipLabel\":\"\",\"tableFixed\":\"none\",\"dragDisabled\":false,\"className\":[],\"label\":\"备注\",\"trigger\":\"blur\",\"showLabel\":true,\"required\":false,\"tableName\":\"crm_lead\",\"renderKey\":1774575155402,\"layout\":\"colFormItem\",\"tagIcon\":\"icon-ym icon-ym-generator-textarea\",\"tag\":\"YunzhupaasTextarea\",\"regList\":[],\"tableAlign\":\"left\",\"span\":24},\"readonly\":false,\"prop\":\"remark\",\"__vModel__\":\"remark\",\"checked\":false,\"fixed\":\"none\",\"style\":{\"width\":\"100%\"},\"disabled\":false,\"id\":\"remark\",\"placeholder\":\"请输入备注\",\"labelI18nCode\":\"\"}],\"showOverflow\":true,\"useFormPermission\":false,\"customBtnsList\":[],\"useBtnPermission\":false}"); return sb.toString(); - } - /** 表列表 */ - public static final String getTableList(){ - StringBuilder sb = new StringBuilder(); -sb.append("[{\"relationTable\":\"\",\"tableField\":\"\",\"typeId\":\"1\",\"fields\":[{\"allowNull\":0,\"autoIncrement\":0,\"columnName\":null,\"dataLength\":\"50\",\"dataType\":\"varchar\",\"field\":\"lead_id\",\"fieldName\":\"线索ID\",\"identity\":0,\"primaryKey\":1},{\"allowNull\":0,\"autoIncrement\":0,\"columnName\":null,\"dataLength\":\"100\",\"dataType\":\"varchar\",\"field\":\"lead_name\",\"fieldName\":\"线索名称(公司/个人名)\",\"identity\":0,\"primaryKey\":0},{\"allowNull\":0,\"autoIncrement\":0,\"columnName\":null,\"dataLength\":\"20\",\"dataType\":\"varchar\",\"field\":\"mobile\",\"fieldName\":\"手机号\",\"identity\":0,\"primaryKey\":0},{\"allowNull\":1,\"autoIncrement\":0,\"columnName\":null,\"dataLength\":\"100\",\"dataType\":\"varchar\",\"field\":\"email\",\"fieldName\":\"邮箱\",\"identity\":0,\"primaryKey\":0},{\"allowNull\":0,\"autoIncrement\":0,\"columnName\":null,\"dataLength\":\"20\",\"dataType\":\"varchar\",\"field\":\"lead_status\",\"fieldName\":\"状态: Unassigned-待分配;InProgress-跟进中;Converted-已转换;Invalid-无效\",\"identity\":0,\"primaryKey\":0},{\"allowNull\":1,\"autoIncrement\":0,\"columnName\":null,\"dataLength\":\"50\",\"dataType\":\"varchar\",\"field\":\"sales_id\",\"fieldName\":\"销售人员。关联表:base_user\",\"identity\":0,\"primaryKey\":0},{\"allowNull\":1,\"autoIncrement\":0,\"columnName\":null,\"dataLength\":\"50\",\"dataType\":\"varchar\",\"field\":\"customer_source\",\"fieldName\":\"来源。关联字典:customerSource,如:线上注册、市场活动、渠道推荐等\",\"identity\":0,\"primaryKey\":0},{\"allowNull\":1,\"autoIncrement\":0,\"columnName\":null,\"dataLength\":\"50\",\"dataType\":\"varchar\",\"field\":\"customer_id\",\"fieldName\":\"转换后的客户ID。关联表:crm_customer\",\"identity\":0,\"primaryKey\":0},{\"allowNull\":1,\"autoIncrement\":0,\"columnName\":null,\"dataLength\":\"500\",\"dataType\":\"varchar\",\"field\":\"remark\",\"fieldName\":\"备注\",\"identity\":0,\"primaryKey\":0},{\"allowNull\":1,\"autoIncrement\":0,\"columnName\":null,\"dataLength\":\"50\",\"dataType\":\"varchar\",\"field\":\"create_by\",\"fieldName\":\"创建人\",\"identity\":0,\"primaryKey\":0},{\"allowNull\":0,\"autoIncrement\":0,\"columnName\":null,\"dataLength\":\"\",\"dataType\":\"datetime\",\"field\":\"create_time\",\"fieldName\":\"创建时间\",\"identity\":0,\"primaryKey\":0},{\"allowNull\":1,\"autoIncrement\":0,\"columnName\":null,\"dataLength\":\"50\",\"dataType\":\"varchar\",\"field\":\"update_by\",\"fieldName\":\"更新人ID\",\"identity\":0,\"primaryKey\":0},{\"allowNull\":1,\"autoIncrement\":0,\"columnName\":null,\"dataLength\":\"\",\"dataType\":\"datetime\",\"field\":\"update_time\",\"fieldName\":\"更新时间\",\"identity\":0,\"primaryKey\":0},{\"allowNull\":1,\"autoIncrement\":0,\"columnName\":null,\"dataLength\":\"50\",\"dataType\":\"varchar\",\"field\":\"f_flow_id\",\"fieldName\":\"流程id\",\"identity\":0,\"primaryKey\":0},{\"allowNull\":1,\"autoIncrement\":0,\"columnName\":null,\"dataLength\":\"50\",\"dataType\":\"varchar\",\"field\":\"f_flow_task_id\",\"fieldName\":\"流程任务主键\",\"identity\":0,\"primaryKey\":0},{\"allowNull\":1,\"autoIncrement\":0,\"columnName\":null,\"dataLength\":null,\"dataType\":\"int\",\"field\":\"f_delete_mark\",\"fieldName\":\"删除标志\",\"identity\":0,\"primaryKey\":0},{\"allowNull\":1,\"autoIncrement\":0,\"columnName\":null,\"dataLength\":\"\",\"dataType\":\"datetime\",\"field\":\"f_delete_time\",\"fieldName\":\"删除时间\",\"identity\":0,\"primaryKey\":0},{\"allowNull\":1,\"autoIncrement\":0,\"columnName\":null,\"dataLength\":\"50\",\"dataType\":\"varchar\",\"field\":\"f_delete_user_id\",\"fieldName\":\"删除用户\",\"identity\":0,\"primaryKey\":0},{\"allowNull\":1,\"autoIncrement\":0,\"columnName\":null,\"dataLength\":null,\"dataType\":\"int\",\"field\":\"f_version\",\"fieldName\":\"乐观锁\",\"identity\":0,\"primaryKey\":0},{\"allowNull\":0,\"autoIncrement\":0,\"columnName\":null,\"dataLength\":\"50\",\"dataType\":\"varchar\",\"field\":\"f_tenant_id\",\"fieldName\":\"租户id\",\"identity\":0,\"primaryKey\":0}],\"relationField\":\"\",\"table\":\"crm_lead\",\"tableName\":\"\"}]"); return sb.toString(); - } - -} diff --git a/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/crmlead/CrmLeadExcelErrorVO.java b/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/crmlead/CrmLeadExcelErrorVO.java deleted file mode 100644 index d7f783f..0000000 --- a/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/crmlead/CrmLeadExcelErrorVO.java +++ /dev/null @@ -1,22 +0,0 @@ - - -package com.yunzhupaas.mdm.model.crmlead; - -import lombok.Data; -import cn.afterturn.easypoi.excel.annotation.Excel; -import com.alibaba.fastjson.annotation.JSONField; -/** - * - * crm_lead - * @版本: V5.2.7 - * @版权: Copyright @ 2025 深圳市乐程软件有限公司版权所有 - * @作者: 深圳市乐程软件有限公司 - * @日期: 2026-05-18 - */ -@Data -public class CrmLeadExcelErrorVO extends CrmLeadExcelVO{ - - @Excel(name = "异常原因",orderNum = "-999") - @JSONField(name = "errorsInfo") - private String errorsInfo; -} diff --git a/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/crmlead/CrmLeadExcelVO.java b/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/crmlead/CrmLeadExcelVO.java deleted file mode 100644 index 9843adc..0000000 --- a/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/crmlead/CrmLeadExcelVO.java +++ /dev/null @@ -1,60 +0,0 @@ -package com.yunzhupaas.mdm.model.crmlead; - -import lombok.Data; -import java.sql.Time; -import java.util.Date; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.alibaba.fastjson.annotation.JSONField; -import cn.afterturn.easypoi.excel.annotation.Excel; -import cn.afterturn.easypoi.excel.annotation.ExcelEntity; -import cn.afterturn.easypoi.excel.annotation.ExcelCollection; -import java.math.BigDecimal; -import java.util.List; -/** - * - * crm_lead - * @版本: V5.2.7 - * @版权: Copyright @ 2025 深圳市乐程软件有限公司版权所有 - * @作者: 深圳市乐程软件有限公司 - * @日期: 2026-05-18 - */ -@Data -public class CrmLeadExcelVO{ - /** 线索名称 **/ - @JSONField(name = "lead_name") - @Excel(name = "线索名称(lead_name)",orderNum = "1", isImportField = "true" ) - private String lead_name; - - /** 手机号 **/ - @JSONField(name = "mobile") - @Excel(name = "手机号(mobile)",orderNum = "1", isImportField = "true" ) - private String mobile; - - /** 状态 **/ - @JSONField(name = "lead_status") - @Excel(name = "状态(lead_status)",orderNum = "1", isImportField = "true" ) - private String lead_status; - - /** 销售人员 **/ - @JSONField(name = "sales_id") - @Excel(name = "销售人员(sales_id)",orderNum = "1", isImportField = "true" ) - private String sales_id; - - /** 备注 **/ - @JSONField(name = "remark") - @Excel(name = "备注(remark)",orderNum = "1", isImportField = "true" ) - private String remark; - - /** 邮箱 **/ - @JSONField(name = "email") - @Excel(name = "邮箱(email)",orderNum = "1", isImportField = "true" ) - private String email; - - /** 来源 **/ - @JSONField(name = "customer_source") - @Excel(name = "来源(customer_source)",orderNum = "1", isImportField = "true" ) - private String customer_source; - - -} diff --git a/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/crmlead/CrmLeadForm.java b/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/crmlead/CrmLeadForm.java deleted file mode 100644 index 9321ffc..0000000 --- a/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/crmlead/CrmLeadForm.java +++ /dev/null @@ -1,75 +0,0 @@ -package com.yunzhupaas.mdm.model.crmlead; - -import lombok.Data; -import java.util.*; -import java.math.BigDecimal; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.alibaba.fastjson.annotation.JSONField; -import io.swagger.v3.oas.annotations.media.Schema; - -/** - * crm_lead - * @版本: V5.2.7 - * @版权: Copyright @ 2025 深圳市乐程软件有限公司版权所有 - * @作者: 深圳市乐程软件有限公司 - * @日期: 2026-05-18 - */ -@Data -@Schema(description = "表单参数") -public class CrmLeadForm { - /** 主键 */ - @Schema(description = "主键") - @JSONField(name = "lead_id") - private String leadId; - - /** 乐观锁 **/ - @Schema(description = "乐观锁") - @JsonProperty("f_version") - @JSONField(name = "f_version") - private Integer version; - /** 流程id **/ - @Schema(description = "流程id") - @JsonProperty("flowId") - @JSONField(name = "f_flow_id") - private String flowId; - /** 流程权限列表 **/ - @JsonProperty("formOperates") - private List> formOperates = new ArrayList<>(); - - /** 线索名称 **/ - @Schema(description = "线索名称") - @JsonProperty("lead_name") - @JSONField(name = "lead_name") - private String leadName; - /** 手机号 **/ - @Schema(description = "手机号") - @JsonProperty("mobile") - @JSONField(name = "mobile") - private String mobile; - /** 邮箱 **/ - @Schema(description = "邮箱") - @JsonProperty("email") - @JSONField(name = "email") - private String email; - /** 状态 **/ - @Schema(description = "状态") - @JsonProperty("lead_status") - @JSONField(name = "lead_status") - private Object leadStatus; - /** 销售人员 **/ - @Schema(description = "销售人员") - @JsonProperty("sales_id") - @JSONField(name = "sales_id") - private Object salesId; - /** 来源 **/ - @Schema(description = "来源") - @JsonProperty("customer_source") - @JSONField(name = "customer_source") - private Object customerSource; - /** 备注 **/ - @Schema(description = "备注") - @JsonProperty("remark") - @JSONField(name = "remark") - private String remark; - -} diff --git a/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/crmlead/CrmLeadPagination.java b/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/crmlead/CrmLeadPagination.java deleted file mode 100644 index 912a255..0000000 --- a/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/crmlead/CrmLeadPagination.java +++ /dev/null @@ -1,58 +0,0 @@ -package com.yunzhupaas.mdm.model.crmlead; - -import com.alibaba.fastjson.annotation.JSONField; -import com.fasterxml.jackson.annotation.JsonProperty; -import lombok.Data; -import com.yunzhupaas.base.Pagination; -import io.swagger.v3.oas.annotations.media.Schema; -import java.util.List; - -/** - * - * crm_lead - * @版本: V5.2.7 - * @版权: Copyright @ 2025 深圳市乐程软件有限公司版权所有 - * @作者: 深圳市乐程软件有限公司 - * @日期: 2026-05-18 - */ -@Data -@Schema(description = "列表查询参数") -public class CrmLeadPagination extends Pagination { - /** 流程模板id */ - @Schema(description = "流程模板id") - private String flowId; - /** 关键词搜索 */ - @Schema(description = "关键词搜索") - private String yunzhupaasKeyword; - /** 查询key */ - @Schema(description = "查询key") - private String[] selectKey; - /** 选中数据数组id */ - @Schema(description = "选中数据数组id") - private Object[] selectIds; - /** json */ - @Schema(description = "json") - private String json; - /** 数据类型 0-当前页,1-全部数据 */ - @Schema(description = "数据类型 0-当前页,1-全部数据") - private String dataType; - /** 高级查询 */ - @Schema(description = "高级查询") - private String superQueryJson; - /** 功能id */ - @Schema(description = "功能id") - private String moduleId; - /** 菜单id */ - @Schema(description = "菜单id") - private String menuId; - /** 手机号 */ - @Schema(description = "手机号") - @JsonProperty("mobile") - @JSONField(name = "mobile") - private Object mobile; - /** 来源 */ - @Schema(description = "来源") - @JsonProperty("customer_source") - @JSONField(name = "customerSource") - private Object customerSource; -} diff --git a/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/custinfo/CustinfoConstant.java b/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/customer/CustinfoConstant.java similarity index 99% rename from yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/custinfo/CustinfoConstant.java rename to yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/customer/CustinfoConstant.java index 372c7ed..9ad2578 100644 --- a/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/custinfo/CustinfoConstant.java +++ b/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/customer/CustinfoConstant.java @@ -1,4 +1,4 @@ -package com.yunzhupaas.mdm.model.custinfo; +package com.yunzhupaas.mdm.model.customer; import com.yunzhupaas.util.JsonUtil; import java.util.*; diff --git a/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/custinfo/CustinfoExcelErrorVO.java b/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/customer/CustinfoExcelErrorVO.java similarity index 92% rename from yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/custinfo/CustinfoExcelErrorVO.java rename to yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/customer/CustinfoExcelErrorVO.java index 54b1481..c9d8b85 100644 --- a/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/custinfo/CustinfoExcelErrorVO.java +++ b/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/customer/CustinfoExcelErrorVO.java @@ -1,6 +1,6 @@ -package com.yunzhupaas.mdm.model.custinfo; +package com.yunzhupaas.mdm.model.customer; import lombok.Data; import cn.afterturn.easypoi.excel.annotation.Excel; diff --git a/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/custinfo/CustinfoExcelVO.java b/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/customer/CustinfoExcelVO.java similarity index 95% rename from yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/custinfo/CustinfoExcelVO.java rename to yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/customer/CustinfoExcelVO.java index 68c3874..610cb13 100644 --- a/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/custinfo/CustinfoExcelVO.java +++ b/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/customer/CustinfoExcelVO.java @@ -1,17 +1,13 @@ -package com.yunzhupaas.mdm.model.custinfo; +package com.yunzhupaas.mdm.model.customer; import com.yunzhupaas.mdm.model.companyBank.CompanyBankExcelVO; import com.yunzhupaas.mdm.model.companyInvoice.CompanyInvoiceExcelVO; import lombok.Data; -import java.sql.Time; -import java.util.Date; -import com.fasterxml.jackson.annotation.JsonFormat; import com.fasterxml.jackson.annotation.JsonProperty; import com.alibaba.fastjson.annotation.JSONField; import cn.afterturn.easypoi.excel.annotation.Excel; -import cn.afterturn.easypoi.excel.annotation.ExcelEntity; import cn.afterturn.easypoi.excel.annotation.ExcelCollection; -import java.math.BigDecimal; + import java.util.List; /** * diff --git a/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/custinfo/CustinfoForm.java b/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/customer/CustinfoForm.java similarity index 99% rename from yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/custinfo/CustinfoForm.java rename to yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/customer/CustinfoForm.java index f98ec69..aade4af 100644 --- a/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/custinfo/CustinfoForm.java +++ b/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/customer/CustinfoForm.java @@ -1,4 +1,4 @@ -package com.yunzhupaas.mdm.model.custinfo; +package com.yunzhupaas.mdm.model.customer; import com.yunzhupaas.mdm.model.companyBank.CompanyBankModel; import com.yunzhupaas.mdm.model.companyInvoice.CompanyInvoiceModel; diff --git a/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/custinfo/CustinfoPagination.java b/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/customer/CustinfoPagination.java similarity index 96% rename from yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/custinfo/CustinfoPagination.java rename to yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/customer/CustinfoPagination.java index 41e3d2c..24a7a0b 100644 --- a/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/custinfo/CustinfoPagination.java +++ b/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/customer/CustinfoPagination.java @@ -1,11 +1,10 @@ -package com.yunzhupaas.mdm.model.custinfo; +package com.yunzhupaas.mdm.model.customer; import com.alibaba.fastjson.annotation.JSONField; import com.fasterxml.jackson.annotation.JsonProperty; import lombok.Data; import com.yunzhupaas.base.Pagination; import io.swagger.v3.oas.annotations.media.Schema; -import java.util.List; /** * diff --git a/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/projects/ProjectsConstant.java b/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/projectInfo/ProjectsConstant.java similarity index 99% rename from yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/projects/ProjectsConstant.java rename to yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/projectInfo/ProjectsConstant.java index e40ae73..6e05744 100644 --- a/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/projects/ProjectsConstant.java +++ b/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/projectInfo/ProjectsConstant.java @@ -1,4 +1,4 @@ -package com.yunzhupaas.mdm.model.projects; +package com.yunzhupaas.mdm.model.projectInfo; import com.yunzhupaas.util.JsonUtil; import java.util.*; diff --git a/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/projects/ProjectsExcelErrorVO.java b/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/projectInfo/ProjectsExcelErrorVO.java similarity index 91% rename from yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/projects/ProjectsExcelErrorVO.java rename to yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/projectInfo/ProjectsExcelErrorVO.java index 94842d5..6c5ddc0 100644 --- a/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/projects/ProjectsExcelErrorVO.java +++ b/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/projectInfo/ProjectsExcelErrorVO.java @@ -1,6 +1,6 @@ -package com.yunzhupaas.mdm.model.projects; +package com.yunzhupaas.mdm.model.projectInfo; import lombok.Data; import cn.afterturn.easypoi.excel.annotation.Excel; diff --git a/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/projectInfo/ProjectsExcelVO.java b/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/projectInfo/ProjectsExcelVO.java new file mode 100644 index 0000000..810df50 --- /dev/null +++ b/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/projectInfo/ProjectsExcelVO.java @@ -0,0 +1,16 @@ +package com.yunzhupaas.mdm.model.projectInfo; + +import lombok.Data; + +/** + * + * 项目信息 + * @版本: V5.2.7 + * @版权: Copyright @ 2025 深圳市乐程软件有限公司版权所有 + * @作者: 深圳市乐程软件有限公司 + * @日期: 2026-05-19 + */ +@Data +public class ProjectsExcelVO{ + +} diff --git a/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/projects/ProjectsForm.java b/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/projectInfo/ProjectsForm.java similarity index 96% rename from yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/projects/ProjectsForm.java rename to yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/projectInfo/ProjectsForm.java index 1e1d243..bceb3f2 100644 --- a/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/projects/ProjectsForm.java +++ b/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/projectInfo/ProjectsForm.java @@ -1,7 +1,7 @@ -package com.yunzhupaas.mdm.model.projects; +package com.yunzhupaas.mdm.model.projectInfo; import lombok.Data; -import java.util.*; + import java.math.BigDecimal; import com.fasterxml.jackson.annotation.JsonProperty; import com.alibaba.fastjson.annotation.JSONField; diff --git a/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/projects/ProjectsPagination.java b/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/projectInfo/ProjectsPagination.java similarity index 96% rename from yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/projects/ProjectsPagination.java rename to yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/projectInfo/ProjectsPagination.java index 05dabdd..bfcdf4e 100644 --- a/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/projects/ProjectsPagination.java +++ b/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/projectInfo/ProjectsPagination.java @@ -1,11 +1,10 @@ -package com.yunzhupaas.mdm.model.projects; +package com.yunzhupaas.mdm.model.projectInfo; import com.alibaba.fastjson.annotation.JSONField; import com.fasterxml.jackson.annotation.JsonProperty; import lombok.Data; import com.yunzhupaas.base.Pagination; import io.swagger.v3.oas.annotations.media.Schema; -import java.util.List; /** * diff --git a/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/projects/ProjectsExcelVO.java b/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/projects/ProjectsExcelVO.java deleted file mode 100644 index 87e7fc9..0000000 --- a/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/projects/ProjectsExcelVO.java +++ /dev/null @@ -1,25 +0,0 @@ -package com.yunzhupaas.mdm.model.projects; - -import lombok.Data; -import java.sql.Time; -import java.util.Date; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.alibaba.fastjson.annotation.JSONField; -import cn.afterturn.easypoi.excel.annotation.Excel; -import cn.afterturn.easypoi.excel.annotation.ExcelEntity; -import cn.afterturn.easypoi.excel.annotation.ExcelCollection; -import java.math.BigDecimal; -import java.util.List; -/** - * - * 项目信息 - * @版本: V5.2.7 - * @版权: Copyright @ 2025 深圳市乐程软件有限公司版权所有 - * @作者: 深圳市乐程软件有限公司 - * @日期: 2026-05-19 - */ -@Data -public class ProjectsExcelVO{ - -} diff --git a/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/suppinfo/PanyInvoiceExcelVO.java b/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/supplier/PanyInvoiceExcelVO.java similarity index 85% rename from yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/suppinfo/PanyInvoiceExcelVO.java rename to yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/supplier/PanyInvoiceExcelVO.java index af7072c..9c66015 100644 --- a/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/suppinfo/PanyInvoiceExcelVO.java +++ b/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/supplier/PanyInvoiceExcelVO.java @@ -1,16 +1,9 @@ -package com.yunzhupaas.mdm.model.suppinfo; +package com.yunzhupaas.mdm.model.supplier; import lombok.Data; -import java.sql.Time; -import java.util.Date; -import com.fasterxml.jackson.annotation.JsonFormat; -import com.fasterxml.jackson.annotation.JsonProperty; import com.alibaba.fastjson.annotation.JSONField; import cn.afterturn.easypoi.excel.annotation.Excel; -import cn.afterturn.easypoi.excel.annotation.ExcelEntity; -import cn.afterturn.easypoi.excel.annotation.ExcelCollection; -import java.math.BigDecimal; -import java.util.List; + /** * * 供应商信息 diff --git a/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/suppinfo/PanyInvoiceModel.java b/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/supplier/PanyInvoiceModel.java similarity index 96% rename from yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/suppinfo/PanyInvoiceModel.java rename to yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/supplier/PanyInvoiceModel.java index d312338..929a4ff 100644 --- a/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/suppinfo/PanyInvoiceModel.java +++ b/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/supplier/PanyInvoiceModel.java @@ -1,9 +1,6 @@ -package com.yunzhupaas.mdm.model.suppinfo; +package com.yunzhupaas.mdm.model.supplier; import lombok.Data; -import java.util.List; -import java.util.Date; -import java.math.BigDecimal; import com.alibaba.fastjson.annotation.JSONField; import cn.afterturn.easypoi.excel.annotation.Excel; import com.fasterxml.jackson.annotation.JsonProperty; diff --git a/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/suppinfo/SuppinfoConstant.java b/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/supplier/SuppinfoConstant.java similarity index 99% rename from yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/suppinfo/SuppinfoConstant.java rename to yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/supplier/SuppinfoConstant.java index f340a31..b42f400 100644 --- a/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/suppinfo/SuppinfoConstant.java +++ b/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/supplier/SuppinfoConstant.java @@ -1,4 +1,4 @@ -package com.yunzhupaas.mdm.model.suppinfo; +package com.yunzhupaas.mdm.model.supplier; import com.yunzhupaas.util.JsonUtil; import java.util.*; diff --git a/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/suppinfo/SuppinfoExcelErrorVO.java b/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/supplier/SuppinfoExcelErrorVO.java similarity index 92% rename from yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/suppinfo/SuppinfoExcelErrorVO.java rename to yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/supplier/SuppinfoExcelErrorVO.java index 6ebcd6f..05aabb9 100644 --- a/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/suppinfo/SuppinfoExcelErrorVO.java +++ b/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/supplier/SuppinfoExcelErrorVO.java @@ -1,6 +1,6 @@ -package com.yunzhupaas.mdm.model.suppinfo; +package com.yunzhupaas.mdm.model.supplier; import lombok.Data; import cn.afterturn.easypoi.excel.annotation.Excel; diff --git a/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/suppinfo/SuppinfoExcelVO.java b/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/supplier/SuppinfoExcelVO.java similarity index 99% rename from yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/suppinfo/SuppinfoExcelVO.java rename to yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/supplier/SuppinfoExcelVO.java index 6bea356..31c990d 100644 --- a/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/suppinfo/SuppinfoExcelVO.java +++ b/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/supplier/SuppinfoExcelVO.java @@ -1,4 +1,4 @@ -package com.yunzhupaas.mdm.model.suppinfo; +package com.yunzhupaas.mdm.model.supplier; import com.yunzhupaas.mdm.model.companyBank.CompanyBankExcelVO; import lombok.Data; diff --git a/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/suppinfo/SuppinfoForm.java b/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/supplier/SuppinfoForm.java similarity index 99% rename from yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/suppinfo/SuppinfoForm.java rename to yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/supplier/SuppinfoForm.java index d58d3c7..0e16a4e 100644 --- a/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/suppinfo/SuppinfoForm.java +++ b/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/supplier/SuppinfoForm.java @@ -1,4 +1,4 @@ -package com.yunzhupaas.mdm.model.suppinfo; +package com.yunzhupaas.mdm.model.supplier; import com.yunzhupaas.mdm.model.companyBank.CompanyBankModel; import lombok.Data; diff --git a/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/suppinfo/SuppinfoPagination.java b/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/supplier/SuppinfoPagination.java similarity index 96% rename from yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/suppinfo/SuppinfoPagination.java rename to yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/supplier/SuppinfoPagination.java index d195c71..6792d7b 100644 --- a/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/suppinfo/SuppinfoPagination.java +++ b/yunzhupaas-mdm/yunzhupaas-mdm-entity/src/main/java/com/yunzhupaas/mdm/model/supplier/SuppinfoPagination.java @@ -1,11 +1,10 @@ -package com.yunzhupaas.mdm.model.suppinfo; +package com.yunzhupaas.mdm.model.supplier; import com.alibaba.fastjson.annotation.JSONField; import com.fasterxml.jackson.annotation.JsonProperty; import lombok.Data; import com.yunzhupaas.base.Pagination; import io.swagger.v3.oas.annotations.media.Schema; -import java.util.List; /** *