商品按sort排序
This commit is contained in:
@@ -77,7 +77,7 @@
|
||||
<dependency>
|
||||
<groupId>com.alibaba</groupId>
|
||||
<artifactId>fastjson</artifactId>
|
||||
<version>1.2.60</version>
|
||||
<version>1.2.62</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>commons-logging</groupId>
|
||||
|
||||
@@ -385,7 +385,8 @@ public class SingePmsController extends ApiBaseAction {
|
||||
if (ValidatorUtils.notEmpty(schoolId) && schoolId > 0) {
|
||||
product.setSchoolId(schoolId);
|
||||
}
|
||||
String orderColum = "create_time";
|
||||
// String orderColum = "create_time";
|
||||
String orderColum = "sort";
|
||||
if (ValidatorUtils.notEmpty(product.getSort())) {
|
||||
if (product.getSort() == 1) {
|
||||
orderColum = "sale";
|
||||
|
||||
Reference in New Issue
Block a user