Compare commits
2 Commits
4a2308fb0b
...
1234d7437e
| Author | SHA1 | Date |
|---|---|---|
|
|
1234d7437e | |
|
|
904ac86d14 |
|
|
@ -173,6 +173,9 @@ public class MaType extends BaseEntity {
|
||||||
@ApiModelProperty(value = "库管员id")
|
@ApiModelProperty(value = "库管员id")
|
||||||
private List<Long> keeperUserId;
|
private List<Long> keeperUserId;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "库管员id")
|
||||||
|
private String keeperUserIds;
|
||||||
|
|
||||||
/** 库管员名称 */
|
/** 库管员名称 */
|
||||||
@ApiModelProperty(value = "库管员名称")
|
@ApiModelProperty(value = "库管员名称")
|
||||||
@Excel(name = "库管员")
|
@Excel(name = "库管员")
|
||||||
|
|
|
||||||
|
|
@ -39,8 +39,8 @@ public class MaTypeServiceImpl implements ITypeService {
|
||||||
public MaType selectMaTypeByTypeId(Long typeId) {
|
public MaType selectMaTypeByTypeId(Long typeId) {
|
||||||
MaType maType = maTypeMapper.selectMaTypeByTypeId(typeId);
|
MaType maType = maTypeMapper.selectMaTypeByTypeId(typeId);
|
||||||
List<Long> idList = new ArrayList<>();
|
List<Long> idList = new ArrayList<>();
|
||||||
if (maType.getKeeperUserId() != null) {
|
if (StringUtils.isNotBlank(maType.getKeeperUserIds())) {
|
||||||
String[] idStrings = maType.getTypeName().split(",");
|
String[] idStrings = maType.getKeeperUserIds().split(",");
|
||||||
for (String idString : idStrings) {
|
for (String idString : idStrings) {
|
||||||
try {
|
try {
|
||||||
Long id = Long.parseLong(idString.trim());
|
Long id = Long.parseLong(idString.trim());
|
||||||
|
|
|
||||||
|
|
@ -280,7 +280,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
select m.type_id, m.type_name, m.parent_id, m.status, m.num, m.unit_id,m.unit_name, m.manage_type,
|
select m.type_id, m.type_name, m.parent_id, m.status, m.num, m.unit_id,m.unit_name, m.manage_type,
|
||||||
m.lease_price, m.eff_time, m.rent_price, m.buy_price, m.pay_price, m.level, m.rated_load, m.test_load,
|
m.lease_price, m.eff_time, m.rent_price, m.buy_price, m.pay_price, m.level, m.rated_load, m.test_load,
|
||||||
m.holding_time, m.warn_num, mtf.file_name photoName, mtf.file_url photoUrl,
|
m.holding_time, m.warn_num, mtf.file_name photoName, mtf.file_url photoUrl,
|
||||||
mtf2.file_name documentName, mtf2.file_url documentUrl, GROUP_CONCAT(mtk.user_id) keeperUserId,
|
mtf2.file_name documentName, mtf2.file_url documentUrl, GROUP_CONCAT(mtk.user_id) keeperUserIds,
|
||||||
GROUP_CONCAT(su.nick_name) as keeperUserName, mtr.user_id repairUserId, su1.nick_name repairUserName,mpi.prop_id as propId, mpi.prop_name as propName,
|
GROUP_CONCAT(su.nick_name) as keeperUserName, mtr.user_id repairUserId, su1.nick_name repairUserName,mpi.prop_id as propId, mpi.prop_name as propName,
|
||||||
m.del_flag, m.create_by, m.create_time,
|
m.del_flag, m.create_by, m.create_time,
|
||||||
m.remark, m.company_id,m.fac_model as facModel
|
m.remark, m.company_id,m.fac_model as facModel
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue