|
|
@ -1121,7 +1121,6 @@ func (impl *CustDemandVerHeadServiceImplement) CompareVersionInfoByArtcle(user * |
|
|
|
artDao := basedal.NewArticleDAO(session, user.PlantNr, user.UserId) |
|
|
|
mDao := dal.NewCustDemandModelDAO(session, user.PlantNr, user.UserId) |
|
|
|
tolDao := dal.NewDemandToleranceModelDAO(session, user.PlantNr, user.UserId) |
|
|
|
data := make([]model.CustomerDeviationDetailItem, 0) |
|
|
|
|
|
|
|
artInfo,err := artDao.SelectOne(artcle) |
|
|
|
if err != nil { |
|
|
@ -1147,6 +1146,7 @@ func (impl *CustDemandVerHeadServiceImplement) CompareVersionInfoByArtcle(user * |
|
|
|
} |
|
|
|
|
|
|
|
if len(cust1) > 0 { |
|
|
|
data := make([]model.CustomerDeviationDetailItem, 0) |
|
|
|
var custInfo1 []string |
|
|
|
custInfo1 = strings.Split(strings.TrimSpace(cust1), ",") |
|
|
|
if len(custInfo1) == 0 { |
|
|
@ -1263,6 +1263,7 @@ func (impl *CustDemandVerHeadServiceImplement) CompareVersionInfoByArtcle(user * |
|
|
|
} |
|
|
|
|
|
|
|
if len(cust2) > 0 { |
|
|
|
data := make([]model.CustomerDeviationDetailItem, 0) |
|
|
|
var custInfo2 []string |
|
|
|
custInfo2 = strings.Split(strings.TrimSpace(cust2), ",") |
|
|
|
if len(custInfo2) == 0 { |
|
|
|