|
|
@@ -109,6 +109,10 @@ func (this *LimsCustomerpositionController) GetEntityList() {
|
|
|
if ModifiedBy != "" {
|
|
|
where = where + " and ModifiedBy like '%" + ModifiedBy + "%'"
|
|
|
}
|
|
|
+
|
|
|
+ if this.User.UintThirdId > 0 {
|
|
|
+ where = where + " and ThrUnitId = '" + strconv.Itoa(this.User.UintThirdId) + "'"
|
|
|
+ }
|
|
|
|
|
|
if CreateOn != "" {
|
|
|
dates := strings.Split(CreateOn, ",")
|
|
|
@@ -145,6 +149,10 @@ func (this *LimsCustomerpositionController) CustomerpositionTree() {
|
|
|
where = where + " and CustomerId = '" + CustomerId + "'"
|
|
|
}
|
|
|
|
|
|
+ if this.User.UintThirdId > 0 {
|
|
|
+ where = where + " and ThrUnitId = '" + strconv.Itoa(this.User.UintThirdId) + "'"
|
|
|
+ }
|
|
|
+
|
|
|
svc.GetEntitysByOrderbyWhere(this.User.AccCode+LimsCustomerpositionName, where, "SortCode, Id asc", &list)
|
|
|
var datainfo DataInfo
|
|
|
datainfo.Items = list
|