|
@@ -148,7 +148,7 @@ export default {
|
|
|
},
|
|
},
|
|
|
getLook(id) {
|
|
getLook(id) {
|
|
|
// let sql = `select * from t_lhypb where find_in_set(id_,'${id}')`
|
|
// let sql = `select * from t_lhypb where find_in_set(id_,'${id}')`
|
|
|
- let sql = `select ypb.*, djb.shou_yang_ri_qi_ FROM t_lhypb ypb left outer JOIN t_lhypdjb djb ON djb.yang_ben_bian_hao = ypb.yang_pin_bian_hao where find_in_set( ypb.id_, '${id}' )`
|
|
|
|
|
|
|
+ let sql = `select distinct ypb.*, djb.shou_yang_ri_qi_ FROM t_lhypb ypb left outer JOIN t_lhypdjb djb ON djb.yang_ben_bian_hao = ypb.yang_pin_bian_hao where find_in_set( ypb.id_, '${id}' )`
|
|
|
// let sql = `select * from t_lhypdjb where find_in_set(id_,'${id}')`
|
|
// let sql = `select * from t_lhypdjb where find_in_set(id_,'${id}')`
|
|
|
// console.log(sql)
|
|
// console.log(sql)
|
|
|
repostCurd("sql", sql).then(res => {
|
|
repostCurd("sql", sql).then(res => {
|