|
@@ -247,6 +247,10 @@ func (this *CompanyApplyController) ApplyServiceUpdate() {
|
|
contract.SellerNameInit = companyProduct.SellerName
|
|
contract.SellerNameInit = companyProduct.SellerName
|
|
contract.ShareSellerInit = companyProduct.ShareSeller
|
|
contract.ShareSellerInit = companyProduct.ShareSeller
|
|
contract.ShareSellerIdInit = companyProduct.ShareSellerId
|
|
contract.ShareSellerIdInit = companyProduct.ShareSellerId
|
|
|
|
+ contract.SellerIdLast = companyProduct.SellerId
|
|
|
|
+ contract.SellerNameLast = companyProduct.SellerName
|
|
|
|
+ contract.ShareSellerLast = companyProduct.ShareSeller
|
|
|
|
+ contract.ShareSellerIdLast = companyProduct.ShareSellerId
|
|
newId, err := company.AddCompanyContract(contract)
|
|
newId, err := company.AddCompanyContract(contract)
|
|
if err != nil {
|
|
if err != nil {
|
|
br.Msg = "新增合同失败"
|
|
br.Msg = "新增合同失败"
|
|
@@ -703,6 +707,10 @@ func (this *CompanyApplyController) ApplyTurnPositive() {
|
|
contract.SellerNameInit = companyProduct.SellerName
|
|
contract.SellerNameInit = companyProduct.SellerName
|
|
contract.ShareSellerInit = companyProduct.ShareSeller
|
|
contract.ShareSellerInit = companyProduct.ShareSeller
|
|
contract.ShareSellerIdInit = companyProduct.ShareSellerId
|
|
contract.ShareSellerIdInit = companyProduct.ShareSellerId
|
|
|
|
+ contract.SellerIdLast = companyProduct.SellerId
|
|
|
|
+ contract.SellerNameLast = companyProduct.SellerName
|
|
|
|
+ contract.ShareSellerLast = companyProduct.ShareSeller
|
|
|
|
+ contract.ShareSellerIdLast = companyProduct.ShareSellerId
|
|
newId, err := company.AddCompanyContract(contract)
|
|
newId, err := company.AddCompanyContract(contract)
|
|
if err != nil {
|
|
if err != nil {
|
|
br.Msg = "新增合同失败"
|
|
br.Msg = "新增合同失败"
|
|
@@ -1209,6 +1217,10 @@ func (this *CompanyApplyController) ApplyBySystemContract() {
|
|
SellerNameInit: companyProduct.SellerName,
|
|
SellerNameInit: companyProduct.SellerName,
|
|
ShareSellerInit: companyProduct.ShareSeller,
|
|
ShareSellerInit: companyProduct.ShareSeller,
|
|
ShareSellerIdInit: companyProduct.ShareSellerId,
|
|
ShareSellerIdInit: companyProduct.ShareSellerId,
|
|
|
|
+ SellerIdLast: companyProduct.SellerId,
|
|
|
|
+ SellerNameLast: companyProduct.SellerName,
|
|
|
|
+ ShareSellerLast: companyProduct.ShareSeller,
|
|
|
|
+ ShareSellerIdLast: companyProduct.ShareSellerId,
|
|
}
|
|
}
|
|
newId, err := company.AddCompanyContract(companyContract)
|
|
newId, err := company.AddCompanyContract(companyContract)
|
|
if err != nil {
|
|
if err != nil {
|