|
@@ -190,11 +190,11 @@ func (this *CompanySellerController) CheckListV2() {
|
|
|
getAllSeller, _ := this.GetBool("AllSeller", false)
|
|
|
getAllUser, _ := this.GetBool("AllUser", false)
|
|
|
status, _ := this.GetInt("Status", 0)
|
|
|
-
|
|
|
+ getAllEnabled, _ := this.GetBool("AllEnabled", false)
|
|
|
enabled := -1
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
+ if getAllEnabled {
|
|
|
+ enabled = -1
|
|
|
+ }
|
|
|
list := make([]company.DepartmentGroupSellers, 0)
|
|
|
if getAllUser {
|
|
|
departmentList, err := system.GetDepartmentList()
|
|
@@ -5571,11 +5571,11 @@ func (this *CompanySellerController) InvoicePaymentCheckList() {
|
|
|
getAllSeller, _ := this.GetBool("AllSeller", false)
|
|
|
getAllUser, _ := this.GetBool("AllUser", false)
|
|
|
status, _ := this.GetInt("Status", 0)
|
|
|
- getAllEnabled, _ := this.GetBool("AllEnabled", false)
|
|
|
- enabled := 1
|
|
|
- if getAllEnabled {
|
|
|
- enabled = -1
|
|
|
- }
|
|
|
+
|
|
|
+ enabled := -1
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
list := make([]company.DepartmentGroupSellers, 0)
|
|
|
if getAllUser {
|
|
|
departmentList, err := system.GetDepartmentList()
|