Commit 5045b189 by 王祖波

空指针修改

parent 5ce98887
...@@ -226,7 +226,10 @@ public class PotentialDataController { ...@@ -226,7 +226,10 @@ public class PotentialDataController {
if (storeDTO == null && clerkDTO == null) { if (storeDTO == null && clerkDTO == null) {
return 0; return 0;
} }
String storeId = storeDTO.getStoreId(); String storeId = "";
if (storeDTO != null) {
storeId = storeDTO.getStoreId();
}
CustomerDTO params = new CustomerDTO(); CustomerDTO params = new CustomerDTO();
String clerkId = null; String clerkId = null;
if (clerkDTO != null) { if (clerkDTO != null) {
......
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