[关闭]
@Wahson 2020-03-22T23:27:46.000000Z 字数 3199 阅读 407

技术--工作周报(2020-03-22)

周报 Wanbo周报


上周回顾

下周计划

  • crm迁移 F_Crm_V1.0
    • 授信申请: 创建company_credit,填写申请额度、申请账期 曹佳林
    • 授信审核,审核失败填写审核原因,审核时保存授信额度、账期 曹佳林
    • 变更申请,状态变回待审核、申请原因改变更申请 曹佳林
    • 公司详情授信管理页面 陈均活
    • 授信列表,审核操作 陈均活
    • 开票信息审核 曹佳林 陈均活
    • customer 客户管理接口crud 曹佳林
      • 客户管理页面 陈均活
    • 公司相关所有查询接口重构、所有调用端修改 曹佳林
    • 公司信息缓存模块重构 曹佳林
    • 增加action_journal,记录操作 曹佳林
    • 公司数据迁移方案:company company_address company_bank company_invoice company_material_record company_purchaser_property,准备 曹佳林
    • 所有供应商、我的采购商、我的供应商页面 陈均活
    • 页面编辑输入格式校验 陈均活
  • 报价迁移测试上线 梁华生
  • 运营系统优化 F_Order_V1.11
    • 库存单资金占用统计,库存供应商额度占用统计 陈均活 梁华生
    • 增加约车时间,司机信息根据约车时间过滤 梁华生
    • 付款指令合并 陈均活
    • 开票条件,判断物流单据已回签 梁华生
    • 修改采购员 陈均活 梁华生
  1. alter table company add column
  2. status smallint(2) default 10 not null comment '状态, 10:待审核(to_be_audited);20:审核通过(audited);21:审核不通过(audited_failed)',
  3. uniform_social_credit_code varchar(50) default null comment '统一社会信用代码',
  4. uniform_social_credit_code_cert varchar(128) default null comment '统一社会信用代码证附件, 阿里云文件名',
  5. audited_by int default null comment '审核人',
  6. audited_at timestamp default null comment '审核时间';
  7. create table company_credit
  8. (
  9. company_id bigint not null comment '公司id' primary key,
  10. status smallint(2) default 10 not null comment '状态, 10:待审核(to_be_audited);20:审核通过(audited);20:审核不通过(audited_fail);90:已冻结(frozen)',
  11. apply_reason smallint(2) default 10 not null comment '申请原因,10:初次申请;20:变更申请',
  12. request_credit_limit decimal(13, 2) default 0.00 not null comment '客户申请授信额度',
  13. request_credit_term smallint(2) default 0 not null comment '申请账期;单位天',
  14. credit_limit decimal(13, 2) default 0.00 not null comment '客户授信额度',
  15. credit_term smallint(2) default 0 not null comment '客户账期;单位天',
  16. credited_at timestamp default null comment '授信时间',
  17. available_credit_limit decimal(13, 2) default 0.00 not null comment '客户可用授信额度',
  18. overdue_order_cnt int(5) default 0 not null comment '逾期订单数,单位: 笔',
  19. overdue_amount decimal(13, 2) default 0.00 not null comment '客户逾期总额',
  20. audited_fail_reason varchar(128) default null comment '审核失败原因',
  21. audited_by int default null comment '审核人',
  22. audited_at timestamp default null comment '审核时间',
  23. created_at timestamp default current_timestamp() not null,
  24. created_by int default 0 not null,
  25. updated_at timestamp default current_timestamp() not null,
  26. updated_by int default 0 not null,
  27. remark varchar(255) null comment '备注',
  28. constraint credit_2_company foreign key (company_id) references company (id)
  29. ) engine = innoDb
  30. charset = utf8mb4 comment '公司授信表';
  31. -- 授信申请: 创建company_credit,填写申请额度、申请账期
  32. -- 授信审核,审核失败填写审核原因,审核时保存授信额度、账期
  33. -- 变更申请,状态变回待审核、申请原因改变更申请
  34. -- 授信管理页面
  35. -- 授信列表,审核操作,查看授信变更记录
  36. create table customer
  37. (
  38. id bigint not null primary key,
  39. company_id bigint not null comment '公司id',
  40. is_deleted smallint(1) default '0' not null comment '是否已删除, 0: 否(no); 1: 是(yes)',
  41. name varchar(255) not null comment '客户姓名',
  42. position smallint null comment '职位, 1:老板(boss);2:采购总监(purchaseDirector);3:采购经理(purchaseManager);4: 采购员(purchaser); 5:技术人员(technicaler); 99:其他(other)',
  43. other_position varchar(255) null comment '其他职位',
  44. city char(6) not null comment '所在城市代码',
  45. phone varchar(20) null comment '手机号码',
  46. tel varchar(20) null comment '联系电话',
  47. fax varchar(20) null comment '传真',
  48. wx_user_id bigint default null comment '微信用户id, wechat_db.wx_user.id',
  49. created_at timestamp default current_timestamp() not null,
  50. created_by int default 0 not null,
  51. updated_at timestamp default current_timestamp() not null,
  52. updated_by int default 0 not null,
  53. remark varchar(255) null comment '备注',
  54. constraint customer_2_company foreign key (company_id) references company (id)
  55. ) engine = innoDb
  56. charset = utf8mb4 comment '客户表';
添加新批注
在作者公开此批注前,只有你和作者可见。
回复批注