Commit 32b7ca01 authored by wangyihao's avatar wangyihao

修改

parent c3e0e97a
......@@ -58,6 +58,9 @@ public class StoreController extends BaseController {
//操作人
Operator op = getOperator();
if (store!=null&&store.getStoreId()!=null&&!"".equals(store.getStoreId())) {
if(store.getUserId() != null && !"".equals(store.getUserId())) {
store.setUserId(null);
}
resultInfo = storeService.updateStore(store, op);
}else {
if(store.getUserId() == null || "".equals(store.getUserId())) {
......
......@@ -66,6 +66,9 @@ public class WorkerController extends BaseController {
//操作人
Operator op = getOperator();
if (worker!=null&&worker.getWorkerId()!=null&&!"".equals(worker.getWorkerId())) {
if(worker.getUserId() != null && !"".equals(worker.getUserId())) {
worker.setUserId(null);
}
resultInfo = workerService.updateWorker(worker, op);
}else {
if(worker.getUserId() == null || "".equals(worker.getUserId())) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment