|
@@ -11,6 +11,8 @@ import com.sapit.common.util.DateUtil;
|
|
|
import com.sapit.common.util.MD5;
|
|
import com.sapit.common.util.MD5;
|
|
|
import org.apache.commons.lang.StringUtils;
|
|
import org.apache.commons.lang.StringUtils;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
|
+import org.springframework.web.bind.WebDataBinder;
|
|
|
|
|
+import org.springframework.web.bind.annotation.InitBinder;
|
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
@@ -30,6 +32,11 @@ public class DeliveryRiderManage1Controller {
|
|
|
@Autowired
|
|
@Autowired
|
|
|
private DeliveryRiderManageService deliveryRiderManageService;
|
|
private DeliveryRiderManageService deliveryRiderManageService;
|
|
|
|
|
|
|
|
|
|
+ @InitBinder
|
|
|
|
|
+ public void initBinder(WebDataBinder binder) {
|
|
|
|
|
+ binder.setDisallowedFields("createTime", "updateTime", "noOrderStartTime", "noOrderEndTime");
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
@PostMapping(value = "/list")
|
|
@PostMapping(value = "/list")
|
|
|
@AuthToken(type = "admin")
|
|
@AuthToken(type = "admin")
|
|
|
public ResultBean list(DeliveryRiderSearchBean searchBean, PageControlData page) {
|
|
public ResultBean list(DeliveryRiderSearchBean searchBean, PageControlData page) {
|