Browse Source

为表Log_ArtDemandHead和Log_ArtDemandLst添加了字段

pull/191/head
allanwei 3 years ago
parent
commit
205ff36c93
6 changed files with 20 additions and 12 deletions
  1. +5
    -3
      meta/log/ArtDemandHead.meta.go
  2. +5
    -3
      meta/log/ArtDemandLst.meta.go
  3. +3
    -2
      models/log/ArtDemandHead.model.go
  4. +3
    -2
      models/log/ArtDemandLst.model.go
  5. +2
    -1
      services/log/implments/ArtDemandHead.service.impl.go
  6. +2
    -1
      services/log/implments/ArtDemandLst.service.impl.go

+ 5
- 3
meta/log/ArtDemandHead.meta.go View File

@ -13,7 +13,7 @@ import (
*
* @Author : 代码生成器创建
*
* @Date : 2021-05-10 16:21:26
* @Date : 2021-05-10 17:10:28
*
******************************************************************************/
var ArtDemandHead_PlantNr = grmi.NewField("PlantNr", "LOG_ArtDemandHead.PlantNr", "plantnr", grmi.TypeInt)
@ -42,6 +42,7 @@ var ArtDemandHead_DemandCtrlTime1 = grmi.NewField("DemandCtrlTime1", "LOG_ArtDem
var ArtDemandHead_DemandCtrlTime2 = grmi.NewField("DemandCtrlTime2", "LOG_ArtDemandHead.DemandCtrlTime2", "demandctrltime2", grmi.TypeDateTime)
var ArtDemandHead_OrderStatus = grmi.NewField("OrderStatus", "LOG_ArtDemandHead.OrderStatus", "orderstatus", grmi.TypeInt)
var ArtDemandHead_ReleaseQty = grmi.NewField("ReleaseQty", "LOG_ArtDemandHead.ReleaseQty", "releaseqty", grmi.TypeFloat64)
var ArtDemandHead_Source = grmi.NewField("Source", "LOG_ArtDemandHead.Source", "source", grmi.TypeString)
var ArtDemandHead_LastModify = grmi.NewField("LastModify", "LOG_ArtDemandHead.LastModify", "lastmodify", grmi.TypeDateTime)
var ArtDemandHead_LastUser = grmi.NewField("LastUser", "LOG_ArtDemandHead.LastUser", "lastuser", grmi.TypeString)
var ArtDemandHead_CreateTime = grmi.NewField("CreateTime", "LOG_ArtDemandHead.CreateTime", "createtime", grmi.TypeDateTime)
@ -52,7 +53,7 @@ var ArtDemandHead_CreateTime = grmi.NewField("CreateTime", "LOG_ArtDemandHead.Cr
*
* @Author : 代码生成器创建
*
* @Date : 2021-05-10 16:21:26
* @Date : 2021-05-10 17:10:28
*
******************************************************************************/
var ArtDemandHead = grmi.NewEntity(
@ -85,9 +86,10 @@ var ArtDemandHead = grmi.NewEntity(
ArtDemandHead_DemandCtrlTime2.Name: ArtDemandHead_DemandCtrlTime2,
ArtDemandHead_OrderStatus.Name: ArtDemandHead_OrderStatus,
ArtDemandHead_ReleaseQty.Name: ArtDemandHead_ReleaseQty,
ArtDemandHead_Source.Name: ArtDemandHead_Source,
ArtDemandHead_LastModify.Name: ArtDemandHead_LastModify,
ArtDemandHead_LastUser.Name: ArtDemandHead_LastUser,
ArtDemandHead_CreateTime.Name: ArtDemandHead_CreateTime,
},
[]string{"PlantNr"},
[]string{"DemandType", "DemandYear", "DemandMonth", "DemandWeek", "DemandDate", "DemandHour", "DemandTime", "DemandQty", "QtyUomId", "Status", "DemandSendTime", "DemandRecieveTime", "DemandConfirmTime", "DemandCloseTime", "DemandDeliveredQty", "DemandCtrlPara1", "DemandCtrlPara2", "DemandCtrlPara3", "DemandCtrlPara4", "DemandCtrlTime1", "DemandCtrlTime2", "OrderStatus", "ReleaseQty", "LastUser"})
[]string{"DemandType", "DemandYear", "DemandMonth", "DemandWeek", "DemandDate", "DemandHour", "DemandTime", "DemandQty", "QtyUomId", "Status", "DemandSendTime", "DemandRecieveTime", "DemandConfirmTime", "DemandCloseTime", "DemandDeliveredQty", "DemandCtrlPara1", "DemandCtrlPara2", "DemandCtrlPara3", "DemandCtrlPara4", "DemandCtrlTime1", "DemandCtrlTime2", "OrderStatus", "ReleaseQty", "Source", "LastUser"})

+ 5
- 3
meta/log/ArtDemandLst.meta.go View File

@ -13,7 +13,7 @@ import (
*
* @Author : 代码生成器创建
*
* @Date : 2021-05-10 16:21:26
* @Date : 2021-05-10 17:10:28
*
******************************************************************************/
var ArtDemandLst_PlantNr = grmi.NewField("PlantNr", "LOG_ArtDemandLst.PlantNr", "plantnr", grmi.TypeInt)
@ -44,6 +44,7 @@ var ArtDemandLst_DemandCtrlTime1 = grmi.NewField("DemandCtrlTime1", "LOG_ArtDema
var ArtDemandLst_DemandCtrlTime2 = grmi.NewField("DemandCtrlTime2", "LOG_ArtDemandLst.DemandCtrlTime2", "demandctrltime2", grmi.TypeDateTime)
var ArtDemandLst_OrderStatus = grmi.NewField("OrderStatus", "LOG_ArtDemandLst.OrderStatus", "orderstatus", grmi.TypeInt)
var ArtDemandLst_ReleaseQty = grmi.NewField("ReleaseQty", "LOG_ArtDemandLst.ReleaseQty", "releaseqty", grmi.TypeFloat64)
var ArtDemandLst_Source = grmi.NewField("Source", "LOG_ArtDemandLst.Source", "source", grmi.TypeString)
var ArtDemandLst_LastModify = grmi.NewField("LastModify", "LOG_ArtDemandLst.LastModify", "lastmodify", grmi.TypeDateTime)
var ArtDemandLst_LastUser = grmi.NewField("LastUser", "LOG_ArtDemandLst.LastUser", "lastuser", grmi.TypeString)
var ArtDemandLst_CreateTime = grmi.NewField("CreateTime", "LOG_ArtDemandLst.CreateTime", "createtime", grmi.TypeDateTime)
@ -54,7 +55,7 @@ var ArtDemandLst_CreateTime = grmi.NewField("CreateTime", "LOG_ArtDemandLst.Crea
*
* @Author : 代码生成器创建
*
* @Date : 2021-05-10 16:21:26
* @Date : 2021-05-10 17:10:28
*
******************************************************************************/
var ArtDemandLst = grmi.NewEntity(
@ -89,9 +90,10 @@ var ArtDemandLst = grmi.NewEntity(
ArtDemandLst_DemandCtrlTime2.Name: ArtDemandLst_DemandCtrlTime2,
ArtDemandLst_OrderStatus.Name: ArtDemandLst_OrderStatus,
ArtDemandLst_ReleaseQty.Name: ArtDemandLst_ReleaseQty,
ArtDemandLst_Source.Name: ArtDemandLst_Source,
ArtDemandLst_LastModify.Name: ArtDemandLst_LastModify,
ArtDemandLst_LastUser.Name: ArtDemandLst_LastUser,
ArtDemandLst_CreateTime.Name: ArtDemandLst_CreateTime,
},
[]string{"PlantNr"},
[]string{"ArtId", "DemandTime", "DemandYear", "DemandMonth", "DemandWeek", "DemandDate", "DemandHour", "DemandQty", "QtyUomId", "DemandObjId", "DemandType", "Status", "DemandSendTime", "DemandRecieveTime", "DemandConfirmTime", "DemandCloseTime", "DemandDeliveredQty", "DemandCtrlPara1", "DemandCtrlPara2", "DemandCtrlPara3", "DemandCtrlPara4", "DemandCtrlTime1", "DemandCtrlTime2", "OrderStatus", "ReleaseQty", "LastUser"})
[]string{"ArtId", "DemandTime", "DemandYear", "DemandMonth", "DemandWeek", "DemandDate", "DemandHour", "DemandQty", "QtyUomId", "DemandObjId", "DemandType", "Status", "DemandSendTime", "DemandRecieveTime", "DemandConfirmTime", "DemandCloseTime", "DemandDeliveredQty", "DemandCtrlPara1", "DemandCtrlPara2", "DemandCtrlPara3", "DemandCtrlPara4", "DemandCtrlTime1", "DemandCtrlTime2", "OrderStatus", "ReleaseQty", "Source", "LastUser"})

+ 3
- 2
models/log/ArtDemandHead.model.go View File

@ -16,7 +16,7 @@ import (
*
* @Author : 代码生成器创建
*
* @Date : 2021-05-10 16:21:26
* @Date : 2021-05-10 17:10:28
*
******************************************************************************/
type ArtDemandHead struct {
@ -46,6 +46,7 @@ type ArtDemandHead struct {
DemandCtrlTime2 grmi.DateTime `xorm:"datetime 'DemandCtrlTime2'" json:"LOG_ArtDemandHead-DemandCtrlTime2"`
OrderStatus int `xorm:"int 'OrderStatus' not null" json:"LOG_ArtDemandHead-OrderStatus"`
ReleaseQty float64 `xorm:"float 'ReleaseQty' not null" json:"LOG_ArtDemandHead-ReleaseQty"`
Source string `xorm:"nvarchar(20) 'Source' not null" json:"LOG_ArtDemandHead-Source"`
LastModify grmi.DateTime `xorm:"datetime 'LastModify' not null updated" json:"LOG_ArtDemandHead-LastModify"`
LastUser string `xorm:"nvarchar(20) 'LastUser' not null" json:"LOG_ArtDemandHead-LastUser"`
CreateTime grmi.DateTime `xorm:"datetime 'CreateTime' not null created" json:"LOG_ArtDemandHead-CreateTime"`
@ -62,7 +63,7 @@ type ArtDemandHead struct {
*
* @Author : 代码生成器创建
*
* @Date : 2021-05-10 16:21:26
* @Date : 2021-05-10 17:10:28
*
******************************************************************************/
func (self *ArtDemandHead) GetKey() core.PK {


+ 3
- 2
models/log/ArtDemandLst.model.go View File

@ -16,7 +16,7 @@ import (
*
* @Author : 代码生成器创建
*
* @Date : 2021-05-10 16:21:26
* @Date : 2021-05-10 17:10:28
*
******************************************************************************/
type ArtDemandLst struct {
@ -48,6 +48,7 @@ type ArtDemandLst struct {
DemandCtrlTime2 grmi.DateTime `xorm:"datetime 'DemandCtrlTime2'" json:"LOG_ArtDemandLst-DemandCtrlTime2"`
OrderStatus int `xorm:"int 'OrderStatus' not null" json:"LOG_ArtDemandLst-OrderStatus"`
ReleaseQty float64 `xorm:"float 'ReleaseQty' not null" json:"LOG_ArtDemandLst-ReleaseQty"`
Source string `xorm:"nvarchar(20) 'Source'" json:"LOG_ArtDemandLst-Source"`
LastModify grmi.DateTime `xorm:"datetime 'LastModify' not null updated" json:"LOG_ArtDemandLst-LastModify"`
LastUser string `xorm:"nvarchar(20) 'LastUser' not null" json:"LOG_ArtDemandLst-LastUser"`
CreateTime grmi.DateTime `xorm:"datetime 'CreateTime' not null created" json:"LOG_ArtDemandLst-CreateTime"`
@ -64,7 +65,7 @@ type ArtDemandLst struct {
*
* @Author : 代码生成器创建
*
* @Date : 2021-05-10 16:21:26
* @Date : 2021-05-10 17:10:28
*
******************************************************************************/
func (self *ArtDemandLst) GetKey() core.PK {


+ 2
- 1
services/log/implments/ArtDemandHead.service.impl.go View File

@ -30,7 +30,7 @@ import (
*
* @Author : 代码生成器创建
*
* @Date : 2021-05-10 16:21:26
* @Date : 2021-05-10 17:10:28
*
******************************************************************************/
var DefaultConditionOfArtDemandHead = grmi.NewCondition(
@ -60,6 +60,7 @@ var DefaultConditionOfArtDemandHead = grmi.NewCondition(
meta.ArtDemandHead_DemandCtrlTime2.UrlParameterName: grmi.NewConditionItem(meta.ArtDemandHead_DemandCtrlTime2, grmi.Approximate, false),
meta.ArtDemandHead_OrderStatus.UrlParameterName: grmi.NewConditionItem(meta.ArtDemandHead_OrderStatus, grmi.Equal, false),
meta.ArtDemandHead_ReleaseQty.UrlParameterName: grmi.NewConditionItem(meta.ArtDemandHead_ReleaseQty, grmi.Equal, false),
meta.ArtDemandHead_Source.UrlParameterName: grmi.NewConditionItem(meta.ArtDemandHead_Source, grmi.Equal, false),
meta.ArtDemandHead_LastModify.UrlParameterName: grmi.NewConditionItem(meta.ArtDemandHead_LastModify, grmi.Approximate, false),
meta.ArtDemandHead_LastUser.UrlParameterName: grmi.NewConditionItem(meta.ArtDemandHead_LastUser, grmi.Equal, false),
meta.ArtDemandHead_CreateTime.UrlParameterName: grmi.NewConditionItem(meta.ArtDemandHead_CreateTime, grmi.Approximate, false),


+ 2
- 1
services/log/implments/ArtDemandLst.service.impl.go View File

@ -23,7 +23,7 @@ import (
*
* @Author : 代码生成器创建
*
* @Date : 2021-05-10 16:21:26
* @Date : 2021-05-10 17:10:28
*
******************************************************************************/
var DefaultConditionOfArtDemandLst = grmi.NewCondition(
@ -55,6 +55,7 @@ var DefaultConditionOfArtDemandLst = grmi.NewCondition(
meta.ArtDemandLst_DemandCtrlTime2.UrlParameterName: grmi.NewConditionItem(meta.ArtDemandLst_DemandCtrlTime2, grmi.Approximate, false),
meta.ArtDemandLst_OrderStatus.UrlParameterName: grmi.NewConditionItem(meta.ArtDemandLst_OrderStatus, grmi.Equal, false),
meta.ArtDemandLst_ReleaseQty.UrlParameterName: grmi.NewConditionItem(meta.ArtDemandLst_ReleaseQty, grmi.Equal, false),
meta.ArtDemandLst_Source.UrlParameterName: grmi.NewConditionItem(meta.ArtDemandLst_Source, grmi.Equal, false),
meta.ArtDemandLst_LastModify.UrlParameterName: grmi.NewConditionItem(meta.ArtDemandLst_LastModify, grmi.Approximate, false),
meta.ArtDemandLst_LastUser.UrlParameterName: grmi.NewConditionItem(meta.ArtDemandLst_LastUser, grmi.Equal, false),
meta.ArtDemandLst_CreateTime.UrlParameterName: grmi.NewConditionItem(meta.ArtDemandLst_CreateTime, grmi.Approximate, false),


Loading…
Cancel
Save