中扬CRM客户关系管理系统
#
luxiaotao1123
2022-09-18 3035b6506ad8c9f652403d0e75b50f1c6ebacfc9
#
3个文件已修改
28 ■■■■■ 已修改文件
src/main/java/com/zy/crm/manager/controller/CstmrController.java 12 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/zy/crm/manager/entity/Cstmr.java 16 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/webapp/mould/甲方单位导入模板.xls 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/zy/crm/manager/controller/CstmrController.java
@@ -235,8 +235,16 @@
                cstmr.setContacts(row.getCell(5).getStringCellValue());
                // å¤‡æ³¨
                cstmr.setRemarks(row.getCell(6).getStringCellValue());
                // çœ
                cstmr.setProvince(row.getCell(7).getStringCellValue());
                // å¸‚
                cstmr.setCity(row.getCell(8).getStringCellValue());
                // åŒº
                cstmr.setDistrict(row.getCell(9).getStringCellValue());
                // è¯¦ç»†åœ°å€
                cstmr.setAddr(row.getCell(10).getStringCellValue());
                // åŒºåˆ†
                cstmr.setType0(row.getCell(11).getStringCellValue());
                cstmr.setHostId(hostId);
                cstmr.setDeptId(deptId);
                cstmr.setUserId(userId);
src/main/java/com/zy/crm/manager/entity/Cstmr.java
@@ -297,6 +297,22 @@
        return null;
    }
    public void setType0(String type0){
        if (Cools.isEmpty(type0)) {
            return;
        }
        switch (type0){
            case "内销":
                this.type = 1;
                break;
            case "外销":
                this.type = 2;
                break;
            default:
                break;
        }
    }
    public String getType$(){
        if (null == this.type){ return null; }
        switch (this.type){
src/main/webapp/mould/¼×·½µ¥Î»µ¼ÈëÄ£°å.xls
Binary files differ