解决客户无法查看退费数据问题
parent
0856635498
commit
bbc7a758a6
|
|
@ -6,6 +6,7 @@ import com.cowr.common.view.PageParam;
|
|||
import com.cowr.model.Customer;
|
||||
import com.cowr.model.PrepayCustomer;
|
||||
import com.cowr.model.RefundDetail;
|
||||
import com.cowr.model.Sysuser;
|
||||
import com.cowr.ssjygl.prepay.prepaycustomer.PrepayCustomerService;
|
||||
import com.jfinal.kit.StrKit;
|
||||
import com.jfinal.log.Log;
|
||||
|
|
@ -61,8 +62,12 @@ public class RefundDetailService extends BaseService {
|
|||
|
||||
|
||||
if (StrKit.notNull(cId)) {
|
||||
fromsql += " and t.c.id >= ?";
|
||||
paraList.add(cId);
|
||||
Sysuser sysuser = Sysuser.dao.findById(cId);
|
||||
if(sysuser != null){
|
||||
cId = sysuser.getEntityId();
|
||||
fromsql += " and c.id = ?";
|
||||
paraList.add(cId);
|
||||
}
|
||||
}
|
||||
|
||||
if (StrKit.notBlank(etm)) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue