Giter VIP home page Giter VIP logo

Comments (4)

gebilxs avatar gebilxs commented on June 1, 2024 1

2022/10/26 20:41:47 D:/golang/data/src/mogutouERP/mogutouERP/models/custormerOrder.go:223
[error] invalid field found for struct github.com/Allenxuxu/mogutouERP/models.CustormerOrderInfo's field Goods, need to define a valid foreign key for relations or it need to implement the Valuer/Scanner interface

客户订单和采购订单都有这个bug
要是有时间指点 后期会积极提供PR

from mogutouerp.

gebilxs avatar gebilxs commented on June 1, 2024 1

https://github.com/gebilxs/ERP/commit/b8589ab2447894a2ea51d869ffa017466bf1f63a
提交的一些修改

from mogutouerp.

Allenxuxu avatar Allenxuxu commented on June 1, 2024

2022/10/26 20:41:47 D:/golang/data/src/mogutouERP/mogutouERP/models/custormerOrder.go:223 [error] invalid field found for struct github.com/Allenxuxu/mogutouERP/models.CustormerOrderInfo's field Goods, need to define a valid foreign key for relations or it need to implement the Valuer/Scanner interface

客户订单和采购订单都有这个bug 要是有时间指点 后期会积极提供PR

可以直接先把外键删除了,很早之前写的代码了,外键的逻辑可以由代码来控制。

from mogutouerp.

Allenxuxu avatar Allenxuxu commented on June 1, 2024

gebilxs/ERP@b8589ab 提交的一些修改

你可以自己随意改哈,之前 db 那块是想支持 sqlite ,期望是想用go embed 能力把前端直接打包到二进制里,能本地直接运行。

from mogutouerp.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.