|
@ -86,7 +86,7 @@ public class BaseDoctorBGService extends BaseJpaService<BaseDoctorBackgroundDO,
|
|
*/
|
|
*/
|
|
public List<Map<String,Object>> selectByDoctor(String doctor, Integer contentType, String content, Integer page, Integer size){
|
|
public List<Map<String,Object>> selectByDoctor(String doctor, Integer contentType, String content, Integer page, Integer size){
|
|
String sql = "select id as \"id\", doctor as \"doctor\",doctor_name as \"doctorName\",content_type as \"contentType\"," +
|
|
String sql = "select id as \"id\", doctor as \"doctor\",doctor_name as \"doctorName\",content_type as \"contentType\"," +
|
|
"content as \"content\" , content_desc as \"contentDesc\",is_sort as \"isSort\",del as \"del\" " +
|
|
|
|
|
|
"content as \"content\" , content_desc as \"contentDesc\",is_sort as \"isSort\",del as \"del\",extend as \"extend\" " +
|
|
" from base_doctor_message where del=1 and doctor='"+doctor+"' ";
|
|
" from base_doctor_message where del=1 and doctor='"+doctor+"' ";
|
|
if (contentType!=null){
|
|
if (contentType!=null){
|
|
sql +=" and content_type= "+contentType;
|
|
sql +=" and content_type= "+contentType;
|